post https://sandbox.cashfree.com/pg/orders
Use this API to create orders with Cashfree from your backend and get the payment link. To use this API S2S flag needs to be enabled from the backend. In case you want to use the cards payment option the PCI DSS flag is required, for more information email us at "[email protected]".
Sandbox and Production Endpoint
Sandbox Endpoint - https://sandbox.cashfree.com/pg
Make sure you generate credentials in the test dashboard.Production Endpoint - 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.
Response Codes
You can check the list of error codes sent by Cashfree here - Error Codes