Rollback a withdraw request
Headers
-
Signature
string -
Public-Key
string
Body
-
gameId
string Required -
gameRoundId
string Required -
playerId
string Required -
sessionId
string Required -
transactionId
string Required Rollback transaction ID
-
withdrawTransactionId
string Required The transaction ID of the withdraw that is being rolled back
POST
/wallet/rollback
curl \
--request POST 'BASE_URL/wallet/rollback' \
--header "Content-Type: application/json" \
--header "Signature: string" \
--header "Public-Key: string" \
--data '{"gameId":"string","gameRoundId":"string","playerId":"string","sessionId":"string","transactionId":"string","withdrawTransactionId":"string"}'
Request examples
# Headers
Signature: string
Public-Key: string
# Payload
{
"gameId": "string",
"gameRoundId": "string",
"playerId": "string",
"sessionId": "string",
"transactionId": "string",
"withdrawTransactionId": "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"
}