List stored cards
List all the cards stored for a customer. This API gives back only tokens and other metadata relevant to the cards stored in Juspay Locker.
Ensure a successful Create Customer API was called before this and use customer_id (or) object_reference_id obtained in the response.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
This is a boolean variable and accepts true/false. If set to true, then the card eligibility check for ATM PIN payments will be done.
Customer ID which represents the user uniquely. This is same as the object_reference_id using which customer was created
Customer Id given in the request
Merchant id associated with Juspay
Array of stored cards that belongs to the given user represented by the Customer ID. Each member of the array is an associative array that represents a stored card of the user.
Token representing the card. Payment has to be initiated using this token. Tokens are by definition short lived and so, please do not cache them in your system. Expired tokens will lead to transactions being declined.
A reference identifier that doesn’t change for the stored card. Use this identifier to store any metadata that you wish. For example, you can store card type or card bin or even transaction data using this reference
A string that uniquely identifies the card across the board. When the same card is stored across multiple accounts, same fingerprint will be returned. This can be used to identify duplicates.
Masked card number that can be displayed to the customer.
First 6 digits of the card
Year of expiry of the card
Month of expiry of the card
Indicates if the card is either CREDIT or DEBIT. Please note that this information is inferred. Not all cards will have this information.
Indicates the bank which issued the card. This again is not available all the time. We make our best effort to get this information for all cards.
Indicates the name of the card switch provider.Please note that this information is inferred
Cardholder name given while storing the card
Returns the given nickname while storing the card
Indicates whether the stored card is expired or not
Indicates if the card is eligible for ATM PIN payments.
Indicates if the tokenised card is eligible for cvv-less payments. Merchants can stop collecting the CVV value for eligible tokens.
List of gateways which are available for cvv-less token transactions. Juspay's dynamic routing will be applied among these gateways. Alternatively, a Gateway ID pertaining to one of the listed gateways can be passed in Create Order API to force route the transaction.
Detailed card type classification (e.g. CREDIT, DEBIT)
Provider responsible for storage of the card.
Category of the provider managing the stored card (e.g., CONTAINER).
Numeric ISO country code of the card issuer.
Country where the card issuing bank is located.
error
access_denied
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

