Credit (win)
Adds the payout to the player’s wallet and settles the bet identified by referenceTransactionId.
You receive a credit for every settled round, including losses — a lost round arrives with payout.amount of 0. Do not treat a zero payout as an error.
Important — This endpoint must not require a live player session. Credits are retried for up to 3 days and can arrive long after the player logged out.
Free rounds: the stake is already deducted from payout. Credit exactly the amount you are given.
Authorizations
Hex-encoded HMAC-SHA512(apiPath|timestamp|data, secretKey) computed by Zero-Dash. Recompute it and compare before doing anything else. See Request signature.
Unix time in milliseconds, and the exact value that was signed. Reject requests older than 5 minutes.
Body
Player account ID.
Zero-Dash ID of this credit transaction. Use it as your idempotency key.
transactionId of the bet being settled.
Slug of the game the round belongs to.
"lucky-duck"
Same value as the debit that opened this round.
"round-1234"
Decimal amount to add to the balance. 0 when the player lost — you still receive the call.
Type of the bet. paid is real money; freeround is a free round — each free spin is a separate bet with its own debit call.
paid, freeround Present only when reason is freeround.
Response
Payout credited.
Your internal transaction ID. Stored by Zero-Dash for troubleshooting only.
The player's balance after the operation was applied.
Transaction creation date (ISO-8601 UTC). Defaults to the time of processing when omitted.