Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 941 Bytes

PAYOUT.md

File metadata and controls

21 lines (14 loc) · 941 Bytes

Zender Payout

After a quiz has finished , payout information is available in the admin and can be exported as both generic csv and Paypal csv format.

The quiz data is wiped when the quiz is reset. Don't reset a quiz that has run, or there will be no payout information to download.

To automate this one can retrieve the information to automatically do payments:

To retrieve the payout information

A payout is related to a quiz where the results have been triggered.

To retrieve the payout you need to:

curl --location --request GET "https://api.zender.tv/v1/channels/<channelId>/streams/<streamId>/quiz/<quizId>/leaderboard/win/export" -H 'authorization: Bearer <bearerToken>' --header "Content-Type: application/json"

To retrieve the quiz winners

See Retrieve Quiz Information