Get VAS transaction
curl --request GET \
--url https://api.sendpadi.com/api/v1/merchant/vas/transactions/{id} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'const options = {
method: 'GET',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Api-Key': '<api-key>'
}
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/transactions/{id}', 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/transactions/{id}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Api-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "OK",
"data": {
"id": "vas_001",
"status": "completed",
"category": "airtime"
}
}VAS (Bill payments)
Get VAS transaction
Fetch a VAS transaction by id. Scope: vas:read.
GET
/
api
/
v1
/
merchant
/
vas
/
transactions
/
{id}
Get VAS transaction
curl --request GET \
--url https://api.sendpadi.com/api/v1/merchant/vas/transactions/{id} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'const options = {
method: 'GET',
headers: {
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Api-Key': '<api-key>'
}
};
fetch('https://api.sendpadi.com/api/v1/merchant/vas/transactions/{id}', 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/transactions/{id}"
headers = {
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Api-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"message": "OK",
"data": {
"id": "vas_001",
"status": "completed",
"category": "airtime"
}
}
