Getting balance

Endpoint: https://account.mobilesasa.com/api/balance


Returns your sms credit balance


# Headers Params Response
1 Content-Type: application/json

{
"username": "your_username",
"api_key": "api_key"
}

{
    "code": 1,
    "balance": 0.4,
    "message": "success"
}
2 Accept: application/json
3 Authorization: Bearer access_token

Curl example:


curl -X POST \
  https://account.mobilesasa.com/api/balance \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
              "username":"your_username",
              "api_key":"your_api_key"
     }'