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 -

This 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.


Snapshot of integration using JS SDK



  1. You can either try out the APIs from our postman collection
    Run in Postman
  2. 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.

What’s Next

We will start with the (2) in the above diagram. You need to create an order with Cashfree.