Skip to main content
GET
/
cards
List Cards
const options = {method: 'GET'};

fetch('https://gp-auth-module.prod.gnosispay.com/cards', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "cards": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "cardholderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "all",
      "name": "<string>",
      "type": "virtual",
      "createdAt": "2023-11-07T05:31:56Z",
      "canceledAt": "2023-11-07T05:31:56Z",
      "nativeCurrency": "<string>",
      "additionalCurrencies": [
        "<string>"
      ],
      "printedName": "<string>",
      "issuingDate": "2023-11-07T05:31:56Z",
      "expirationDate": "2023-11-07T05:31:56Z",
      "contactlessEnabled": true,
      "mode": "<string>",
      "brand": "<string>",
      "bin": "<string>",
      "last4Digits": "<string>",
      "provisionedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Response

Cards retrieved successfully

cards
object[]
required