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

Response

Output Type Description
AccountNumber int Tv account number
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

{
    "AccountNumber": 9834506,
    "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

Untitled