Balance
post
Retrieves the player's balance in subunits.
Header parameters
X-REQUEST-SIGNstringRequired
HMAC-SHA256 signature of the request body using the shared password.
Body
player_idstringRequired
Unique identifier of the user on the Operator side.
referencestringRequired
Game reference.
currency_codestringRequired
Identifier of currency.
actionstring ยท enumRequiredPossible values:
Must be set to "balance".
is_mobilebooleanRequired
True if the request is from a mobile device.
session_tokenstringRequired
Session ID generated when the game is launched.
Responses
200
Player balance successfully retrieved.
application/json
403
Forbidden - signature does not match.
application/json
post
POST /operator/wallet HTTP/1.1
Host:
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"player_id": "6",
"reference": "Monkey",
"currency_code": "EUR",
"action": "balance",
"is_mobile": false,
"session_token": "session_token_here"
}
{
"player_id": "6",
"balance": 10000,
"currency_code": "EUR"
}
Last updated