HubtelDevelopers
API referenceCommission Services

Look up a DStv account

GET
/commissionservices/{accountNumber}/297a96656b5846ad8b00d5d41b256ea7

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

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/commissionservices/string/297a96656b5846ad8b00d5d41b256ea7?destination=7029864396"
{  "ResponseCode": "0000",  "Message": "Successful",  "Label": "",  "Data": [    {      "Display": "name",      "Value": "John Barnes",      "Amount": 0    },    {      "Display": "amountDue",      "Value": "0.00",      "Amount": 0    },    {      "Display": "account",      "Value": "7029864396",      "Amount": 0    }  ]}