HubtelDevelopers
API referenceVerification

Look up a phone number's registered name

GET
/commissionservices/{accountNumber}/3e0841e70afc42fb97d13d19abd36384

Returns the name a Ghanaian phone number is registered to, through the commission services host. Use the returned name to confirm the recipient before submitting a top-up.

Authorization

basicAuth
AuthorizationBasic <token>

Base64 of API ID:API Key.

In: header

Path Parameters

accountNumber*string

Your collection account number (POS sales), where customer payments land. Find it in your Hubtel merchant account under Programmable keys → Account ID. In the sandbox, use the collection account in Workbench.

Query Parameters

destination*string

The customer's phone number. Accepted formats: 0XXXXXXXXX / 233XXXXXXXXX E.g.: "0249111411" / "233249111411"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/commissionservices/string/3e0841e70afc42fb97d13d19abd36384?destination=233501431586"
{  "ResponseCode": "0000",  "Message": "Customer Details",  "Label": "Customer Details",  "Data": [    {      "Display": "name",      "Value": "JOHN DOE",      "Amount": 0    }  ]}