Skip to main content

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": "67b6bcbb1a728ea8d563de6d169a2057"
}

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
}