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

NameDescription
api_keyPersonal API key from the client account.
actionMust be getBalance.

Response Examples

200 OK

ACCESS_BALANCE:25.00

Error Responses

StatusServer responseDescription
401BAD_KEYThe API key is invalid.
400BAD_ACTIONThe action value is invalid.
500SERVER ERRORUnexpected internal server error.
403BANNEDThe account is disabled.
RUEN