WalletGetBalance() API

This API request enables the operator to get the available balance of a player.

WalletGetBalance() Request

TypeInput
HTTP MethodPOST
API URLhttps://<API_BASE_URL>/wallet/wallet-get-balance/
Headers"Content-Type": "application/json"
POST Parametersjson object e.g.:
{
"api_key": "3c2ef39d02581e2db3ddf6c713e83e05",
"username": "123123",
"password": "1234yf"
}
ParametersTypeDescription
api_keyStringAPI Key allocated to each front-end
usernameStringUsername of the player
passwordStringPlayer’s password

GetBalance() Response + Example

{
	"status": "success",
        "amount": 12345,
        "currency": "USD"
	"account_id": "123123"
}
Object/Key in Response ObjectTypeDescription
statusIntegerResponse status
amountDecimalLatest balance of the player
currencyStringCurrency of the player
account_idStringPlayer’s unique ID