Deposit
Headers
-
Signature
string Required -
Public-Key
string Required
Body
Required
-
amount
number Required The total amount of the transaction in the currency of the transaction. This amount is the sum of the cash amount and the jackpot amount.
-
cashAmount
number Required The cash contribution to the amount field in the currency of the transaction. This field is mainly for analytics purposes.
-
currency
string Required -
freeSpinsCampaignId
string -
gameId
string Required -
gameRoundId
string Required -
isFeatureBuy
boolean | null Indicates if the game round is a feature buy round.
-
isForceComplete
boolean | null Indicates if the win is sent outside of player session. This can happen in case of failed transaction retries or auto completed game rounds .
-
isFreeSpinsConsumed
boolean | null Indicates if all free spins were consumed. This property will be always null for non free spins transactions. For integrations that have free spins aggregation enabled, this property will be true for the last and the only free spins win transaction. The amount of the resulting deposit transaction will be the aggregated amount of all free spins wins.
-
isGameRoundFinished
boolean Required -
jackpotAmount
number | null The jackpot contribution to the amount field in the currency of the transaction. This field is mainly for analytics purposes. If the transaction does not involve a jackpot, this field should be set to null.
Minimum value is
0
. -
playerId
string Required -
sessionId
string Required -
transactionId
string Required -
withdrawTransactionId
string Required
curl \
--request POST 'BASE_URL/wallet/deposit' \
--header "Content-Type: application/json" \
--header "Signature: string" \
--header "Public-Key: string" \
--data '{"amount":42.0,"cashAmount":42.0,"currency":"string","freeSpinsCampaignId":"string","gameId":"string","gameRoundId":"string","isFeatureBuy":true,"isForceComplete":true,"isFreeSpinsConsumed":true,"isGameRoundFinished":true,"jackpotAmount":42.0,"playerId":"string","sessionId":"string","transactionId":"string","withdrawTransactionId":"string"}'
# Headers
Signature: string
Public-Key: string
# Payload
{
"amount": 42.0,
"cashAmount": 42.0,
"currency": "string",
"freeSpinsCampaignId": "string",
"gameId": "string",
"gameRoundId": "string",
"isFeatureBuy": true,
"isForceComplete": true,
"isFreeSpinsConsumed": true,
"isGameRoundFinished": true,
"jackpotAmount": 42.0,
"playerId": "string",
"sessionId": "string",
"transactionId": "string",
"withdrawTransactionId": "string"
}
{
"balance": 42.0,
"currency": "string",
"resolveTimestamp": 42
}
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}
{
"code": "ERROR_INVALID_SIGNATURE",
"description": "string",
"traceId": "string"
}
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}