Update Card
Update nickname and name_on_card for the stored card
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
Card token obtained from /card/list API
Customer ID against which the card is stored. This is same as the object_reference_id using which was customer was created
Pass a new value, if name on card needs to be updated, alphabet and spaces allowed with length limit of 64 chars.
Pass a new value, if nickname needs to be updated, alphabet and spaces allowed with length limit of 64 chars.
c75a9fca-1121-418e-973c-47d5c4971456
Card details updated
SUCCESS
true
BAD_REQUEST
Invalid customer id
true
BAD_REQUEST
Nothing to update
true
BAD_REQUEST
Invalid card token
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

