Information
- License: Proprietary
- OpenAPI version:
3.0.3
Endpoints an operator (the platform that owns player balances, e.g. a voice-room app) implements so that the game platform can authenticate players and move money in a seamless-wallet model.
snake_case fields. Readers must ignore unknown fields.webhook-id, webhook-timestamp, webhook-signature (v1,<base64 HMAC-SHA256(secret, id.timestamp.body)>).
Official verification libraries exist for Go, Python, JavaScript/TypeScript, Java/Kotlin, C#, PHP, Ruby, Rust and Elixir.
Reject timestamps more than 300 s away from your clock; a webhook-id is unique per HTTP attempt and may be rejected if seen again.
During key rotation the header carries several space-separated signatures; accept if any matches.amount / balance are decimal strings of integer minor units (e.g. "1500"), paired with currency
(ISO 4217 or an operator-defined code such as GOLD; decimal places are agreed at onboarding). Never floats.application/problem+json (RFC 9457). The platform retries
408 / 429 / 5xx / timeouts with the same transaction ids, honouring Retry-After.transaction_id is globally unique. A repeated transaction returns the result of the first
processing (including failures) and never books twice. The same id with a different type, player_id,
amount, currency or reference_transaction_id returns duplicate_mismatch.debit may be refused with session_invalid / player_blocked. credit and rollback MUST NOT
check the session, logout or ban state: rounds already played must always settle.debit. If it was booked and not yet reversed → refund and ok.
Already reversed or never booked → ok with no money movement. Never received → record the rollback and
answer ok; if that debit arrives later, answer rolled_back and do not book it. The platform sends a
rollback for every debit whose outcome it could not learn, until it gets ok.session_id. The platform calls balance at least every 20 minutes for players who are still active, so a
session never expires under a player who is watching but not betting.…:bet, …:bet:1, …:bet:2. Do not deduplicate or
reject by round. A payout’s reference_transaction_id is the player’s first booked debit of the round.Standard Webhooks HMAC-SHA256 signature; also requires webhook-id and webhook-timestamp headers.
Security scheme type: apiKey
Header parameter name: webhook-signature