Create Subscription
Use this API to create a new subscription.
Authorizations
Client app ID. You can find your app id in the Merchant Dashboard.
Client secret key. You can find your secret in the Merchant Dashboard.
Headers
API version to be used. Format is in YYYY-MM-DD
Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
Body
Request body to create a new subscription.
Subscription customer details.
A unique ID for the subscription. It can include alphanumeric characters, underscore, dot, hyphen, and space. Maximum characters allowed is 250.
1 - 250
Expiry date for the subscription.
Time at which the first charge will be made for the subscription after authorization. Applicable only for PERIODIC plans.
Payment splits for the subscription.
Tags for the subscription.
Response
The response returned for Get, Create or Manage Subscription APIs.
Details of the authorization done for the subscription. Returned in Get subscription and auth payments.
Cashfree subscription reference number
Subscription customer details.
The response returned for Get, Create and Manage Plan APIs
Time at which the subscription will expire.
Time at which the first charge will be made for the subscription. Applicable only for PERIODIC plans.
A unique ID passed by merchant for identifying the subscription.
Subscription metadata.
Payment splits for the subscription.
Subscription Session Id.
Status of the subscription.
Tags for the subscription.
Was this page helpful?