HubtelDevelopers
API referenceCommission Services

Look up a Ghana Water meter

GET
/commissionservices/{accountNumber}/6c1e8a82d2e84feeb8bfd6be2790d71d

Confirms a meter number exists for Ghana Water 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 meter number to be queried.

mobile*string

The customer's phone number.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/commissionservices/string/6c1e8a82d2e84feeb8bfd6be2790d71d?destination=091019010006&mobile=233242825109"
{  "ResponseCode": "0000",  "Message": "Successful",  "Label": "Successful",  "Data": [    {      "Display": "name",      "Value": "AMAKYE FREMPONG",      "Amount": 0    },    {      "Display": "amountDue",      "Value": "371.89",      "Amount": 371.89    },    {      "Display": "sessionId",      "Value": "3792660ccf0e687b64cdb3f776fd6e368ca4260d",      "Amount": 0    }  ]}