HubtelDevelopers
API referenceCommission Services

Look up a GOtv account

GET
/commissionservices/{accountNumber}/e6ceac7f3880435cb30b048e9617eb41

Confirms a smartcard or customer number exists for GOtv 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 GOtv account number.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/commissionservices/string/e6ceac7f3880435cb30b048e9617eb41?destination=7032371505"
{  "ResponseCode": "0000",  "Message": "Successful",  "Label": "",  "Data": [    {      "Display": "name",      "Value": "Senya Duku",      "Amount": 0    },    {      "Display": "amountDue",      "Value": "-201.00",      "Amount": 0    },    {      "Display": "account",      "Value": "7032371505",      "Amount": 0    }  ]}