Get Balance
Method address: https://capkill.com/api/getBalance
Request format: JSON POST
Request parameters
Parameter | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | Unique key of your account |
Request examples
JSON with no errors
{
"clientKey":"67b6bcbb1a728ea8d563de6d169a2057"
}
Response structure
Parameter | Type | Purpose |
---|---|---|
errorId | Integer | Error identificator. 0 - no error, errorCode property missing 1 - error, information about it is in the errorCode property |
errorCode | String | Error code. Check out errors list. |
balance | Decimal | The number of money available |
Example:
JSON with no errors
{
"errorId":0,
"balance": 345.678
}