Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

List TV plans

/bills/get_tv_planGET
Returns the cable TV packages for a provider, sorted by price.
TV IDs: 1 GOtv, 2 DStv, 3 StarTimes.
Send the plan code to Buy cable TV. The price is fixed by the plan.
Authorization
bearerAuth *Bearer <token>
Your API token from the SendCheap business dashboard.
Query Parameters
tv_id *1 | 2 | 3
TV provider: 1 GOtv, 2 DStv, 3 StarTimes.
Response
200 · TV plans
status *"success" | "failed"
success when the request did what you asked.
message *string
Human-readable result.
data *object
The result. Shape depends on the endpoint; null on most errors.
400 · Missing or invalid field
status *"success" | "failed"
success when the request did what you asked.
message *string
Human-readable result.
data *object
The result. Shape depends on the endpoint; null on most errors.
406 · Missing or invalid API token
status *"success" | "failed"
success when the request did what you asked.
message *string
Human-readable result.
data *object
The result. Shape depends on the endpoint; null on most errors.
Request example
curl -X GET "https://api.sendcheap.us/apps/business/bills/get_tv_plan?tv_id=1" \ -H "Authorization: Bearer <token>"
Response example
{ "status": "success", "message": "successful", "data": [ { "id": "1472", "code": "1472", "name": "GOtv Smallie", "description": "GOtv Smallie", "discription": "GOtv Smallie", "amount": "1900", "price": "1900", "duration": "", "bundle_code": "1472", "type": "gotv" }, { "id": "1475", "code": "1475", "name": "GOtv Supa Plus", "description": "GOtv Supa Plus", "discription": "GOtv Supa Plus", "amount": "16800", "price": "16800", "duration": "", "bundle_code": "1475", "type": "gotv" } ] }