1. Cable TV
Dailybest Developer API
  • Auth
    • Check your credentials
      GET
  • Data
    • Buy data
      POST
    • List data plans
      GET
    • Check a data purchase
      GET
  • Wallet
    • Get wallet balance
      GET
  • Airtime
    • Buy airtime
      POST
    • List airtime networks
      GET
    • Check an airtime purchase
      GET
  • Electricity
    • Pay for electricity
      POST
    • Check an electricity payment
      GET
    • List distribution companies
      GET
    • Verify a meter
      POST
  • Cable TV
    • Renew a TV subscription
      POST
    • List TV operators
      GET
    • Check a TV subscription
      GET
    • List TV packages
      GET
    • Verify a smartcard
      POST
  • Data PINs
    • Generate a batch of data PINs
      POST
    • List your PIN batches
      GET
    • List data PIN plans
      GET
    • Your PIN generation limits
      GET
    • Approve a PIN batch
      POST
    • Get a PIN batch
      GET
    • Reject a PIN batch
      POST
    • Disable a PIN batch
      POST
    • List a batch's PINs
      GET
    • Look up a PIN
      GET
    • Disable one PIN
      POST
    • Simulate a dial
      POST
    • Get print layout customization
      GET
    • Print a batch (data and layout)
      GET
  • Virtual cards
    • Issue a virtual card
  • Transactions
    • List transactions
    • Get a transaction
    • Resend a transaction webhook
  • Webhooks
    • List supported webhook events
    • Send a sample webhook
  • Schemas
    • PurchaseDataDto
    • PurchaseAirtimeDto
    • VerifyMeterDto
    • PurchaseElectricityDto
    • VerifyTvCustomerDto
    • IssueVirtualCardDto
    • PurchaseTvDto
    • TransactionType
    • GenerateBatchDto
    • TransactionStatus
    • BatchReasonDto
    • TransactionChannel
    • SimulateDialDto
    • Network
    • MeterType
    • TvOperator
    • SendSampleWebhookDto
  1. Cable TV

Renew a TV subscription

POST
/v1/tv/b2b-subscribe
Renews a decoder with a bouquet from GET /v1/tv/b2b/packages. The price comes from the package, less your discount, and is debited from your wallet. Poll GET /v1/tv/b2b/{reference} while it is PROCESSING.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠400
🟠401
🟠403
🟠409
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:5050/v1/tv/b2b-subscribe' \
--header 'Idempotency-Key;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "idempotencyKey": "5f0c7c1e-8a52-4a5e-9d0b-1c1f6f1d2a11",
    "operator": "DSTV",
    "smartcardNumber": "7034567890",
    "packageCode": "COMPE36",
    "phoneNumber": "08012345678"
}'
Response Response Example
200 - Success
{
    "success": true,
    "message": "Subscription renewed",
    "statusCode": 200,
    "path": "/v1/…",
    "timestamp": "2026-09-26T12:00:00.000Z",
    "hash": "a1b2c3d4-…",
    "data": {
        "transaction": {
            "reference": "DB-TV-20250923-MFX2K9QZ-9A1B2C3D",
            "type": "CABLE_TV",
            "status": "SUCCESS",
            "amount": 18620,
            "recipient": "7034567890",
            "network": "DSTV",
            "planId": "COMPE36",
            "description": "DStv DStv Compact",
            "tokenOrPin": null,
            "balanceBefore": 10000,
            "balanceAfter": 9520,
            "failureReason": null,
            "createdAt": "2026-09-26T12:00:00.000Z"
        }
    }
}
Modified at 2026-10-05 17:27:33
Previous
Verify a meter
Next
List TV operators
Built with