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.Documentation Index
Fetch the complete documentation index at: https://www.cashfree.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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 and payments
- Links and refunds
- Vault and offers
- Split and settlements
Orders
Create an order to collect payments from your customers.
Get status and details of an order.
Terminate an order that is no longer needed.
Fetch extended data for an order.
Update extended data for an order.
Customers
Create a customer for Token Vault and saved instruments.
Payments
Initiate a payment for an order using the chosen payment method.
Submit or resend OTP in the native OTP flow for card payments.
Capture or void a pre-authorised transaction.
Get status and details of a single payment.
Get status and details of all payments for an order.
Testing APIs in Postman
Documentation Walkthrough