Resend OTP
This will be used to resend OTP request for a transaction. There will be max OTP send limit set for each provider configured.
challenge_id: Challenge id generated against the transaction.id: Unique id generated for the transaction while generate OTP API call.
Consists of two parts.
Username: API Key obtained from Juspay dashboard
Password: Empty string
Example:-
MUQ2QUZEQzhFQTY0OUU5QTIxQzNFNTQwNkFDMEZCOg==
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
Transaction Id
Example:- txn_36dc6eada1d0463da91dc56c8262a8c3
Challenge Id
Example:- ch_xyz
OrderID for which the payment is being started.
Transaction ID for the payment attempt.
Status of the transaction. PENDING_VBV indicates that the transaction requires authentication to complete. Please do not validate this at your end.
Contains the payment authentication details.
Contains the authentication details.
HTTP Method for authentication. Can be one of GET or POST
URL to which the user has to be taken to for completing the authentication
Present only when method is POST. Parameter map that has to be sent along with the URL for authentication.
Unique id generated for the transaction.
Authentication id generated against the transaction for a given order.
Authentication method used. In this case it’s ‘OTP’
Card first 6 digit.
Issuer name of the card used for transaction.
Number of times otp sent.
Maximum limit for sending otp.
Current attempt for OTP validation.
Maximum number of time OTP validation can be done for a given transaction.
Invalid Request
max_limit_exceeded
Max OTP send limit exceeded
Have questions?
- Need help? Contact support
- LLM? Read llms.txt

