1. Home
  2. Docs
  3. SMS Messaging
  4. Check Account Balance

Check Account Balance

API URL Endpoint: https://api.geniq.io/rest/v1/balance

Sample Request using CURL:

$ curl https://api.geniq.io/rest/v1/balance \
-H 'Authorization: Bearer [TOKEN]'

Parameters returned in the API response:

PARAMETERFORMATDESCRIPTION
currencystringCurrency code in ISO 4217 format
typestringPrepaid or Postpaid
responseCodeintegerResponse Code returned from the API call. Refer to section “Response Codes” for list of possible values
responseMessagestringResponse Message for the API call
balancedecimalThe amount of balance remaining

Sample Response:

{
    "reference":"12345",
    "currency":"EUR",
    "type":"Prepaid",
    "responseCode":"0",
    "balance":19.2594,
    "responseMessage":"Success"
}