GET
/cards/{card_id}/detailsRetrieve sensitive card details
Retrieves a card's sensitive details, including its primary account number, expiration date, verification code, and PIN. Use card_id to identify the card whose details you need. To display these details without accessing them directly, use the embedded card iframe.
card_idstringrequired
The identifier of the card to retrieve sensitive details for.
200Returns the card's sensitive details, including its identifier, primary account number, expiration month and year, verification code, and PIN.
card_idstringrequired
The identifier for the Card for which sensitive details have been returned.
expiration_monthintegerrequired
The month the card expires in M format (e.g., August is 8).
expiration_yearintegerrequired
The year the card expires in YYYY format (e.g., 2025).
pinstringrequired
The 4-digit PIN for the card, for use with ATMs.
primary_account_numberstringrequired
The card number.
typestringrequired
A constant representing the object's type. For this resource it will always be `card_details`.
verification_codestringrequired
The three-digit verification code for the card. It's also known as the Card Verification Code (CVC), the Card Verification Value (CVV), or the Card Identification (CID).
4XXReturned when the request fails with a client error.
5XXReturned when the request fails with a server error.
Error handling
The card_id path parameter must identify the card whose sensitive details you want to retrieve.