Get account details
This API call is made to get account details for a specific account number.
Method: POST
URL: {{base_url}}/api/pay-tv/get-account-details
Parameters
Name | Type | Required | Description |
---|---|---|---|
ProviderName | string | R | TV provider name e.g. DSTV or GOTV |
SmartCardNumber | long | R | unique identifier of the TV account or TV decoder |
Route | string | R | Value should be either 1 or 2 |
Response
Output | Type | Description |
---|---|---|
BasketId | int | specific Id generated after an account lookup |
SmartCardNumber | long | unique identifier of the TV account or TV decoder |
Bouquet | string | TV package |
FirstName | string | user's firstname |
SurName | string | user's surname |
TotalAmount | int | total amount |
Sample response
{
"BasketId": 256873,
"SmartCardNumber": 3590246905,
"Bouquet": "DStv Access Bouquet ",
"FirstName": "JAMES",
"SurName": "BROWN",
"TotalAmount": -450
}
Example of the API call: {{base_url}}/api/pay-tv/get-account-details