Pay cable TV
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/cable \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"provider": "GOTV",
"planId": "dstv_premium_1m",
"smartCardNumber": "******6461"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({provider: 'GOTV', planId: 'dstv_premium_1m', smartCardNumber: '******6461'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/cable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendpadi.com/api/v1/merchant/vas/cable"
payload = {
"provider": "GOTV",
"planId": "dstv_premium_1m",
"smartCardNumber": "******6461"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "OK",
"data": {
"transactionId": "vas_cable_001",
"status": "processing"
}
}{
"success": false,
"message": "Invalid request signature",
"error": true,
"errorCode": "MERCHANT_AUTH_SIGNATURE_INVALID"
}VAS (Bill payments)
Pay cable TV
Pay cable TV via merchant VAS API. Scope: vas:write. Requires Idempotency-Key.
POST
/
api
/
v1
/
merchant
/
vas
/
cable
Pay cable TV
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/cable \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"provider": "GOTV",
"planId": "dstv_premium_1m",
"smartCardNumber": "******6461"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'Idempotency-Key': '<idempotency-key>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({provider: 'GOTV', planId: 'dstv_premium_1m', smartCardNumber: '******6461'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/cable', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendpadi.com/api/v1/merchant/vas/cable"
payload = {
"provider": "GOTV",
"planId": "dstv_premium_1m",
"smartCardNumber": "******6461"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"Idempotency-Key": "<idempotency-key>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "OK",
"data": {
"transactionId": "vas_cable_001",
"status": "processing"
}
}{
"success": false,
"message": "Invalid request signature",
"error": true,
"errorCode": "MERCHANT_AUTH_SIGNATURE_INVALID"
}Call Validate cable first. Select
provider (DSTV | GOTV | STARTIMES | SHOWMAX), then pick planId from List billers (category=cable).Authorizations
API key id (sp_test_… / sp_live_…)
Headers
Unix time in seconds
HMAC-SHA256 signature
UUID. Required on money-moving writes.
Body
application/json
Response
OK
The response is of type object.

