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": "42e012cf-d007-4b15-bd44-8a1806bcaf6e",
            "type": "single_use",
            "provider_id": "89bfc6e4-931a-42ff-b8d6-945e28b5dc80",
            "merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
            "first_name": "Mark",
            "last_name": "Smith",
            "street_address_1": "Street one",
            "street_address_2": "Street two",
            "zip": "1234654",
            "city": "Los Gatos",
            "state": "CA",
            "country": "US",
            "email": "[email protected]",
            "phone": "0987654321",
            "external_id": "7b4fdde8-0689-3f57-8e1c-fc9dcc5159af",
            "card_number": "4485104365348552",
            "card_expiry_month": "12",
            "card_expiry_year": "2021",
            "amount": 2000
        },
        {
            "id": "b013ad90-e148-4e1a-926a-53987a805bd0",
            "type": "single_use",
            "provider_id": "89bfc6e4-931a-42ff-b8d6-945e28b5dc80",
            "merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
            "first_name": "Mike",
            "last_name": "Hill",
            "street_address_1": "Rua 1",
            "street_address_2": "Rua 2",
            "zip": "1234654",
            "city": "Los Gatos",
            "state": "CA",
            "country": "US",
            "email": "[email protected]",
            "phone": "11992289932",
            "external_id": "0821e827-8aa8-3366-bd80-05206fda26f5",
            "card_number": "5180020394919178",
            "card_expiry_month": "02",
            "card_expiry_year": "2021",
            "amount": 5000
        },
        {
            "id": "e671058f-f9d3-438f-8120-f1a91854015f",
            "type": "single_use",
            "provider_id": "89bfc6e4-931a-42ff-b8d6-945e28b5dc80",
            "merchant_id": "98e2c511-bf77-4893-a16c-23d593a530ad",
            "first_name": "Test",
            "last_name": "Guy",
            "street_address_1": "Street one",
            "street_address_2": "Street two",
            "zip": "1234654",
            "city": "Los Gatos",
            "state": "CA",
            "country": "US",
            "email": "[email protected]",
            "phone": "0987654321",
            "external_id": "d7fadd39-bc56-3a69-bce3-481129090b38",
            "card_number": "2542491234564949",
            "card_expiry_month": "06",
            "card_expiry_year": "2020",
            "amount": 2000
        }
    ],
    "meta": {
        "last_page": 1,
        "current_page": 1,
        "total": 3
    }
}