Create a player deposit session
Server-side only. Requires deposits:create and an active, unfrozen merchant. Enable deposit.completed and deposit.reverted on a webhook endpoint first. playerReference must come from the merchant’s authenticated player session, never from an unchecked browser parameter. Allowed games must be a subset of the API key’s games. Reusing an Idempotency-Key returns the same session, even after key rotation within the same merchant. A different request with the same key returns 409. merchantReference is also unique per merchant.
Authorizations
One API-key record may allow cs2, rust, or both. Every checkout's allowedGames must be a subset of that key's allowed games; use one key record rather than separate CS2 and Rust keys.
Headers
16 - 255Body
1 - 200Opaque merchant-owned player ID, not an email or trade URL.
1 - 2001 - 2 elementsrust, cs2 Inclusive USD-cent limits; max must be at least min. Provider eligibility still applies.
300 <= x <= 86400Response
Idempotent replay
^ds_[A-Za-z0-9_-]{32}$"balance_deposit"Stable unique reference for the merchant's player-ledger credit
x >= 0cs2, rust created, expired, pending, hold, completed, failed, reverted failed, declined, canceled, expired, provider_rejected 