API endpoints
| Environment | Base URL |
|---|---|
| Test | https://sandbox.cashfree.com/pg |
| Production | https://api.cashfree.com/pg |
| Latest version | v5, 2025-01-01 |
Authentication
All Subscription APIs require authentication. Refer to the Authentication guide for detailed information on API authentication for merchants and partners.Subscription APIs
- Plans and mandates
- Payments and refunds
Plan management
Define subscription terms including billing frequency, amount, and recurring payment parameters.
Retrieve details of an existing subscription plan using plan ID.
Mandate (Subscription) management
Create a subscription mandate with customer details and payment method authorization.
Retrieve subscription details using subscription ID or subscription reference ID.
Update subscription status to activate, pause, or cancel a customer mandate.
Upload physical NACH registration forms for signature-based mandate creation.
Fetch available payment methods and configurations for subscription creation.
Generate downloadable transaction summary reports for a subscription.
Supported payment methods
Cashfree Subscriptions supports the following payment methods for recurring payments:- Bank account (e-Mandate): Net banking, debit card, or Aadhaar-based authorization with up to ā¹1,00,00,000 mandate amount
- Bank account (Physical mandate): Signature-based NACH mandate for accounts without digital access
- UPI Autopay: Recurring payments via UPI applications with ā¹15,000-ā¹1,00,000 limits based on authentication
- Standing Instructions (SI) on cards: Credit or debit cards (Indian and International) with flexible amount limits
Getting started
Complete the following steps to set up subscriptions using Cashfree APIs:- Create a Plan (optional): Define your subscription terms including billing frequency and amount
- Create a Subscription: Set up a mandate with customer details and payment method
- Customer Authorization: Customer authorizes the recurring payment through their chosen method
- Raise Payments: Initiate recurring charges as per the subscription schedule
- Manage Subscriptions: Update subscription status, handle payment retries, and process refunds