---
updatedAt: 2026-05-26T21:31:12.000Z
agentTools:
  projectIndex: https://docs.astrada.co/llms.txt
---

# List cards

Returns a list of all cards linked to the account.

By default, `GET /cards` returns cards ordered by the latest updatedAt. You can combine the different filters as documented.

Use `networkBulkFeedId` to filter the list to cards enrolled through a given network bulk feed. An unknown feed id returns an empty page. It combines with `expand=cardholder`.

Use `expand=cardholder` to embed each card's cardholder under `_embedded` in the same response instead of calling `GET /cards/{cardId}/cardholder` per item. The embedded body is the exact body that endpoint serves and requires its `cardholder:read` scope. Pagination links preserve `expand` like any other parameter.

This endpoint supports [offset-based pagination](https://docs.astrada.co/reference/pagination).


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Astrada API",
    "version": "2024-02-28",
    "contact": {
      "email": "developer@astrada.co"
    },
    "description": "Welcome to our API Reference. 👋\n"
  },
  "servers": [
    {
      "url": "https://api.astrada.co"
    }
  ],
  "tags": [
    {
      "name": "card",
      "description": "Card resource"
    }
  ],
  "externalDocs": {
    "description": "Find out more about Astrada API.",
    "url": "https://docs.astrada.co/reference"
  },
  "paths": {
    "/cards": {
      "parameters": [
        {
          "$ref": "#/components/parameters/country"
        },
        {
          "$ref": "#/components/parameters/expiry-month"
        },
        {
          "$ref": "#/components/parameters/expiry-year"
        },
        {
          "$ref": "#/components/parameters/subaccount-id"
        },
        {
          "$ref": "#/components/parameters/network-bulk-feed-id"
        },
        {
          "$ref": "#/components/parameters/expand-card"
        },
        {
          "$ref": "#/components/parameters/limit"
        },
        {
          "$ref": "#/components/parameters/offset"
        }
      ],
      "get": {
        "tags": [
          "card"
        ],
        "summary": "List cards",
        "description": "Returns a list of all cards linked to the account.\n\nBy default, `GET /cards` returns cards ordered by the latest updatedAt. You can combine the different filters as documented.\n\nUse `networkBulkFeedId` to filter the list to cards enrolled through a given network bulk feed. An unknown feed id returns an empty page. It combines with `expand=cardholder`.\n\nUse `expand=cardholder` to embed each card's cardholder under `_embedded` in the same response instead of calling `GET /cards/{cardId}/cardholder` per item. The embedded body is the exact body that endpoint serves and requires its `cardholder:read` scope. Pagination links preserve `expand` like any other parameter.\n\nThis endpoint supports [offset-based pagination](https://docs.astrada.co/reference/pagination).\n",
        "security": [
          {
            "main-auth": [
              "cards:read"
            ]
          }
        ],
        "operationId": "ListCards",
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/hal+json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "_links",
                    "_embedded",
                    "totalItems"
                  ],
                  "properties": {
                    "_links": {
                      "type": "object",
                      "required": [
                        "self"
                      ],
                      "properties": {
                        "self": {
                          "$ref": "#/components/schemas/link"
                        },
                        "first": {
                          "$ref": "#/components/schemas/link"
                        },
                        "next": {
                          "$ref": "#/components/schemas/link"
                        },
                        "prev": {
                          "$ref": "#/components/schemas/link"
                        },
                        "last": {
                          "$ref": "#/components/schemas/link"
                        }
                      }
                    },
                    "_embedded": {
                      "type": "object",
                      "required": [
                        "cards"
                      ],
                      "properties": {
                        "cards": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/card"
                          }
                        }
                      }
                    },
                    "totalItems": {
                      "type": "integer",
                      "description": "Total number of cards matching the search criteria"
                    }
                  }
                },
                "examples": {
                  "Example List Cards Response": {
                    "value": {
                      "_links": {
                        "self": {
                          "href": "/cards"
                        }
                      },
                      "_embedded": {
                        "cards": [
                          {
                            "_links": {
                              "self": {
                                "href": "/cards/8309b5f8-d5d8-49bb-9001-38bf1bb0f1e4"
                              }
                            },
                            "id": "8309b5f8-d5d8-49bb-9001-38bf1bb0f1e4",
                            "expiryMonth": 12,
                            "expiryYear": 2026,
                            "network": "mastercard",
                            "country": "USA",
                            "createdAt": "2024-02-04T18:41:16.142Z",
                            "updatedAt": "2024-02-04T18:41:16.142Z",
                            "first6digits": "424242",
                            "last4digits": "4242",
                            "subaccountId": "da6649a8-f0ea-4af0-b342-c0b5c3e024dd"
                          },
                          {
                            "_links": {
                              "self": {
                                "href": "/cards/f744b691-bf05-4f2a-ab89-bb1afe4eb840"
                              },
                              "cardholder": {
                                "href": "/cards/f744b691-bf05-4f2a-ab89-bb1afe4eb840/cardholder"
                              }
                            },
                            "id": "f744b691-bf05-4f2a-ab89-bb1afe4eb840",
                            "expiryMonth": 11,
                            "expiryYear": 2028,
                            "network": "mastercard",
                            "country": "USA",
                            "createdAt": "2024-02-04T18:41:16.142Z",
                            "updatedAt": "2024-02-04T18:41:16.142Z",
                            "first6digits": "434343",
                            "last4digits": "4343",
                            "subaccountId": "da6649a8-f0ea-4af0-b342-c0b5c3e024dd"
                          }
                        ]
                      },
                      "totalItems": 2
                    }
                  },
                  "Example List Cards Response with expand=cardholder": {
                    "value": {
                      "_links": {
                        "self": {
                          "href": "/cards?expand=cardholder&networkBulkFeedId=2fd4d402-b759-479c-87a6-58d85e345356"
                        }
                      },
                      "_embedded": {
                        "cards": [
                          {
                            "_links": {
                              "self": {
                                "href": "/cards/31e63088-48b3-42dd-b6d4-fdd058675ec9"
                              },
                              "cardholder": {
                                "href": "/cards/31e63088-48b3-42dd-b6d4-fdd058675ec9/cardholder"
                              }
                            },
                            "_embedded": {
                              "cardholder": {
                                "_links": {
                                  "self": {
                                    "href": "/cards/31e63088-48b3-42dd-b6d4-fdd058675ec9/cardholder"
                                  }
                                },
                                "firstName": "John",
                                "lastName": "Doe",
                                "email": "john.doe@example.com",
                                "postalCode": "94105",
                                "corporate": {
                                  "alternativeEmployeeId": "ALT-EMP-12345",
                                  "employeeId": "bb1afe4eb840",
                                  "id": "ABC123456789"
                                },
                                "createdAt": "2024-02-04T18:41:16.142Z",
                                "updatedAt": "2024-02-04T18:41:16.142Z"
                              }
                            },
                            "id": "31e63088-48b3-42dd-b6d4-fdd058675ec9",
                            "expiryMonth": 11,
                            "expiryYear": 2028,
                            "network": "mastercard",
                            "country": "USA",
                            "createdAt": "2024-02-04T18:41:16.142Z",
                            "updatedAt": "2024-02-04T18:41:16.142Z",
                            "first6digits": "434343",
                            "last4digits": "4343",
                            "subaccountId": "fd03abe1-5ac3-41ac-96cc-d2a66aafc74f"
                          }
                        ]
                      },
                      "totalItems": 1
                    }
                  },
                  "Example no Cards found": {
                    "value": {
                      "_links": {
                        "self": {
                          "href": "/cards"
                        }
                      },
                      "_embedded": {
                        "cards": []
                      },
                      "totalItems": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/bad-request"
          },
          "401": {
            "$ref": "#/components/responses/unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/forbidden"
          },
          "500": {
            "$ref": "#/components/responses/server-error"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "main-auth": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://api.astrada.co/auth/realms/{accountId}/protocol/openid-connect/token",
            "refreshUrl": "https://api.astrada.co/auth/realms/{accountId}/protocol/openid-connect/token",
            "scopes": {
              "accounts:write": "Accounts write resource",
              "accounts:read": "Accounts read resource",
              "subaccounts:write": "Subaccounts write resource",
              "subaccounts:read": "Subaccounts read resource",
              "card-connector-data-links:write": "card-connector-data-link resource",
              "card-connector-consents:read": "Card Consent read resource",
              "card-connector-consents:write": "Card Consent write resource",
              "webhooks:read": "Read Webhook resources",
              "webhooks:write": "Write Webhook resources",
              "card-subscriptions:write": "Create card subscription",
              "card-subscriptions:read": "Read card subscription",
              "card-verifications:write": "Create card verification",
              "card-verifications:read": "Read Card verification",
              "cards:read": "Read Card resources",
              "cardholder:read": "Read Cardholder resources",
              "cardholder:write": "Write Cardholder resources",
              "transactions:read": "Read Transaction resources",
              "transaction-messages:read": "Read Transaction Message resources",
              "network-bulk-feeds:read": "Read network bulk feed",
              "network-bulk-feeds:write": "Write network bulk feed",
              "network-bulk-enrollments:read": "Read network bulk enrollment",
              "network-bulk-enrollments:write": "Write network bulk enrollment and confirmation",
              "network-links:write": "Write network link",
              "enrollment-methods:write": "Write enrollment methods",
              "simulation:write": "Write sandbox simulations",
              "banking:read": "Read banking resources",
              "banking:write": "Write banking resources",
              "banking:admin": "Admin banking operations",
              "appstore:enrollment:write": "Enroll cards via the appstore B2C flow",
              "appstore:cards:read": "View enrolled cards in the appstore",
              "appstore:transactions:read": "View synced transactions in the appstore",
              "appstore:transactions:sync": "Trigger transaction sync in the appstore",
              "appstore:sessions:read": "Read appstore session state",
              "appstore:sessions:write": "Write or delete appstore session state",
              "appstore:tokens:read": "Read appstore stored tokens and connections",
              "appstore:tokens:write": "Write appstore stored tokens and connections"
            }
          }
        }
      }
    },
    "parameters": {
      "subaccount-id": {
        "in": "query",
        "name": "subaccountId",
        "required": false,
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "example": "2fd4d402-b759-479c-87a6-58d85e345356"
      },
      "network-bulk-feed-id": {
        "in": "query",
        "name": "networkBulkFeedId",
        "required": false,
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "example": "2fd4d402-b759-479c-87a6-58d85e345356"
      },
      "limit": {
        "in": "query",
        "name": "limit",
        "description": "Maximum number of items to return",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 25
        },
        "example": 25
      },
      "offset": {
        "in": "query",
        "name": "offset",
        "description": "The offset to use for pagination. Identifies the position of the first item returned in the collection",
        "required": false,
        "schema": {
          "type": "number",
          "default": 0
        },
        "example": 20
      },
      "country": {
        "in": "query",
        "name": "country",
        "description": "The card country of issuance following ISO 3166 alpha-3",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "USA",
            "CAN",
            "AUS",
            "NZL",
            "PRT",
            "BEL",
            "SGP"
          ]
        },
        "example": "USA"
      },
      "expiry-month": {
        "in": "query",
        "name": "expiryMonth",
        "description": "The card expiration month",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "example": 6
      },
      "expiry-year": {
        "in": "query",
        "name": "expiryYear",
        "description": "The card expiration year",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "example": 2024
      },
      "expand-card": {
        "in": "query",
        "name": "expand",
        "required": false,
        "description": "Embed the card's related `cardholder` resource under `_embedded` so one call returns the card\ntogether with its cardholder instead of a follow-up `GET /cards/{cardId}/cardholder`.\n\n- `cardholder` embeds the cardholder exactly as `GET /cards/{cardId}/cardholder` serves it and\n  requires the `cardholder:read` scope.\n\nA request asking to expand a resource its credentials cannot read is refused with `403`\n(`Missing scope 'cardholder:read'`). When the cardholder does not exist (for example a card that\nwas not bulk-enrolled), the `cardholder` key is absent from `_embedded`; `_links` are unchanged.\n\nSend `expand=cardholder`. A repeated `expand` key, an empty value or an unknown value is refused\nwith `400`.\n",
        "schema": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "cardholder"
            ]
          }
        },
        "style": "form",
        "explode": false,
        "example": [
          "cardholder"
        ]
      }
    },
    "schemas": {
      "link": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string"
          },
          "templated": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "deprecation": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "hreflang": {
            "type": "string"
          }
        },
        "required": [
          "href"
        ]
      },
      "cardholder": {
        "type": "object",
        "properties": {
          "_links": {
            "type": "object",
            "required": [
              "self"
            ],
            "properties": {
              "self": {
                "$ref": "#/components/schemas/link"
              }
            }
          },
          "corporate": {
            "type": "object",
            "description": "The company the cardholder belongs to, as the bank or card network supplies it in a network bulk feed, unless it was set with `PATCH /cards/{cardId}/cardholder`. See the [Glossary](https://docs.astrada.co/docs/glossary) for the terms used here.\n\nOn `GET /cards/{cardId}/cardholder` this is the current value. When the cardholder is embedded on a transaction (`expand=cardholder`, or the transaction webhooks), `corporate` is the value in effect on the transaction's `transactionOccurrenceDate` (through the end of that UTC day), or at the transaction's `createdAt` when that is null; the other cardholder fields stay current. The one exception inside `corporate` is `networkToken`, which is always the card's current value.\n",
            "properties": {
              "alternativeEmployeeId": {
                "type": "string",
                "nullable": true,
                "description": "An alternative employee identifier, typically configured for specific enterprise integrations."
              },
              "employeeId": {
                "type": "string",
                "nullable": true,
                "description": "The unique identifier of the employee"
              },
              "id": {
                "type": "string",
                "nullable": true,
                "description": "The **company ID**: the identifier the bank or card network gives the cardholder's company in the network bulk feed. Every card from the same company carries the same value, so it is the field to group cards by company.\n\n- **Visa (VCF and VBDS)**: the company ID, the `C` in the feed's RPIC network reference (`RegionId_ProcessorId_IssuerId_CompanyId`), always its last segment. For the feed `1_123_45_6789` (or the VCF PIC form `123_45_6789`), `corporate.id` is `6789`.\n- **Mastercard (SmartData)**: the company ID from the file, which Mastercard calls the corporation number.\n- **American Express**: the company ID, the 6-digit corporate ID (CID), such as `014640`. For a feed whose network reference is the CID, `corporate.id` is that same value.\n\n`null` when the feed does not supply one. The legal entity within the company is in `legalEntity`.\n"
              },
              "legalEntity": {
                "type": "object",
                "readOnly": true,
                "description": "The legal entity the card belongs to in the card network's company hierarchy. Visa VCF: the hierarchy node directly under the root. Mastercard SmartData: the corporation the card is filed under. American Express: the Basic Control Account the card bills under. Present only when the card network supplies one; absent otherwise, never null. `id` and `name` are each present only when the network supplies them, and at least one of them is always present. Once set it is kept until the network sends a new one. The same entity sent again with a field left out keeps that field: entities match on `id` when both have one, otherwise on `name`; a different entity replaces the stored one entirely. When the cardholder is embedded on a transaction, this is the value as of the transaction's date (see `corporate`).",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The network's identifier for the legal entity, an opaque string. Present only when the network supplies one (Visa VCF and American Express currently always do; Mastercard SmartData files usually carry none); absent otherwise, never null. Filter by `legalEntityName` when it is absent."
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The legal entity's name as provided by the card network. Present only when the network supplies a name (Visa VCF and Mastercard SmartData currently always do; American Express files can leave it blank); absent otherwise, never null. Filter by `legalEntityId` when it is absent."
                  }
                },
                "minProperties": 1
              },
              "networkToken": {
                "type": "string",
                "minLength": 1,
                "readOnly": true,
                "description": "The network token the card network issued for the card, for a tokenized American Express card. It is the same token the network sends you in its own files, so it is a stable identifier for matching the cardholder to your records. On these cards the card's `first6digits` and `last4digits` are the token's digits, not the physical card's. Present only for tokenized American Express cards; absent otherwise, never null. Always the card's current value, also when the cardholder is embedded on a transaction."
              }
            }
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "description": "The first name of the cardholder"
          },
          "lastName": {
            "nullable": true,
            "type": "string",
            "description": "The last name of the cardholder"
          },
          "email": {
            "type": "string",
            "format": "email",
            "nullable": true,
            "description": "Cardholder email address"
          },
          "postalCode": {
            "type": "string",
            "nullable": true,
            "description": "Cardholder postal code as provided by the card network. Format varies by country; no validation or normalization is applied."
          },
          "createdAt": {
            "description": "Date and time when this resource was created, in UTC, following ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "description": "Date and time when this resource was last updated, in UTC, following ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "_links",
          "corporate",
          "createdAt",
          "updatedAt"
        ]
      },
      "card": {
        "type": "object",
        "properties": {
          "_links": {
            "type": "object",
            "required": [
              "self"
            ],
            "properties": {
              "self": {
                "$ref": "#/components/schemas/link"
              },
              "cardholder": {
                "$ref": "#/components/schemas/link"
              }
            }
          },
          "_embedded": {
            "type": "object",
            "description": "Related resources inlined on request with the `expand` query parameter (`?expand=cardholder`).\nThe `cardholder` key is present only when it was requested and the cardholder exists; its body\nis identical to the one served by `GET /cards/{cardId}/cardholder`. Absent entirely when\n`expand` is not sent.\n",
            "properties": {
              "cardholder": {
                "$ref": "#/components/schemas/cardholder"
              }
            }
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "The unique identifier of this card entity."
          },
          "subaccountId": {
            "type": "string",
            "format": "uuid",
            "description": "The unique identifier of the subaccount related to this entity."
          },
          "expiryMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "description": "The month that the card will expire in MM format."
          },
          "expiryYear": {
            "type": "integer",
            "description": "The year that the card will expire in YYYY format."
          },
          "first6digits": {
            "type": "string",
            "nullable": true,
            "description": "The first 6 digits of the card number (PAN). Nullable for bank-derived cards\n(created from a bank connection, where the full PAN is never seen) — populated when\nknown (e.g. the SDK captured the BIN before pivoting to the bank flow) and attached\nwhen the card is later PAN-enrolled (upgrade-in-place keeps the same card id).\n"
          },
          "last4digits": {
            "type": "string",
            "description": "The last 4 digits of the card number (PAN)."
          },
          "network": {
            "type": "string",
            "nullable": true,
            "enum": [
              "visa",
              "mastercard",
              "amex"
            ],
            "description": "The card network that processes payments for this card. `amex` and `null` occur only\non bank-derived cards: Amex-institution connections mint `amex`; other institutions\ncannot reveal the network from bank data, so it stays `null` until the card is\nPAN-enrolled (upgrade-in-place).\n"
          },
          "country": {
            "type": "string",
            "enum": [
              "USA",
              "CAN",
              "GBR",
              "SWE",
              "ITA",
              "AUS",
              "NZL",
              "PRT",
              "BEL",
              "SGP"
            ],
            "description": "The country of issuance for this card following ISO 3166 alpha-3."
          },
          "createdAt": {
            "description": "Date and time when this resource was created, in UTC, following ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "description": "Date and time when this resource was last updated, in UTC, following ISO 8601 format.",
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "_links",
          "id",
          "subaccountId",
          "expiryMonth",
          "expiryYear",
          "last4digits",
          "country",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "responses": {
      "bad-request": {
        "description": "The server cannot or will not process the request due to something that is perceived to be a client error",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string"
                },
                "title": {
                  "type": "string",
                  "enum": [
                    "Bad Request"
                  ]
                },
                "errors": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "title": {
                        "type": "string"
                      },
                      "detail": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "title",
                      "detail"
                    ]
                  }
                }
              },
              "required": [
                "detail",
                "title"
              ]
            },
            "examples": {
              "Example Generic Bad Request Payload Response": {
                "value": {
                  "title": "Bad Request",
                  "detail": "Request object failed validation."
                }
              },
              "Example Generic Bad Request Parameters Response": {
                "value": {
                  "title": "Bad Request",
                  "detail": "Request parameters are invalid."
                }
              }
            }
          }
        }
      },
      "unauthorized": {
        "description": "Authentication credentials were either missing or incorrect",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string"
                },
                "title": {
                  "type": "string",
                  "enum": [
                    "Unauthorized"
                  ]
                }
              },
              "required": [
                "detail",
                "title"
              ]
            },
            "example": {
              "title": "Unauthorized",
              "detail": "Authentication credentials were either missing or incorrect."
            }
          }
        }
      },
      "forbidden": {
        "description": "Authentication credentials used do not have have permissions to perform the request",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string"
                },
                "title": {
                  "type": "string",
                  "enum": [
                    "Forbidden"
                  ]
                }
              },
              "required": [
                "detail",
                "title"
              ]
            },
            "example": {
              "title": "Forbidden",
              "detail": "You do not have permission to access the requested resource."
            }
          }
        }
      },
      "server-error": {
        "description": "The server encountered an unexpected condition that prevented it from fulfilling the request",
        "content": {
          "application/problem+json": {
            "schema": {
              "type": "object",
              "properties": {
                "detail": {
                  "type": "string"
                },
                "title": {
                  "type": "string",
                  "enum": [
                    "Internal Server Error"
                  ]
                }
              },
              "required": [
                "detail",
                "title"
              ]
            },
            "example": {
              "title": "Internal Server Error",
              "detail": "The server encountered an unexpected condition that prevented it from fulfilling the request."
            }
          }
        }
      }
    }
  }
}
```