List cards
curl --request GET \
--url https://api.sendpadi.com/api/v1/merchant/virtual-cards \
--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/virtual-cards', 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/virtual-cards"
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,
"data": {
"cards": [],
"pagination": {
"total": 0,
"page": 1,
"limit": 20,
"totalPages": 0
}
}
}Virtual cards
List cards
List issued virtual cards. Scope: virtual-cards:read.
GET
/
api
/
v1
/
merchant
/
virtual-cards
List cards
curl --request GET \
--url https://api.sendpadi.com/api/v1/merchant/virtual-cards \
--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/virtual-cards', 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/virtual-cards"
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,
"data": {
"cards": [],
"pagination": {
"total": 0,
"page": 1,
"limit": 20,
"totalPages": 0
}
}
}
