curl --location 'https://api.nomba.com/v1/bill/cabletv' \ --header 'accountId: <accountId>' \ --header 'Authorization: Bearer <token>' \ --data '{ "cableTvPaymentType": "dstv", "merchantTxRef": "{{$guid}}", "payerName": "{{$randomFullName}}", "amount": 2000, "customerId": "123909200" }'
{ "code": "00", "description": "SUCCESS", "data": { "amount": 2000, "meta": { "merchantTxRef": "bf6cd7cc-5952-4e66-abff-64032ce1a73a", "api_client_id": "10422171-9100-4e66-93e1-7f6da894ef89", "api_account_id": "01a10aeb-d989-460a-bbde-9842f2b4320f", "rrn": "240803091832" }, "fee": "", "timeCreated": "2024-08-03T08:18:34.201Z", "id": "API-DSTV-C1073-2d10909a-df07-4e95-9851-e5ebd5695040", "type": "dstv", "status": "SUCCESS" } }
This describes the process of subscribing to a Cable TV network
POST /v1/bill/cabletv
Hide object