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.
Client ID provided by Cashfree.
"14443641"
Client Secret provided by Cashfree.
"a477ed7e"
Unique ID for the subscription.
"DemoSubscriptionq"
Customer's name for the subscription.
"John Doe"
Customer's phone number.
"9999900000"
Customer's email address.
URL to which the customer is redirected after the subscription process.
"www.google.com"
Authorization amount for subscription.
10
Expiry date of the subscription.
"2024-12-02 09:20:12"
Flag to enable TPV (Third Party Verification).
true
Details of the payer's account if TPV is enabled.
Information regarding the plan.
Notification channels for updates.
["EMAIL", "SMS"]Details regarding payment split between different vendors.