VTU API
Get API keys
Cable TV API

Cable TV Subscription Payment API (DStv, GOtv, StarTimes)

This endpoint allows you to recharge a DSTV decoder afresh / change the existing bouquet of a DSTV, GOTV and StarTimes decoder using its IUC/smartcard number. This option is for a new or a returning subscriber who would like to pay or change his/her bouquet.

The sandbox environment provides specific scenarios to simulate success, failure, or unexpected outcomes for DSTV, GOTV and StaTimes purchases. Use the examples below to test and observe how your integration behaves.

Refer to the table below to find the correct smartcard number for simulating various API responses:

Smartcard Validation result
1212121212 HTTP 200, successful, with mock customer details
201000000000 HTTP 200, successful, so you can go on to test a pending purchase
500000000000 HTTP 200, status unknown (unexpected response)
400000000000 HTTP 504, empty body (no response)
300000000000 Waits for the timeout delay (30 seconds by default), then HTTP 504 "Customer validation failed: service unavailable or timed out."
Any other number HTTP 422 "Invalid Smart Card Number"

Payment

Smartcard number Result
1212121212 Successful
201000000000 Pending, settles to successful after about 2 minutes
500000000000 HTTP 200 with status unknown; pending, settles later
400000000000 HTTP 504, empty body; pending, settles later
300000000000 Answers pending after the timeout delay; settles later
Any other number Failed, test wallet refunded