Skip to main content

Rollback

This method rollbacks transaction with provider transaction ID.

path/rollback
methodPOST
Content-Typeapplication/json
headersX-Client-Id, X-Client-TS, X-Client-Signature

Request

ParameterDescription
user_idString - Player's id on the operator's side
amountNumber - Amount to be withdrawn from the player's wallet
currencyString - Game currency. (currency code)
providerString - Game provider
provider_tx_idString - The transaction ID assigned by provider
rollback_provider_tx_idString - Provider transaction ID which should be rollbacked
gameString - Identifies specific game. (game identificator)
actionbet / rain / gift - Reason for amount withdrawal
action_idString ID of action in game, which depends on game and “action”
session_tokenString - Token generated by provider for current game session
platformEnum - mobile desktop

Response

ParameterDescription
codeNumber - response status code
messageString - response explanation
dataObject
  • user_id - String player id
  • old_balance - Number old player balance
  • new_balance - Number new player balance
  • provider - String Game provider
  • provider_tx_id - String The transaction ID received by provider
  • operator_tx_id - String Unique transaction ID on side of operator
  • currency - String currency code