URL: /api/verify-cable
Methods: POST
This API endpoint allows users to verify smart card number.
To access this endpoint, users must include their API key and secret key in the request headers.
See usage example in the code snippets below:
POST request to verify smart card number:
Content-Type: application/json api-key: your-api-key secret-key: your-secret-key { "number": "0000000000", "firstLevel": "DSTV", }
Response:
- Status Code: 200 { "message": { "Customer_Name": "IAB CODES LTD", "Current_Bouquet": "Dstv Confam N5,300 + DStv Movie Bundle Add-on E36 - N2,500" } }
{ "error": "Please check the number and try again" }