Fetch Token and Cryptogram
This API is used to fetch cryptogram and token for processing token repeat transactions.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:- Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Please pass merchant-id given for your merchant
Example:- application/json
Pass the date in YYYY-MM-DD format
Example:- 2023-01-01
We recommend passing the customer_id as the x-routing-id. If the customer is checking out as a guest, you can pass an alternative ID that helps track the payment session lifecycle. For example, this could be an Order ID or Cart ID.
This ID is associated with the customer. It plays a key role in ensuring consistency and maintaining connections across different systems. If you fail to pass the same x-routing-id for the same customer in all related API calls, it could lead to issues with API functionality. Therefore, it’s crucial that you use the same x-routing-id for all requests tied to the same customer.
Example:- customer_1122
It is a unique reference number associated with each card_number.
It is the ID with which merchant refers to a customer object.
Conditional - Required only for reseller based workflows
Example:- true
Example:- Stored Card Entry Not Found
Example:- Not Found
Example:- error
Example:- access_denied

