Deposit
Headers
-
Signature
string -
Public-Key
string
Body
-
amount
number Required Minimum value is
0
. -
currency
string Required -
freeSpinsCampaignId
string -
gameId
string Required -
gameRoundId
string Required -
isFreeSpinsConsumed
boolean | null Indicates if all free spins were consumed. This property will be always null for non free spins transactions. This property will be true for the last free spins win transaction.
-
isGameRoundFinished
boolean Required -
playerId
string Required -
sessionId
string Required -
transactionId
string Required
POST
/wallet/deposit
curl \
--request POST 'BASE_URL/wallet/deposit' \
--header "Content-Type: application/json" \
--header "Signature: string" \
--header "Public-Key: string" \
--data '{"amount":42.0,"currency":"string","freeSpinsCampaignId":"string","gameId":"string","gameRoundId":"string","isFreeSpinsConsumed":true,"isGameRoundFinished":true,"playerId":"string","sessionId":"string","transactionId":"string"}'
Request examples
# Headers
Signature: string
Public-Key: string
# Payload
{
"amount": 42.0,
"currency": "string",
"freeSpinsCampaignId": "string",
"gameId": "string",
"gameRoundId": "string",
"isFreeSpinsConsumed": true,
"isGameRoundFinished": true,
"playerId": "string",
"sessionId": "string",
"transactionId": "string"
}
Response examples (200)
{
"balance": 42.0,
"currency": "string"
}
Response examples (400)
{
"code": "ERROR_UNKNOWN_ERROR",
"message": "string"
}
Response examples (401)
{
"code": "ERROR_INVALID_SIGNATURE",
"message": "string"
}
Response examples (500)
{
"code": "ERROR_UNKNOWN_ERROR",
"message": "string"
}