Cable TV Subscription API

Integrate DStv, GOtv, StarTimes and Showmax into your platform using a secure HTTPS GET API. Responses are returned in JSON.

GET HTTPS JSON
Your Credentials
UserID
APIKey
********************************
Endpoints
Cable TV Subscription
APICableTVV1.asp
https://www.nellobytesystems.com/APICableTVV1.asp?UserID=your_userid&APIKey=your_apikey&CableTV=cabletv_code&Package=package_code&SmartCardNo=recipient_smartcardno&PhoneNo=recipient_phoneno&RequestID=request_id&CallBackURL=callback_url
Verify Smartcard / IUC
APIVerifyCableTVV1.asp
https://www.nellobytesystems.com/APIVerifyCableTVV1.asp?UserID=your_userid&APIKey=your_apikey&CableTV=cabletv_code&SmartCardNo=recipient_smartcardno
Query Transaction
By OrderID
https://www.nellobytesystems.com/APIQueryV1.asp?UserID=your_userid&APIKey=your_apikey&OrderID=order_id
By RequestID
https://www.nellobytesystems.com/APIQueryV1.asp?UserID=your_userid&APIKey=your_apikey&RequestID=request_id
Try It (Live Test)

Build a request URL and test quickly. (Uses browser fetch; CORS depends on server settings.)

Idle
Request URL
Response
Request Parameters
Parameter Description
UserIDYour account UserID.
APIKeyYour API key used to authenticate requests.
CableTV Cable TV code (see “Available Cable TV Types” below)
Tip: Use Verify Smartcard endpoint before subscription to validate customer.
Package Cable TV package code (see “Available Cable TV Packages” below)
SmartCardNoRecipient smartcard/IUC number.
PhoneNoRecipient phone number.
RequestIDUnique request ID (recommended for reconciliation).
CallBackURLCallback URL for asynchronous transaction status updates.
Available Cable TV Types

You can fetch available networks in JSON using:
https://www.nellobytesystems.com/APICableTVTypeV2.asp?UserID=

Cable TV Name Cable TV ID Discount Amount Discount (%)
DSTVdstv0.9901.00%
GOTVgotv0.9901.00%
STARTIMESstartimes0.9901.00%
SHOWMAXshowmax0.9950.50%
Available Cable TV Packages

You can fetch available packages in JSON using:
https://www.nellobytesystems.com/APICableTVPackagesV2.asp?UserID=

Cable TV Name Cable TV ID
Package Cable TV package code (see “Available Cable TV Packages” below)
https://www.nellobytesystems.com/APICableTVPackagesV2.asp?UserID=
DStv package codes
Loading packages...
GOtv package codes
Packages will load when this tab opens.
StarTimes package codes
Packages will load when this tab opens.
Showmax package codes
Packages will load when this tab opens.
Examples
Sample: Buy DStv Padi
Use your own UserID / APIKey
https://www.nellobytesystems.com/APICableTVV1.asp?UserID=CK123&APIKey=456&CableTV=dstv&Package=dstvpadi&SmartCardNo=1234567890&PhoneNo=08149659347&CallBackURL=http://www.your-website.com
JSON response (order received)
{
  "orderid": "789",
  "statuscode": "100",
  "status": "ORDER_RECEIVED"
}
Verify smartcard (success / error)
APIVerifyCableTVV1.asp
https://www.nellobytesystems.com/APIVerifyCableTVV1.asp?UserID=CK123&APIKey=456&CableTV=dstv&SmartCardNo=1234567890
{ "customer_name": "BALOGUN SUNDAY LIV LADORITE" }
{ "customer_name": "INVALID_SMARTCARDNO" }
Callback (CallBackURL)

After processing, we will call your CallBackURL with the OrderID, StatusCode, OrderStatus, and OrderRemark.

Query string format
http://your_callback_url?orderdate=22th-Jul-2023&orderid=6501321715&statuscode=200&orderstatus=ORDER_COMPLETED&orderremark=TRANSACTION%20SUCCESSFUL
JSON format
{
  "orderdate": "22th-Jul-2023",
  "orderid": "6501321715",
  "requestid": "",
  "statuscode": "200",
  "orderstatus": "ORDER_COMPLETED",
  "orderremark": "TRANSACTION SUCCESSFUL"
}

Note: You can only cancel a transaction whose status is ORDER_RECEIVED or ORDER_ONHOLD.

Status Codes

Common errors and statuses are listed below. For the full list, use: View full list of Status Code and Descriptions

STATUS DESCRIPTION
INVALID_CREDENTIALSThe UserID and API key combination is not correct.
MISSING_CREDENTIALSThe URL format is not valid.
MISSING_USERIDUserID field is empty.
MISSING_APIKEYAPI Key field is empty.
MISSING_CABLETVCableTV field is empty.
MISSING_PACKAGEPackage field is empty.
INVALID_SMARTCARDNOAn invalid smartcard number was entered.
PACKAGE_NOT_AVAILABLESelected package is not currently available.
ORDER_RECEIVEDYour order has been received.
Since we use a GET API, responses are returned in JSON.
Style Switcher
Theme Colors
Theme Skins

Layout Styles

Theme Types and Versions