VTU API
Get API keys
Schedule Payments›Create

Create - Cable TV (monthly)

POST https://api.paybeta.ng/v2/scheduled-payments

Schedule a recurring TV subscription. customer_id is the smartcard number and is validated with the provider. code is the bouquet code from Bundles. Bouquet must be ₦500 - ₦80,000.

Send your secret key in the P-API-KEY header. Keep it on your server, never in an app or browser.

Body (JSON)

  • service string Required
    Example: cabletv
  • biller string Required
    Example: dstv
  • customer_id string Required
    Example: 7027914329
  • code string Required
    Example: dstv-padi
  • frequency string Required
    Example: monthly
  • start_at string Required
    Example: {{startAt}}
Request
curl --request POST \
  --url 'https://api.paybeta.ng/v2/scheduled-payments' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'P-API-KEY: YOUR_SECRET_KEY' \
  --data '{
    "service": "cabletv",
    "biller": "dstv",
    "customer_id": "7027914329",
    "code": "dstv-padi",
    "frequency": "monthly",
    "start_at": "{{startAt}}"
}'
Response
No example response yet.