Create a Subscription
Use this API to create a subscription by specifying the plan ID or plan Info and customer details.You can also specify the bank account information when you create the subscription to ensure that mandates are created via the specified bank account only. TPV is applicable only for eNACH and UPI Autopay. The Auth Link received in the response will be redirected to a link hosted on cashfree.com. Once the authorization is complete, your customer will be redirected to returnUrl. Store the subReferenceId as this is the unique ID generated by Cashfree Payments for the subscription and will be required for subsequent operations.
Headers
Client ID provided by Cashfree.
Client Secret provided by Cashfree.
Body
Authorization amount for subscription.
Customer's email address.
Customer's name for the subscription.
Customer's phone number.
Expiry date of the subscription.
Notification channels for updates.
Details of the payer's account if TPV is enabled.
Information regarding the plan.
URL to which the customer is redirected after the subscription process.
Details regarding payment split between different vendors.
Unique ID for the subscription.
Flag to enable TPV (Third Party Verification).
Was this page helpful?