getbalance
POST
{wallet_url}
The current balance of the player in the session's currency. Every call is a fresh question: not idempotent, nothing to remember.
SignedSandboxProductionaction: getbalanceWe call youREAD ONLY
Request · we send
{
"action": "getbalance",
"transaction_id": "",
"reference_transaction_id": null,
"session_id": "2222aaaa-…",
"round_id": "",
"player_id": "p-1",
"game_id": null,
"currency": "EUR",
"amount": null
}Response 200 · you answer
{ "balance": "100.00" }| Case | Answer |
|---|---|
| Unknown player | 4xx PLAYER_NOT_FOUND |
| Blocked player | 200 with the balance; refuse the next bet instead |
