Skip to main content
POST

Authorizations

X-Zd-Signature
string
header
required

Hex-encoded HMAC-SHA512(apiPath|timestamp|data, secretKey) computed by Zero-Dash. Recompute it and compare before doing anything else. See Request signature.

X-Zd-Timestamp
string
header
required

Unix time in milliseconds, and the exact value that was signed. Reject requests older than 5 minutes.

Body

application/json
playerId
string
required

Player account ID.

transactionId
string
required

Zero-Dash ID of this credit transaction. Use it as your idempotency key.

referenceTransactionId
string
required

transactionId of the bet being settled.

gameId
string
required

Slug of the game the round belongs to.

Example:

"lucky-duck"

gameRoundId
string
required

Same value as the debit that opened this round.

Example:

"round-1234"

payout
object
required

Decimal amount to add to the balance. 0 when the player lost — you still receive the call.

reason
enum<string>

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.

Available options:
paid,
freeround
freeRoundData
object

Present only when reason is freeround.

Response

Payout credited.

operatorTransactionId
string
required

Your internal transaction ID. Stored by Zero-Dash for troubleshooting only.

balance
object
required

The player's balance after the operation was applied.

createdAt
string<date-time>

Transaction creation date (ISO-8601 UTC). Defaults to the time of processing when omitted.