Fetch Alt ID and Cryptogram API
This API is used to Fetch Network Alt ID and Cryptogram (TAVV) for Guest Checkout transactions, using the original card number collected from user
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
Merchant ID provided by Juspay
Example:-
merchant-id
application/x-www-form-urlencoded
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
Provide actual card details in an encrypted (Algorithm: RSA-OAEP-256
ENC: A128GCM) payload generated using RSA Keys.
Refer to the following doc to understand what encryption is required - https://docs.juspay.in/resources/docs/card-network-tokenization/card-details-encryption
Acceptable Card Brands: VISA, MASTERCARD, AMEX, DINERS, RUPAY
Pass the 16-19 digit card number
Pass it in YYYY format
Pass it in MM format
Provide the following order-related parameters.
Pass the order amount
Pass the currency in which transaction is supposed to happen.
For Rupay, the AltID is generated post successful Authentication hence this field is required only for Rupay cards processing.
Value needed incase you have master merchant - submerchant model implementation. Pass the identifier that denotes a submerchant.
Note: Travel Networks can use it to pass airline codes.
Unique reference Id that can be passed by merchant; else it is generated by Juspay
key uuid returned from the Dashboard when the public key is uploaded. Pass the key uuid incase you have multiple Public-Private key pairs published on dashboard.
Pass true if you want us to return the card data shared in request body. Applicable incase of International cards where ALT_ID is not relevant.
Example:- true, false
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

