Use this API to submit or resend OTP if you use Native OTP for authentication of card payments.
Submit_OTP
Resend_OTP
Error codes
| Code | Description | Type | Status |
|---|---|---|---|
action_missing | The action field is required but was not included in the request. | invalid_request_error | 400 |
cf_payment_id_missing | The cf_payment_id field is required but was not included in the request. | invalid_request_error | 400 |
API version to be used.
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.
The Cashfree payment or transaction ID.
Request parameters to submit or resend OTP if you use Native OTP for authentication of card payments.
Success response for submitting or resend OTP if you use Native OTP for authentication of card payments.
Success response for submitting or resending OTP.
Cashfree payment ID for which this request was sent.
The action that was requested.
SUBMIT_OTP, RESEND_OTP Status of this action - will be either success or failed. If the action is success, you should still call payment status API to verify the final payment status.
FAILED, SUCCESS Human readable message which describes the status in more detail.