Cable & Bill Payments
Fetch Cable TV Plans
Introduction
- Welcome to Nomba
- Get API Keys
- Testing
Getting Started
- Dashboard Setup
- Authentication
- Definitions
Plugins and SDKs
Products
- Accounts
- Accept Payments
- Transfers
- Terminals
- Webhooks
- Transactions
- Airtime & Data Vending
- Cable & Bill Payments
- Betting
Guides
API Patterns
Cable & Bill Payments
Fetch Cable TV Plans
Get a list of the available plans from a provider.
curl --location 'https://api.nomba.com/v1/bill/cableTvProduct?cableTvType=dstv' \
--header 'Authorization: Bearer <token>' \
--header 'accountId: <accountId>'
{
"code": "00",
"description": "SUCCESS",
"data": [
{
"subScriptionType": "COMPACT",
"amount": 19000.0
},
{
"subScriptionType": "COMPACT_PLUS",
"amount": 30000.0
},
{
"subScriptionType": "PREMIUM",
"amount": 44500.0
},
{
"subScriptionType": "COMPACT_PLUS_EXTRA_VIEW",
"amount": 36000.0
},
{
"subScriptionType": "PREMIUM_EXTRA_VIEW",
"amount": 50500.0
},
{
"subScriptionType": "COMPACT_EXTRA_VIEW",
"amount": 25000.0
},
{
"subScriptionType": "YANGA",
"amount": 6000.0
},
{
"subScriptionType": "CONFAM",
"amount": 11000.0
},
{
"subScriptionType": "PADI",
"amount": 4400.0
},
{
"subScriptionType": "CONFAM_PLUS_EXTRA_VIEW",
"amount": 17000.0
},
{
"subScriptionType": "YANGA_PLUS_EXTRA_VIEW",
"amount": 12000.0
},
{
"subScriptionType": "PADI_PLUS_EXTRA_VIEW",
"amount": 10400.0
}
],
"message": "SUCCESS"
}
GET /v1/bill/cableTvProduct?cableTvType=dstv
Available Cable TV type:
- dstv
- gotv
- startimes
Response body
Response code
Response description
Response message
curl --location 'https://api.nomba.com/v1/bill/cableTvProduct?cableTvType=dstv' \
--header 'Authorization: Bearer <token>' \
--header 'accountId: <accountId>'
{
"code": "00",
"description": "SUCCESS",
"data": [
{
"subScriptionType": "COMPACT",
"amount": 19000.0
},
{
"subScriptionType": "COMPACT_PLUS",
"amount": 30000.0
},
{
"subScriptionType": "PREMIUM",
"amount": 44500.0
},
{
"subScriptionType": "COMPACT_PLUS_EXTRA_VIEW",
"amount": 36000.0
},
{
"subScriptionType": "PREMIUM_EXTRA_VIEW",
"amount": 50500.0
},
{
"subScriptionType": "COMPACT_EXTRA_VIEW",
"amount": 25000.0
},
{
"subScriptionType": "YANGA",
"amount": 6000.0
},
{
"subScriptionType": "CONFAM",
"amount": 11000.0
},
{
"subScriptionType": "PADI",
"amount": 4400.0
},
{
"subScriptionType": "CONFAM_PLUS_EXTRA_VIEW",
"amount": 17000.0
},
{
"subScriptionType": "YANGA_PLUS_EXTRA_VIEW",
"amount": 12000.0
},
{
"subScriptionType": "PADI_PLUS_EXTRA_VIEW",
"amount": 10400.0
}
],
"message": "SUCCESS"
}
curl --location 'https://api.nomba.com/v1/bill/cableTvProduct?cableTvType=dstv' \
--header 'Authorization: Bearer <token>' \
--header 'accountId: <accountId>'
{
"code": "00",
"description": "SUCCESS",
"data": [
{
"subScriptionType": "COMPACT",
"amount": 19000.0
},
{
"subScriptionType": "COMPACT_PLUS",
"amount": 30000.0
},
{
"subScriptionType": "PREMIUM",
"amount": 44500.0
},
{
"subScriptionType": "COMPACT_PLUS_EXTRA_VIEW",
"amount": 36000.0
},
{
"subScriptionType": "PREMIUM_EXTRA_VIEW",
"amount": 50500.0
},
{
"subScriptionType": "COMPACT_EXTRA_VIEW",
"amount": 25000.0
},
{
"subScriptionType": "YANGA",
"amount": 6000.0
},
{
"subScriptionType": "CONFAM",
"amount": 11000.0
},
{
"subScriptionType": "PADI",
"amount": 4400.0
},
{
"subScriptionType": "CONFAM_PLUS_EXTRA_VIEW",
"amount": 17000.0
},
{
"subScriptionType": "YANGA_PLUS_EXTRA_VIEW",
"amount": 12000.0
},
{
"subScriptionType": "PADI_PLUS_EXTRA_VIEW",
"amount": 10400.0
}
],
"message": "SUCCESS"
}