Rollback a withdraw request
The endpoint is used to rollback a withdraw transaction. Not applicable to deposit transactions.
Body Required
-
freeSpinsCampaignId string
-
Rollback transaction ID
-
The transaction ID of the withdraw that is being rolled back
POST
/wallet/rollback
curl \
-X POST BASE_URL/wallet/rollback \
-H "Content-Type: application/json" \
-H "Signature: string" \
-H "Public-Key: string" \
-d '{"currency":"string","freeSpinsCampaignId":"string","gameId":"string","gameRoundId":"string","playerId":"string","sessionId":"string","transactionId":"string","withdrawTransactionId":"string"}'
Request examples
# Headers
Signature: string
Public-Key: string
# Payload
{
"currency": "string",
"freeSpinsCampaignId": "string",
"gameId": "string",
"gameRoundId": "string",
"playerId": "string",
"sessionId": "string",
"transactionId": "string",
"withdrawTransactionId": "string"
}
Response examples (200)
{
"balance": 42.0,
"currency": "string",
"resolveTimestamp": 42
}
Response examples (400)
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}
Response examples (401)
{
"code": "ERROR_INVALID_SIGNATURE",
"description": "string",
"traceId": "string"
}
Response examples (500)
{
"code": "ERROR_UNKNOWN_ERROR",
"description": "string",
"traceId": "string"
}