List cards

GET
/cards

List and filter cards across organizations you have permission to access.

For public API access, requires cards:read in each requested organization. See Authentication for permissions and Pagination & filtering for listing resources.

Set the Accept header to text/csv to download your cards as a CSV file.

Query parameters

organizationIds

array of string (uuid)

Filter by organization IDs. Maximum 100. Omit to include all organizations available to you. Requesting an organization you cannot access returns 403.

max items 100

cardholderIds

array of string (uuid)

Filter by the IDs of people the cards were issued to. Maximum 100.

max items 100

financialAccountIds

array of string (uuid)

Filter by the account IDs reported in financialAccountId on the cards. Maximum 100.

max items 100

ids

array of string (uuid)

Filter by card IDs. Maximum 100.

max items 100

forms

array of CardForm

Filter by physical or virtual cards. Maximum 2 values.

physicalvirtual

max items 2

statuses

array of CardStatus

Filter by card status. pending means the card has not been activated, active means it is activated and not frozen or closed, inactive means it is frozen, and closed means it has been permanently cancelled. Maximum 4 values.

activeclosedinactivepending

max items 4

types

array of CardProductType

Filter by card type. rewardCard identifies a Flex Reward Card; businessCreditCard identifies a business credit card with net-60 payment terms. Maximum 4 values.

businessCreditCardrewardCard

max items 4

createdAtGte

string (date-time)

Include cards created at or after this timestamp.

createdAtLte

string (date-time)

Include cards created at or before this timestamp.

nextToken

string

The pagination cursor. A malformed cursor, or one that no longer identifies an accessible card, returns 400. See Pagination & filtering.

max length 64

pageSize

integer

The maximum number of cards per page. Defaults to 25; minimum 1, maximum 100.

min 1

max 100

sort

string

The sort direction: asc or desc. For public API requests, defaults to desc.

ascdesc
sortBy

string

The field to sort by. Public API requests support createdAt only, which is the default; other values return 400.

createdAt

default "createdAt"

Headers

flex-version

string

pattern ^\d{4}-\d{2}-\d{2}$

Responses

200

OK

application/json

A page of cards.

data

array of object

required

The cards returned on this page.

id

string (uuid)

required

The unique identifier for the card.

organizationId

string (uuid)

required

The identifier of the organization that owns the card.

financialAccountId

string (uuid)

The identifier of the account the card spends against. For a Flex Reward Card, this is its linked banking account. A business credit card can reference an account that is not available through the Accounts API. Omitted when the account linkage cannot be resolved.

cardholderId

string (uuid)

required

The identifier of the person the card was issued to, called its cardholder. See Persons.

cardholderName

string

The cardholder's full name. Omitted when no name is available.

name

string

The display name assigned to the card. Omitted when no name is set.

type

string

required

rewardCard identifies a Flex Reward Card; businessCreditCard identifies a business credit card with net-60 payment terms.

businessCreditCardrewardCard
status

string

required

pending means the card has not been activated, active means it is activated and not frozen or closed, inactive means it is frozen, and closed means it has been permanently cancelled.

activeclosedinactivepending
form

string

required

physical is a physical card; virtual is a card issued for use without a physical card.

physicalvirtual
network

string

required

The payment network: mastercard or visa.

mastercardvisa
lastFour

string

The last four digits of the card number. Omitted until the card has been activated.

expirationMonth

integer

required

The expiration month, from 1 (January) through 12 (December).

min 1

max 12

expirationYear

integer

required

The four-digit expiration year.

spendLimit

object

The configured per-card spending limit. Omitted when no per-card limit is configured. Other account restrictions can still apply.

amount

object

required

The maximum amount the card can spend during the configured interval.

amount

integer (int64)

required

The integer monetary amount, interpreted using scale.

scale

integer

required

The number of decimal places in amount.

currency

string

The ISO 4217 currency code. Defaults to USD.

default "USD"

interval

string

required

