Balance
Returns the current account balance in the legacy text format.
GET http://privatesms.vip/stubs/handler_api.php?api_key={apikey}&action=getBalance
Request Parameters
| Name | Description |
api_key | Personal API key from the client account. |
action | Must be getBalance. |
Response Examples
200 OK
ACCESS_BALANCE:25.00
Error Responses
| Status | Server response | Description |
| 401 | BAD_KEY | The API key is invalid. |
| 400 | BAD_ACTION | The action value is invalid. |
| 500 | SERVER ERROR | Unexpected internal server error. |
| 403 | BANNED | The account is disabled. |