Rollback transaction
Cancels a bet and returns the stake to the player.
Credit and rollback are mutually exclusive: a given bet is settled by one or the other, never both.
Important — Like credit, rollback must not require a live player session and is retried for up to 3 days.
If you have already rolled back this referenceTransactionId, return 200 OK with your stored result — see Idempotency.
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 rollback transaction. Use it as your idempotency key.
transactionId of the bet to revert.
Slug of the game the round belongs to.
"lucky-duck"
Same value as the debit being reverted.
"round-1234"
Stake of the original bet, to be returned to the player.
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
Bet reverted and the stake returned.
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.