The period the limit applies to: daily, weekly, monthly, quarterly, or annually. lifetime applies across the life of the card.

annuallydailylifetimemonthlyquarterlyweekly
activatedAt

string (date-time)

When the card was activated. Omitted if it has not been activated.

closedAt

string (date-time)

When the card was permanently cancelled. Omitted when no closure date is recorded.

createdAt

string (date-time)

required

When the card was created.

lastModifiedAt

string (date-time)

required

When the card was last modified.

pan

string

Full card number. Only available in a Reveal Session.

cvv

string

Card security code. Only available in a Reveal Session.

metadata

object

required

Pagination details. See Pagination & filtering.

pageSize

integer

required

The requested maximum number of cards per page.

sort

string

required

The applied sort direction: asc or desc.

ascdesc
nextToken

string

The cursor for the next page. Omitted when there are no more results. See Pagination & filtering.

text/csv

string (binary)

400

Invalid parameter, unsupported filter or sort field, or unresolvable pagination cursor. Public API requests also require an API version of 2026-09-10 or later.

application/json

An error response. See Errors.

statusCode

integer

required

The HTTP status code.

message

string

required

A description of the error.

errors

map of string

Additional details keyed by the affected field, or by message for request-level errors.

flexErrorCode

string

A machine-readable error code, when available. CARD_ISSUANCE_CARDHOLDER_CARD_LIMIT means the cardholder has reached the active-card limit; CARD_ISSUANCE_CARDHOLDER_BIRTH_DATE_REQUIRED means a date of birth is needed before the first card can be issued. CARD_ISSUANCE_DENIED_BY_ACCESS_RESTRICTION means an account restriction prevents issuance, and CARD_ISSUANCE_ACCESS_GATE_UNAVAILABLE means that restriction check could not complete. CARD_ISSUANCE_TOKENIZATION_UNAVAILABLE means secure card data could not be prepared; CARD_ISSUANCE_TOKENIZATION_GATE_UNAVAILABLE means the security eligibility check could not complete; CARD_ISSUANCE_TOKENIZATION_REJECTED means a card-data security check failed; CARD_ISSUANCE_TOKENIZATION_SUSPENDED means issuance is suspended after such a failure. CARD_ISSUANCE_TOKENIZATION_ATTEMPT_IN_PROGRESS means another issuance attempt is running; CARD_ISSUANCE_TOKENIZATION_ATTEMPTS_EXHAUSTED means the idempotency key reached its attempt limit; CARD_ISSUANCE_IDEMPOTENCY_KEY_IN_USE means a card is already associated with that idempotency key; CARD_ISSUANCE_TOKEN_PAYLOAD_CONFLICT means the card processor already holds this card under a different request; CARD_ISSUANCE_CARDHOLDER_TOKEN_CONFLICT means it holds this cardholder under another account, or cannot read it back.

401

Missing or invalid authentication.

403

The request lacks the permissions required for this operation.

application/json

An error response. See Errors.

statusCode

integer

required

The HTTP status code.

message

string

required

A description of the error.

errors

map of string

Additional details keyed by the affected field, or by message for request-level errors.

flexErrorCode

string

A machine-readable error code, when available. CARD_ISSUANCE_CARDHOLDER_CARD_LIMIT means the cardholder has reached the active-card limit; CARD_ISSUANCE_CARDHOLDER_BIRTH_DATE_REQUIRED means a date of birth is needed before the first card can be issued. CARD_ISSUANCE_DENIED_BY_ACCESS_RESTRICTION means an account restriction prevents issuance, and CARD_ISSUANCE_ACCESS_GATE_UNAVAILABLE means that restriction check could not complete. CARD_ISSUANCE_TOKENIZATION_UNAVAILABLE means secure card data could not be prepared; CARD_ISSUANCE_TOKENIZATION_GATE_UNAVAILABLE means the security eligibility check could not complete; CARD_ISSUANCE_TOKENIZATION_REJECTED means a card-data security check failed; CARD_ISSUANCE_TOKENIZATION_SUSPENDED means issuance is suspended after such a failure. CARD_ISSUANCE_TOKENIZATION_ATTEMPT_IN_PROGRESS means another issuance attempt is running; CARD_ISSUANCE_TOKENIZATION_ATTEMPTS_EXHAUSTED means the idempotency key reached its attempt limit; CARD_ISSUANCE_IDEMPOTENCY_KEY_IN_USE means a card is already associated with that idempotency key; CARD_ISSUANCE_TOKEN_PAYLOAD_CONFLICT means the card processor already holds this card under a different request; CARD_ISSUANCE_CARDHOLDER_TOKEN_CONFLICT means it holds this cardholder under another account, or cannot read it back.

