Submit or Resend OTP
Use this API to submit or resend OTP if you use Native OTP for authentication of card payments
Refer to the sample responses below:
Submit OTP
Submit OTP
If correct OTP is submitted -
If incorrect OTP is submitted -
Resend OTP
Resend OTP
Headers
API version to be used. Format is in YYYY-MM-DD.
Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to Cashfree.
An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
Path Parameters
The Cashfree payment or transaction ID.
Body
Request body to submit or resend OTP in Native OTP flow.
To use this API, Native OTP needs to be enabled for your account.
Response
OK
Submit or resend OTP API response.