While doing card payments, customers are redirected to the bank page to collect OTP. However, you can opt for collecting OTP at your page and submitting it to Cashfree using our [Authentication APIs](🔗).

Note

This feature is only enabled on request. Please reach out to us at [[email protected]](🔗) to get this feature.

For seamless OTP payments, follow these steps -

  1. While calling [order pay](🔗) API, pass the ‘channel’ object for card payments as ‘post’. Here's an example request and response for the same.


  1. If the native OTP flow is enabled for the account, response will return action as 'post' and an authentication API in url which you need to call to submit the OTP.

Important!

This API is probabilistic in nature, we do our best to serve seamless response, however, it might be possible that it fall back to regular link based response. In that case, action would be "link" and you'll need to redirect to bank's page which is provided in url. Make sure to handle this case as well.

  1. Collect the OTP from your page and submit it to cashfree using Authentication API - [Submit or Resend OTP](🔗)

Difference between **Bank OTP Payment** and **Seamless OTP Payment**

3006


Bank OTP Payment - Collection of OTP at bank's page

2148


Seamless OTP Payment - Collection of OTP at merchant's page

### Banks supporting Seamless OTP Payments

Bank NamePayment ModeCard Type
STATE BANK OF INDIACREDIT CARDvisa
STATE BANK OF INDIADEBIT CARDvisa
STATE BANK OF INDIADEBIT CARDmastercard
ICICI BANKCREDIT CARDvisa
AXIS BANKCREDIT CARDvisa
HDFC BANKCREDIT CARDvisa
HDFC BANKCREDIT CARDmastercard
ICICI BANKDEBIT CARDvisa
HDFC BANKDEBIT CARDmastercard
AXIS BANKCREDIT CARDmastercard
AXIS BANKDEBIT CARDvisa
HDFC BANKDEBIT CARDvisa
KOTAK MAHINDRA BANKCREDIT CARDvisa
ICICI BANKCREDIT CARDmastercard
IDFC FIRST BANKCREDIT CARDvisa
ICICI BANKDEBIT CARDmastercard
AXIS BANKDEBIT CARDmastercard
IDFC FIRST BANKDEBIT CARDvisa