Deposit
Body 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.
-
The cash contribution to the amount field in the currency of the transaction. This field is mainly for analytics purposes.
-
freeSpinsCampaignId string
-
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.
-
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
.
curl \
-X POST BASE_URL/wallet/deposit \
-H "Content-Type: application/json" \
-H "Signature: string" \
-H "Public-Key: string" \
-d '{"amount":42.0,"cashAmount":42.0,"currency":"string","freeSpinsCampaignId":"string","gameId":"string","gameRoundId":"string","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",
"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"
}