Find card
Find a card by its ID. The cardid can be either the internal UID (starting with 'crd') or your own external ID.
This endpoint returns both active and soft-deleted cards from the merchant's directory.
card_id
string
Required. The card ID (either internal UID starting with 'crd_' or your external ID) to find.
| Attribute | Description |
|---|---|
card_idstring
|
The ID of the card. |
first_digitsstring
|
The first 6 digits of the card number. |
last_digitsstring
|
The last 4 digits of the card number. |
lengthnumber
|
The length of the card number. |
expiration_datestring
|
The expiration date of the card (MM/YY format). |
cardholder_namestring
|
The name of the cardholder. |
schemestring
|
The card scheme (e.g., VISA, MASTERCARD). |
created_atnumber
|
The Unix timestamp (seconds since epoch) when the card was created. |
deleted_atnumber
|
Nullable. The Unix timestamp (seconds since epoch) when the card was deleted. |
deletableboolean
|
Whether the card can be deleted. A card is deletable if it is not the default card, or if it is the default card but it is the only card for the contact. |
NOT_FOUND
No card found with the provided card_id in this merchant's directory. The card may not exist or may not belong to the merchant's directory.
UNHANDLED_ERROR
This error occurs when the server encounters an unexpected internal error that it cannot handle gracefully. This typically happens due to bugs, infrastructure issues, or edge cases that weren't anticipated during development.
INVALID_ARGUMENTS
This error occurs when the request contains invalid or missing parameters. Common cases include missing required fields, or values that don't match the expected format or type.
BAD_VERSION
This error occurs when making requests to an API version that does not exist. This commonly happens when using an outdated SDK or when the API version specified in the request URL is incorrect.
