This API request enables the operator to get the available balance of a player.
WalletGetBalance() Request
| Type | Input |
|---|---|
| HTTP Method | POST |
| API URL | https://<API_BASE_URL>/wallet/wallet-get-balance/ |
| Headers | "Content-Type": "application/json" |
| POST Parameters | json object e.g.:{ |
| Parameters | Type | Description |
|---|---|---|
api_key | String | API Key allocated to each front-end |
username | String | Username of the player |
| password | String | Player’s password |
GetBalance() Response + Example
{
"status": "success",
"amount": 12345,
"currency": "USD"
"account_id": "123123"
}
| Object/Key in Response Object | Type | Description |
|---|---|---|
status | Integer | Response status |
| amount | Decimal | Latest balance of the player |
| currency | String | Currency of the player |
| account_id | String | Player’s unique ID |