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%40gmail.com&status=ACTIVATED&type=PHYSICAL&productName=Marketing%20Ads&last4=4821&nextPageStartKey=example_string&limit=10" \
  -H "Content-Type: application/json" \
  -H "Signature-Input: example_string" \
  -H "Signature: example_string" \
  -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
Base URLstring

Target server for requests. Edit to use your own host.

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
header
Signature-Inputstring

What was signed and the signature parameters, in the RFC 9421 format. A credential with a public key must send it on every call, reads included, or the request is refused with 401. The signature covers the @method, @path, and @query components, and also content-digest when there is a body. created and alg are required, and created is valid for 300 seconds. The full format, with examples, is in Request Signing.

header
Signaturestring

The signature of the base defined by RFC 9421, in base64, between : and under the same label used in Signature-Input, for example sig=:SGVsbG8gd29ybGQ=:. It always goes together with Signature-Input.

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.

Example:
card-owner@gmail.com
statusstring

Card status.

Allowed values:ACTIVATEDBLOCKEDCANCELLEDINACTIVATED
typestring

Card type.

Allowed values:PHYSICALVIRTUAL
productNamestring

Card product name.

Example:
Marketing Ads
last4string

Last 4 digits of the card number.

Example:
4821
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.

Example:
10

Headers

Signature-Inputstring

What was signed and the signature parameters, in the RFC 9421 format. A credential with a public key must send it on every call, reads included, or the request is refused with 401. The signature covers the @method, @path, and @query components, and also content-digest when there is a body. created and alg are required, and created is valid for 300 seconds. The full format, with examples, is in Request Signing.

Signaturestring

The signature of the base defined by RFC 9421, in base64, between : and under the same label used in Signature-Input, for example sig=:SGVsbG8gd29ybGQ=:. It always goes together with Signature-Input.

Responses

itemsarray
Required

List of cards.

nextPageStartKeystring

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

limitinteger

Items per page.