Skip to Content

Balance

Called whenever the game needs to refresh the player’s balance.

Request

[GET] {WALLET_URL}/?user_id=10000&action=balance&currency=USD
ParameterTypeRequiredDescription
actionstringyesalways balance
user_idintegeryesuser’s ID at the casino
currencystring(3)yescurrency code in ISO 4217 format

Response

Response should be a json object.

{ "status": "OK", "balance": 100.05, "currency": "USD" }
ParameterTypeRequiredDescription
statusstringyesOK on success, ERROR otherwise
balancefloatyesplayer’s current balance in the major currency unit
currencystring(3)yescurrency code in ISO 4217 format
Last updated on