HubtelDevelopers
API referenceCommission Services

Look up a ECG prepaid meter

GET
/commissionservices/{accountNumber}/e6d6bac062b5499cb1ece1ac3d742a84

Confirms a meter number exists for ECG prepaid and returns the account holder's name and details. Show the returned name so the customer can confirm the account before paying.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

accountNumber*string

Your disbursement account number (prepaid), which funds payouts and purchases. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the disbursement account in Workbench.

Query Parameters

destination*string

The mobile number linked to a particular ECG meter whose details need to be checked.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/commissionservices/string/e6d6bac062b5499cb1ece1ac3d742a84?destination=233541312238"
{  "ResponseCode": "0000",  "Message": "Successful",  "Label": "Successful",  "Data": [    {      "Display": " THOMAS ANANE (G131099826)",      "Value": " G131099826",      "Amount": -1.1432    },    {      "Display": " ADEMAU LYDIA (24911947992)",      "Value": " 24911947992",      "Amount": 0    }  ]}