logo
CardsList cards

List cards

Returns a paginated list of the company’s corporate cards, with optional filters for status, type, cardholder email, product name, and last 4 digits.

Available filters:

  • status: ACTIVATED, BLOCKED, CANCELLED, INACTIVATED
  • type: PHYSICAL, VIRTUAL
  • email: cardholder email
  • productName: card product name
  • last4: last 4 digits of the card number

Use nextPageStartKey to page through results (cursor-based pagination).

curl -X GET "https://api-sandbox.contasimples.com/credit-cards/v1/cards?email=card-owner@gmail.com&status=ACTIVATED&type=PHYSICAL&productName=Marketing Ads&last4=4821&nextPageStartKey=example_string&limit=10" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "items": [
    {
      "id": "example_string",
      "maskedNumber": "example_string",
      "cardHolderName": "John Doe",
      "responsible": {
        "name": "John Doe",
        "email": "user@example.com"
      },
      "type": "PHYSICAL",
      "createdAt": "2025-09-15T14:30:00.000Z",
      "updatedAt": "2025-09-20T10:00:00.000Z",
      "status": "ACTIVATED",
      "expirationDate": "2028-12-31T23:59:59.000Z",
      "name": "John Doe",
      "costCenter": {
        "id": "example_string",
        "name": "Marketing"
      },
      "formattedExpirationDate": "12/2028",
      "purpose": "FREE"
    }
  ],
  "nextPageStartKey": "eyJvZmZzZXQiOjB9",
  "limit": 10
}
GET
/credit-cards/v1/cards
GET
Bearer Token
Bearer Tokenstring
Required

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}
query
emailstring

Email of the person responsible for the card.

query
statusstring

Card status.

Options: ACTIVATED, BLOCKED, CANCELLED, INACTIVATED
query
typestring

Card type.

Options: PHYSICAL, VIRTUAL
query
productNamestring

Card product name.

query
last4string

Last 4 digits of the card number.

query
nextPageStartKeystring

Opaque pagination token from the previous response. Pass it back unchanged to fetch the next page.

query
limitinteger

Maximum number of cards per page. Minimum: 1.

Min: 1
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Bearer token from OAuth 2.0 client credentials. Format: Bearer {token}

Query Parameters

emailstring

Email of the person responsible for the card.

statusstring

Card status.

Allowed values:ACTIVATEDBLOCKEDCANCELLEDINACTIVATED
typestring

Card type.

Allowed values:PHYSICALVIRTUAL
productNamestring

Card product name.

last4string

Last 4 digits of the card number.

nextPageStartKeystring

Opaque pagination token from the previous response. Pass it back unchanged to fetch the next page.

limitinteger

Maximum number of cards per page. Minimum: 1.

Responses

itemsarray
Required

List of cards.

nextPageStartKeystring

Next page token. If absent, there is no next page. Pass to nextPageStartKey.

limitinteger

Items per page.