Skip to main content

Authorizations

Authorization
string
header
required

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

Idempotency-Key
string
required
Required string length: 16 - 255

Body

application/json
merchantReference
string
required
Required string length: 1 - 200
playerReference
string
required

Opaque merchant-owned player ID, not an email or trade URL.

Required string length: 1 - 200
allowedGames
enum<string>[]
required
Required array length: 1 - 2 elements
Available options:
rust,
cs2
limits
object
required

Inclusive USD-cent limits; max must be at least min. Provider eligibility still applies.

expiresInSeconds
integer
default:1800
Required range: 300 <= x <= 86400
successUrl
string<uri>
cancelUrl
string<uri>

Response

Idempotent replay

id
string
required
Pattern: ^ds_[A-Za-z0-9_-]{32}$
mode
string
required
Allowed value: "balance_deposit"
merchantReference
string
required
playerReference
string
required
creditReference
string
required

Stable unique reference for the merchant's player-ledger credit

eventSequence
integer
required
Required range: x >= 0
limits
object
required
allowedGames
enum<string>[]
required
Available options:
cs2,
rust
status
enum<string>
required
Available options:
created,
expired,
pending,
hold,
completed,
failed,
reverted
canCreditPlayer
boolean
required
hostedUrl
string<uri>
required
expiresAt
string<date-time>
required
acceptedAmount
object | null
reason
enum<string>
Available options:
failed,
declined,
canceled,
expired,
provider_rejected
holdUntil
string<date-time> | null
continuation
object
createdAt
string<date-time>
updatedAt
string<date-time>