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.
Body
Request body to create a transaction at cashfree using payment_session_id
.
Unique identifier for the payment session, returned in the response of the Create Order API.
"session__CvcEmNKDkmERQrxnx39ibhJ3Ii034pjc8ZVxf3qcgEXCWlgDDlHRgz2XYZCqpajDQSXMMtCusPgOIxYP2LZx0-05p39gC2Vgmq1RAj--gcn"
Payload for different payment methods is given below.
Send as true if the customer has given consent to save or tokenise the card; otherwise, send as false.
This is required if any offers needs to be applied to the order.
"faa6cc05-d1e2-401c-b0cf-0c9db3ff0f0b"
Response
Order Pay response once you create a transaction for that order.
Total amount payable.
Payment identifier created by Cashfree
One of ["upi", "netbanking", "card", "app", "cardless_emi", "paylater", "banktransfer"].
netbanking
, card
, upi
, app
, cardless_emi
, paylater
, banktransfer
The channel that was requested. One of ["link", "post", "collect", "qrcode", "podQrCode"].
link
, post
, collect
, qrcode
, podQrCode
One of ["link", "post", "custom", "form"]. For Card payments, "link" means you need to redirect the user to data.url
page and "post" means you need to render Native OTP UI on your end to collect the OTP and then submit OTP to data.url
.
link
, post
, custom
, form
The data object of Order Pay API.