Add Card
Add a credit card or debit card of a customer to JusPay Locker. customer_id parameter identifies the customer to whom this card belongs.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Unique identifier for the merchant. This is the Merchant ID provided by Juspay. The value is case sensitive.
Passing this value will help us route efficiently at network level.
Example:- x-merchantid: testaccount
The token obtained during tokenize card API. If token is used within 15 minutes, then card_number, card_exp_year, and card_exp_month are not required. merchant_id and customer_id are required in either case.
Merchant ID which represents the merchant storing the card
Customer ID which represents the user uniquely
Email address of the customer
A valid card number.
Required only if token is not used in the request.
Expiry year of the card (Format: yyyy) Example: 2020
Required only if token is not used in the request.
Expiry month of the card (Format: mm) Example: 06
Required only if token is not used in the request.
Cardholder name
A tag or a label for the card so that the user can easily identify the card
c75a9fca-1121-418e-973c-47d5c4971456
df2c47951a71e4486827039fad7b039a
c7uapov1smt3a0rd5f9b1l21i
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

