getBalance : retrieve account balance
Method address
https://api.capmonster.cloud/getBalance
request format: JSON POST
Request parameters
clientKey
Type: String
Required: Yes
Unique key of your account
Body Example
{
"clientKey": "API_KEY"
}
Response structure
errorId
Type: Integer
Error identificator.
0 - no error, no errorCode property
1 - error, information about it is in the errorCode property
errorCode
Type: String
Error code. Check out error list.
balance
Type: Decimal
Amount of money available
Example
{
"errorId":0,
"balance": 345.678
}