Virtual cards
List cards
GET/api/cards
List the cards your key has issued, newest first.
| Query | ||
|---|---|---|
payerId |
optional | Only this customer's cards. |
state |
optional | Only cards in this state. |
page |
optional | From 1. Default 1. |
pageSize |
optional | From 1 to 100. Default 20. |
pagination says where you are: total is the number of cards that match, pages how many pages that makes, and hasNext and hasPrev whether another page lies either side. A page past the end is empty, not an error.
Response 200
JSON
{
"ok": true,
"data": {
"items": [
{
"cardId": "1ba926cb-81b8-4650-94c7-33b69d50e156",
"payerId": "1618b583-4f9d-470d-842a-247d5b642835",
"label": "Billing agent",
"metadata": { "customerRef": "cus_8841" },
"state": "active",
"failureReason": null,
"currency": "EUR",
"limits": { "total": 500 },
"last4": "7717",
"actions": { "update": true, "freeze": true, "unfreeze": false, "close": true, "reveal": true },
"createdAt": "2026-10-27T22:48:32.734Z",
"updatedAt": "2026-10-27T22:48:35.736Z"
},
{
"cardId": "98ea72c7-1964-4641-8879-1e451b5fb26c",
"payerId": "1618b583-4f9d-470d-842a-247d5b642835",
"label": "Research agent",
"metadata": { "customerRef": "cus_8841" },
"state": "active",
"failureReason": null,
"currency": "EUR",
"limits": { "total": 60 },
"last4": "1396",
"actions": { "update": true, "freeze": true, "unfreeze": false, "close": true, "reveal": true },
"createdAt": "2026-10-27T22:48:32.733Z",
"updatedAt": "2026-10-27T22:48:35.733Z"
}
],
"pagination": { "page": 1, "pageSize": 2, "pages": 2, "total": 4, "hasNext": true, "hasPrev": false }
}
}