API URL Endpoint: https://api.geniq.io/rest/v1/balance
Sample Request using CURL:
$ curl https://api.geniq.io/rest/v1/balance \
-H 'Authorization: Basic dXNlcjE6cGFzczE='
Parameters returned in the API response:
PARAMETER | FORMAT | DESCRIPTION |
currency | string | Currency code in ISO 4217 format |
type | string | Prepaid or Postpaid |
responseCode | integer | Response Code returned from the API call. Refer to section “Response Codes” for the list of possible values |
responseMessage | string | Response Message for the API call |
balance | decimal | The amount of balance remaining |
Sample Response:
{
"reference":"12345",
"currency":"EUR",
"type":"Prepaid",
"responseCode":"0",
"balance":19.2594,
"responseMessage":"Success"
}