Check Account Balance

Check Account Balance

API Endpoint

https://portal.mobtexting.com/api/v2/

GET

{endpoint}finance/balance

You can get the account balance of each service using this api.

Example Request

  curl -X GET \
  "{endpoint}finance/balance" \
  -H 'Authorization: Bearer 209eccd40ee3a2e14af7fe45b21xxx'

Example Response

{
  "status": 200,
  "message": "OK",
  "data": [
    {
      "service": "P",
      "name": "Promotional SMS",
      "postpaid": 0,
      "credits": 69,
      "charges": 1
    },
    {
      "service": "T",
      "name": "Transactional SMS",
      "postpaid": 0,
      "credits": 109,
      "charges": 1
    }
  ]
}