To process any payment on Cashfree PG, the merchant needs to create an order in the cashfree system.
Order creation must happen from your backend (as this API uses your secret key). Please do not call this directly from your mobile application.
**Production** -> `
**Sandbox** -> `
Note:` Please see the description of the request below.
## **Order creation API**
If the order creation is successful you will receive a 200 response and the order entity in response. This order entity contains relevant details for the order.
We recommend that you store the following parameters at your end `
cf_order_id` , `
order_token`, and the `
Note:` The **`
order_token`** contains all the order details and has to be sent to the SDK while initiating the payment.
Please refer our [Order Creation] (https://docs.cashfree.com/docs/create-order) for more details regarding parameters and more.