---
title: "List cards"
method: GET
path: "/v2/cards"
---

# List cards

`GET /v2/cards`

## Request

- Base URL: `https://api.slash.com`
- URL: `https://api.slash.com/v2/cards`
- Auth: API key in header `X-API-Key`

List the cards the caller can see, physical cards first, then by name. Closed cards are left out unless `status` asks for them.

## Query parameters

- `cursor` string
- `limit` integer
- `status` string[]
- `type` 'virtual' | 'physical'
- `accountId` string
- `virtualAccountId` string
- `cardGroupId` string
- `cardholderUserId` string
- `search` string

## Response `200`

A page of cards.

- object
  - `items` Card[], required
    - `id` string, required: Card id with the `c_` prefix.
    - `type` 'virtual' | 'physical', required
    - `status` 'pending' | 'awaiting_activation' | 'active' | 'paused' | 'inactive' | 'closed', required: `pending`: being issued, or waiting for a physical card's fee. `awaiting_activation`: a physical card its holder has not activated. `active`: approves authorizations. `paused`: declines them. `inactive`: deactivated by Slash or the issuer; can only be closed. `closed`: permanent.
    - `name` string, required
    - `last4` string: Absent on physical cards until they are activated.
    - `expiryMonth` integer
    - `expiryYear` integer
    - `accountId` string, required: Account id with the `sa_group_` prefix.
    - `virtualAccountId` string: Virtual account the card spends from, with the `subaccount_` prefix.
    - `cardGroupId` string: Card group id with the `card_group_` prefix.
    - `cardProductId` string: Card product id with the `card_product_` prefix.
    - `cardholderUserId` string: The user who holds the card, with the `u_` prefix.
    - `controls` CardControls: What the card may spend. The controls of its card group apply too. Replaced whole on update; `null` clears it.
      - `limit` CardControlsLimit: How much may be spent per period.
        - `amount` UsdMoney, required: A positive USD amount expressed in cents.
          - `amount` integer, required: Amount in cents. For example, `1250` represents USD 12.50.
          - `currency` 'USD', required
        - `period` 'daily' | 'weekly' | 'monthly' | 'yearly' | 'lifetime', required: Every period but `lifetime` resets at its boundary in `timezone`; `lifetime` never resets.
        - `startDate` string, date: Day the first period starts, today or earlier. Defaults to the start of the current period. Not used by `daily`.
        - `timezone` string: IANA timezone the period boundaries use. Defaults to UTC.
      - `transactionLimit` UsdMoney: A positive USD amount expressed in cents.
        - `amount` integer, required: Amount in cents. For example, `1250` represents USD 12.50.
        - `currency` 'USD', required
      - `merchantCategories` CardControlsRestriction: With `allow`, only the listed values are approved. With `block`, the listed values are declined.
        - `mode` 'allow' | 'block', required
        - `values` string[], required
      - `merchantCategoryCodes` CardControlsRestriction: With `allow`, only the listed values are approved. With `block`, the listed values are declined.
        - `mode` 'allow' | 'block', required
        - `values` string[], required
      - `merchants` CardControlsRestriction: With `allow`, only the listed values are approved. With `block`, the listed values are declined.
        - `mode` 'allow' | 'block', required
        - `values` string[], required
      - `countries` CardControlsRestriction: With `allow`, only the listed values are approved. With `block`, the listed values are declined.
        - `mode` 'allow' | 'block', required
        - `values` string[], required
      - `recurringPaymentsOnly` boolean: Approve recurring payments only. An Enterprise feature.
    - `singleUse` boolean, required: Whether the card closes after its first transaction. Virtual cards only.
    - `billingAddress` Address
      - `line1` string, required
      - `line2` string
      - `city` string, required
      - `state` string
      - `postalCode` string
      - `countryCode` string: ISO 3166-1 alpha-2 country code.
    - `physical` object: Present on physical cards.
      - `design` 'plastic' | 'silver_metal' | 'gold_metal', required
      - `secondLine` string: The line embossed under the holder's name.
      - `shipping` object
        - `address` Address, required
          - `line1` string, required
          - `line2` string
          - `city` string, required
          - `state` string
          - `postalCode` string
          - `countryCode` string: ISO 3166-1 alpha-2 country code.
        - `service` 'standard' | 'express' | 'priority', required
        - `status` 'pending' | 'shipped' | 'canceled', required: `pending`: ordered, not yet shipped.
        - `carrier` 'fedex' | 'usps'
        - `trackingNumber` string
        - `trackingUrl` string
        - `shippedAt` string, date-time
    - `closedReason` 'no_longer_needed' | 'lost_or_stolen' | 'never_arrived' | 'damaged' | 'closed_by_slash'
    - `createdAt` string, date-time, required
    - `closedAt` string, date-time
  - `metadata` PaginationMetadata, required
    - `nextCursor` string: Opaque cursor for the next page. Omitted on the final page.
    - `count` integer, required: Number of items in this page.

## Other responses

- `400`: - `invalid_request (request shape)` — The body, query, or headers failed validation, or a required header is missing. `details` has one entry per failing location, keyed by JSON pointer or header name.
- `401`: - `unauthorized` — API key authentication is missing or invalid.
- `403`: - `forbidden` — The credential is not permitted to perform this action on the resource. When the resource is a field of the request, `details` names that `field` and the `id` it received. - `forbidden (legal entity)` — The credential is not permitted to act for the selected legal entity. - `not_available` — Public API v2 is not yet available. Use [Public API v1](https://docs.slash.com/introduction) in the meantime. - `user_api_key_required` — The API key is scoped to a legal entity rather than a user. Every v2 request needs a user API key, created under Settings → API keys in the Slash dashboard, together with the `x-legal-entity` header.
- `404`: - `not_found` — No resource matches the identifier. When the identifier is a field of the request, `details` names that `field` and the `id` it received.
- `429`: The request exceeded the applicable rate limit. The response body is plain text, not the error object; clients must not depend on its wording.
- `500`: - `internal` — Slash could not complete the request. Quote `referenceId` when contacting Slash support.

## Changes

- **2026-10-16** `8b5d371ffeea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/slashfi/apis/slash-public-api/changes/v2/cards/get.md)

---

[API](https://skmtc.dev/slashfi/apis/slash-public-api.md) - [All operations](https://skmtc.dev/slashfi/apis/slash-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slashfi/apis/slash-public-api/revisions/eaed2d63c9e2?raw)
