Create Order

Order

An order is an entity which has a amount and currency associated with it. It is something for which you want to collect payment for.
Use this API to create orders with Cashfree from your backend to get a payment_sessions_id.
You can use the payment_sessions_id to create a transaction for the order.

📘

Sandbox and Production End Point

Sandbox End Point - https://sandbox.cashfree.com/pg
Make sure you generate credentials in the test dashboard.

Production End Point - https://api.cashfree.com/pg
To process live payments, make sure you use credentials from the live dashboard. Do not share your secret key with anyone.

Partner Authentication for API calls - More details available here.

Response Codes

You can check the list of error codes sent by Cashfree here - Error Codes

Callback
Language
Authorization
URL
Click Try It! to start a request and see the response here!