Balances¶
Player balance¶
GET /api/getbalance?player_id=<id>
| Field | Meaning |
|---|---|
balance |
Playable balance |
total_win |
Total winnings |
total_withdraw |
Total already withdrawn |
The player can withdraw total_win - total_withdraw.
Shop balance¶
GET /api/terminal_balance?terminal_ID=<id>&terminal_key=<key>
Returns the balance of the terminal's shop and marks the terminal as active.
The failure is returned for an unknown terminal_ID and for a wrong terminal_key.