GET
/
api
/
v1
/
cards
List all Cards
const url = 'https://api.gnosispay.com/api/v1/cards';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
[
  {
    "id": "<string>",
    "cardToken": "<string>",
    "lastFourDigits": "<string>",
    "activatedAt": "2023-11-07T05:31:56Z",
    "virtual": true,
    "statusCode": 1000,
    "statusName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

exclude_voided
boolean

Exclude voided cards from the response

status_code
string

Filter cards by status code

Response

200
application/json

The list of cards for a user

The response is of type object[].