Authenticate card payments natively on your own website or app.
Bank ACS page experience v/s Cashfree Native OTP experience
Native OTP experience on Cashfree checkout
Initiate Native OTP request
"channel": "post"
to request for Native OTP flow for authentication.Collect OTP
"action": "post"
. The merchant should then render Native OTP UI to collect the OTP and submit it on the link provided in data.url
field for authentication.Handling API response for Native OTP flow
channel = 'post'
is sent in Order Pay API request for Native OTP flow:channel = "post"
and action = "post"
in response → render Native OTP UI and submit OTP to data.url
; If user clicks on redirect to bank page, then redirect the user to data.redirect_to_bank
.channel = "post"
and action = "link"
in response → redirect the user to data.url
or data.redirect_to_bank
(both will have the same URL).channel = 'link'
is sent in Order Pay API request for non-Native OTP flow:data.url
which will be the bank ACS page or Cashfree ACS page if Cashfree ACS is enabled; data.redirect_to_bank
won’t be present in this case.Native OTP experience with Cashfree’s seamless Native OTP SDK
order_id
. For reconciliation of order status, always use the Get Payments for an Order API. If any transaction for the order is successful, the order status should be considered paid.Submit OTP
"action": "RESEND_OTP"
."channel": "link"
to request Cashfree ACS for authentication → redirect the user to data.url
to open Cashfree ACS page. Cashfree will collect and submit the OTP for authentication.