Validate cable
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/cable/validate \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"smartCardNumber": "******6461",
"provider": "GOTV"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({smartCardNumber: '******6461', provider: 'GOTV'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/cable/validate', 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/validate"
payload = {
"smartCardNumber": "******6461",
"provider": "GOTV"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Smart card validated successfully",
"data": {
"customerName": "JOHN DOE",
"customerAddress": "",
"accountNumber": "******6461"
}
}VAS (Bill payments)
Validate cable
Verify a smart card / decoder number before paying cable TV. Providers: DSTV, GOTV, STARTIMES, SHOWMAX. Scope: vas:read.
POST
/
api
/
v1
/
merchant
/
vas
/
cable
/
validate
Validate cable
curl --request POST \
--url https://api.sendpadi.com/api/v1/merchant/vas/cable/validate \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"smartCardNumber": "******6461",
"provider": "GOTV"
}
'const options = {
method: 'POST',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Api-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({smartCardNumber: '******6461', provider: 'GOTV'})
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/cable/validate', 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/validate"
payload = {
"smartCardNumber": "******6461",
"provider": "GOTV"
}
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"message": "Smart card validated successfully",
"data": {
"customerName": "JOHN DOE",
"customerAddress": "",
"accountNumber": "******6461"
}
}Validate before Pay cable TV. No
Idempotency-Key required. provider must be one of DSTV | GOTV | STARTIMES | SHOWMAX.Authorizations
API key id (sp_test_… / sp_live_…)
Headers
Unix time in seconds
HMAC-SHA256 signature
Body
application/json
Response
OK
The response is of type object.

