Skip to main content
Cashfree’s RESTful Payment Gateway API provides a robust and flexible interface for integrating payment solutions into your applications. The API uses predictable resource-oriented URLs, accepts JSON request bodies, returns JSON-encoded responses, and supports standard HTTP response codes and authentication. SDKs in popular programming languages help you integrate faster with pre-built handling for authentication, request or response formatting, and error handling.
We strongly recommend using SDKs to streamline the integration process and ensure optimal performance and security.

Key features

The key features offered by Cashfree’s Payment Gateway APIs are:
  • Orders and payments: Create orders, collect payments via multiple methods (cards, UPI, netbanking, wallets), and retrieve order and payment status.
  • Payment links and refunds: Generate shareable payment links, process refunds, and manage refund status.
  • Token Vault: Save cards and tokenize them in a PCI-compliant manner; generate network tokens for use across acquiring banks.
  • Easy-Split: Split payments between vendors, configure static or post-payment splits, and manage settlements.
  • Subscriptions: Create plans and mandates, raise and manage recurring payments with support for UPI, card, and E-Mandate.
  • Eligibility and offers: Check eligible payment methods, cardless EMI, paylater, and offers for orders; create and manage offers.
  • Settlements and disputes: Fetch settlements, reconcile, and handle chargebacks and disputes via APIs.

Orders

Create Order

Create an order to collect payments from your customers.

Get Order

Get status and details of an order.

Terminate Order

Terminate an order that is no longer needed.

Get Order Extended

Fetch extended data for an order.

Update Order Extended

Update extended data for an order.

Customers

Create Customer

Create a customer for Token Vault and saved instruments.

Payments

Pay

Initiate a payment for an order using the chosen payment method.

Authenticate

Submit or resend OTP in the native OTP flow for card payments.

Authorise

Capture or void a pre-authorised transaction.

Get Payment

Get status and details of a single payment.

Get Payments for Order

Get status and details of all payments for an order.

The videos below walk through testing Payment Gateway APIs in Postman and using this API reference.

Testing APIs in Postman

Documentation Walkthrough

Getting started

Use the following resources to begin implementing Payment Gateway APIs:

Payment SDK

Integrate the Payment Gateway with web, mobile, and server SDKs for orders, checkout, and tokenisation

API rate limits

View default limits per minute, monitor usage on the dashboard, and request higher limits when needed