List Cards
This endpoint will list all virtual cards created.
GET https://vcard-api.paycertify.com/api/vcards
Field | Type | Description | Example |
---|---|---|---|
vcard |
array |
An array with all vcards | - |
curl --request GET \
--url https://vcard-api.paycertify.com/api/vcards \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
Responds with:
{
"vcards": [
{
"id": "1f636e5f-999a-4bfe-b2d9-3190f40f957a",
"type": "reload",
"provider_id": "89bfc6e4-931a-42ff-b8d6-945e28b5dc80",
"merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
"first_name": "Mike",
"last_name": "Hill",
"street_address1": "Street 1",
"street_address2": "Street 2",
"zip": "1234654",
"city": "Los Gatos",
"state": "CA",
"country": "US",
"email": "[email protected]",
"phone": "112223333444",
"external_id": "ba756e55-71c3-429e-b28c-f2d9fd275a0e",
"card_number": "518002******9178",
"card_expiry_month": 01,
"card_expiry_year": 2024,
"card_brand": "master",
"amount": 500,
"status": "active",
"available_amount": 356.89,
"is_cancelable": 1,
"meta": {
"your_attribute_name": "value"
},
"created_at": "2020-04-03T09:09:53+0000"
},
{
"id": "2fd5921f-a9e7-4047-8d00-b11592a35ff1",
"type": "reload",
"provider_id": "89bfc6e4-931a-42ff-b8d6-945e28b5dc80",
"merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
"first_name": "Mike",
"last_name": "Hill",
"street_address1": "Street 1",
"street_address2": "Street 2",
"zip": "1234654",
"city": "Los Gatos",
"state": "CA",
"country": "US",
"email": "[email protected]",
"phone": "112223333444",
"external_id": "c91c199a-d4ba-4917-a2fb-2a6d738c4bc2",
"card_number": "413184******4593",
"card_expiry_month": 12,
"card_expiry_year": 2022,
"card_brand": "visa",
"amount": 2000,
"status": "active",
"available_amount": 2000,
"is_cancelable": 1,
"meta": {
"your_attribute_name": "value"
},
"created_at": "2020-04-03T09:09:53+0000"
},
{
"id": "47b67d10-4c22-4399-895b-f0c8ff98cbf8",
"type": "reload",
"provider_id": "169a3190-f7dd-4568-b910-20c44af01e49",
"merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
"first_name": "Mike",
"last_name": "Hill",
"street_address1": "Street 1",
"street_address2": "Street 2",
"zip": "1234654",
"city": "Los Gatos",
"state": "CA",
"country": "US",
"email": "[email protected]",
"phone": "112223333444",
"external_id": "4130f8af-1ee2-4360-9fab-2c85e47ace3b",
"card_number": "510006******7563",
"card_expiry_month": 06,
"card_expiry_year": 2023,
"card_brand": "master",
"amount": 1000,
"status": "active",
"available_amount": 769.80,
"is_cancelable": 1,
"meta": {
"your_attribute_name": "value"
},
"created_at": "2020-04-03T09:09:53+0000"
}
],
"meta": {
"last_page": 1,
"current_page": 1,
"total": 3
}
}