Web Integration
This is a new API based integration provided by Cashfree. If you are integrating with Cashfree PG for the first time, we suggest that you use this integration.
In our latest version 2022-09-01, we have revamped Cashfree Payment Gateway integration to make it secure for merchants & customers while keeping it easy for merchants to integrate and customize the payment flows. If you plan to integrate with Cashfree APIs we recommend you try out these APIs. Access on sandbox is provided for everyone and you can use the following endpoint - https://sandbox.cashfree.com/pg
Try out our new Web-Checkout flow here -
INTEGRATION TOOLKIT
Try our Integration Try the API's using PostmanThis API integration allows you the flexibility to create a payment experience as you want. You could either use our prebuilt checkout page or even build a custom page for your merchants using these APIs.
The integration can be completed in three steps and should not take more than 30 minutes.
- Create Order Step 2 in the image below
- Pay Order Step 3 in the image below
- Handle redirection Step 5 in the image below

Snapshot of integration using JS SDK

Resources
- You can either try out the APIs from our postman collection
- Or you can also use the following user interface to try out the APIs
Ask a question about Integration
You can ask questions and participate in discussions about Cashfree PG API in the Cashfree Discord channel.
Updated about 2 months ago
We will start with the (2) in the above diagram. You need to create an order with Cashfree.