Skip to main content
GET
TypeScript

Autorisationer

Authorization
string
header
påkrævet

An Account API key, an App API key, an account access token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

payout:account:read

Overskrifter

Api-Version-Date
string

Pins the request to a dated API version.

Eksempel:

"2026-11-17"

Sti-parametre

id
string
påkrævet

Card ID to retrieve, prefixed icrd_.

Forespørgselsparametre

account_id
string

The owning account ID (a biz_ identifier). Provide this or user_id.

user_id
string

The owning user ID (a user_ identifier). Provide this or account_id.

Svar

card retrieved with its PIN by the assigned cardholder

billing
object | null
påkrævet

The billing address.

canceled_at
string<date-time> | null
påkrævet

When the card was canceled.

Eksempel:

"2026-01-01T12:00:00.000Z"

created_at
string<date-time> | null
påkrævet

When the card was created.

Eksempel:

"2026-01-01T12:00:00.000Z"

digital_wallets
enum<string>[] | null
påkrævet

The digital wallets the card has been added to. List Cards, Update Card, and webhook payloads return null, as does Retrieve Card when the wallets cannot be retrieved.

Tilgængelige muligheder:
apple_pay,
google_pay
expiration_month
string | null
påkrævet

Card expiration month.

Eksempel:

"12"

expiration_year
string | null
påkrævet

Card expiration year.

Eksempel:

"2027"

id
string
påkrævet

Card ID, prefixed icrd_.

Eksempel:

"icrd_xxxxxxxxxxxxxx"

issued
boolean
påkrævet

true once the issuer has issued the card. false for an invited card still waiting on its cardholder's onboarding or review, or one the issuer declined; it has no card number until it is issued.

Eksempel:

true

last4
string | null
påkrævet

Last four digits of the card number. null for pending invitation cards.

Eksempel:

"4242"

limit
object | null
påkrævet

The spending limit configuration.

name
string | null
påkrævet

Card display name.

Eksempel:

"Bay rent card"

object
enum<string>
påkrævet
Tilgængelige muligheder:
card
Eksempel:

"card"

spent_last_month
integer | null
påkrævet

Total spend in the last 30 days, in cents.

Eksempel:

1234

status
enum<string> | null
påkrævet

The card status. denied means the issuer declined the cardholder, so the card will never be issued.

Tilgængelige muligheder:
null,
active,
frozen,
canceled,
invited,
denied
Eksempel:

"active"

type
enum<string> | null
påkrævet

The card type.

Tilgængelige muligheder:
null,
virtual,
physical
Eksempel:

"virtual"

user_id
string | null
påkrævet

Cardholder user ID, prefixed user_, when assigned.

Eksempel:

"user_xxxxxxxxxxxxxx"

secrets
object | null

Sensitive card details. Present only on GET /cards/:id for active cards; null when the card is inactive or details cannot be retrieved.