429

Too Many Requests, the rate limit was exceeded. Carries a Retry-After header in whole seconds.

application/json

An error response. See Errors.

statusCode

integer

required

The HTTP status code.

message

string

required

A description of the error.

errors

map of string

Additional details keyed by the affected field, or by message for request-level errors.

flexErrorCode

string

A machine-readable error code, when available. CARD_ISSUANCE_CARDHOLDER_CARD_LIMIT means the cardholder has reached the active-card limit; CARD_ISSUANCE_CARDHOLDER_BIRTH_DATE_REQUIRED means a date of birth is needed before the first card can be issued. CARD_ISSUANCE_DENIED_BY_ACCESS_RESTRICTION means an account restriction prevents issuance, and CARD_ISSUANCE_ACCESS_GATE_UNAVAILABLE means that restriction check could not complete. CARD_ISSUANCE_TOKENIZATION_UNAVAILABLE means secure card data could not be prepared; CARD_ISSUANCE_TOKENIZATION_GATE_UNAVAILABLE means the security eligibility check could not complete; CARD_ISSUANCE_TOKENIZATION_REJECTED means a card-data security check failed; CARD_ISSUANCE_TOKENIZATION_SUSPENDED means issuance is suspended after such a failure. CARD_ISSUANCE_TOKENIZATION_ATTEMPT_IN_PROGRESS means another issuance attempt is running; CARD_ISSUANCE_TOKENIZATION_ATTEMPTS_EXHAUSTED means the idempotency key reached its attempt limit; CARD_ISSUANCE_IDEMPOTENCY_KEY_IN_USE means a card is already associated with that idempotency key; CARD_ISSUANCE_TOKEN_PAYLOAD_CONFLICT means the card processor already holds this card under a different request; CARD_ISSUANCE_CARDHOLDER_TOKEN_CONFLICT means it holds this cardholder under another account, or cannot read it back.

Request template

curl -X GET 'https://api.flex.one/cards' \
  -H "Authorization: Bearer $FLEX_API_KEY" \
  -H 'flex-version: 2026-10-23'

Response 200

{
  "data": [
    {
      "id": "8c5146d7-8229-4ef4-96c0-55ddbd6d587b",
      "organizationId": "3f8bbfa2-9257-4a7e-86d3-df1797b8e143",
      "financialAccountId": "470195c7-4cf3-4df3-9f92-80848be0a3ad",
      "cardholderId": "92608f75-a040-4341-a49d-f0de8daacdf1",
      "cardholderName": "Alex Morgan",
      "name": "Software subscriptions",
      "type": "rewardCard",
      "status": "active",
      "form": "virtual",
      "network": "visa",
      "lastFour": "4242",
      "expirationMonth": 11,
      "expirationYear": 2029,
      "spendLimit": {
        "amount": {
          "amount": 100000,
          "scale": 2,
          "currency": "USD"
        },
        "interval": "monthly"
      },
      "activatedAt": "2026-11-16T14:00:00.000Z",
      "createdAt": "2026-11-16T14:00:00.000Z",
      "lastModifiedAt": "2026-11-16T14:00:00.000Z"
    }
  ],
  "metadata": {
    "pageSize": 25,
    "sort": "desc"
  }
}