Check Balance

To retrieve your account balance, simply make a request to the Balance resource. This will return your current balance.

Request:
The following is an example of a Balance request.

GET /Balance HTTP/1.1
HOST: rest.smsportal.com/api/v1
Content-Type: application/json
Authorization: Bearer [Your Authorization Token]
Accept: application/json
Response
HTTP/1.1 200 Accepted
Content-Type: application/json
{
  "Balance": 1500
}

🚧

Post Paid Customers

Balance will always return a value of 1000000 on Post Paid accounts as no credit deduction occurs on this account type.

📘

See the API Reference for more detailed information about Balance queries.