Skip to navigation

Retrieve a card

Returns a single card.

Pass ?extend=cardToken to include an ephemeral cardToken in the response for revealing sensitive card details client-side. Pass ?extend=cardDetails to include the full card number, CVV and expiration in the response. Full card details are available only on supported card issuers; on other issuers the request fails with 422. Only an ACTIVE card can be expanded; any other status returns 422 naming the card’s current status. A card added from an external account has no details to reveal and also returns 422.

Requires ReadOnly role.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Path parameters

cardIdstringRequiredformat: "uuid"
The card's unique identifier.

Query parameters

extendenumOptional

Pass cardToken for an ephemeral key that reveals sensitive card details client-side, or cardDetails for the full card number, CVV and expiration in the response.

Allowed values:

Response

Card retrieved.
idstringformat: "uuid"
The card's unique identifier.
typeenum
The card form factor.
Allowed values:
companyobject
A summary of the company that owns the card.
statusenum
The card's current status.
userobject
A summary of the cardholder.
nicknamestring
A display name for the card.
cardNumberstringOptional

The masked card number (last 4 digits only).

shippingSpeedenumOptional
Shipping speed for a physical card. Present only for physical cards.
Allowed values:
policyobjectOptional

The spending controls applied to a card. At least one spending limit (transaction, daily, monthly, or total) must be specified when creating a card.

cardTokenobjectOptional

Credentials for revealing sensitive card details client-side. Returned only when extend=cardToken is requested.

cardProgramobjectOptional
The card program this card is issued against.
cardDetailsobjectOptional

The full card number, CVV and expiration. Returned only when extend=cardDetails is requested. This is cardholder data; never log or store it.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error