Method address: https://api.capmonster.cloud/getBalance
Request format: JSON POST
Request parameters:
Parameter | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | Unique key of your account |
Body Example:
{ "clientKey": "67b6bcbb1a728ea8d563de6d169a2057" } |
Response structure:
Parameter | Type | Purpose |
---|---|---|
errorId | Integer | Error identificator. |
errorCode | String | Error code. Check out errors list. |
balance | Decimal | The number of money available |
Example:
{ "errorId":0, "balance": 345.678 } |