Use this API to create an auth or to raise a charge.
Card method
Enach Seamless Auth
UPI Link
UPI Collect
UPI QR code
Physical Nach Auth
Client app ID. You can find your app id in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
API version to be used. Format is in YYYY-MM-DD. API version to be used
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.
Request body to create a subscription payment.
The request to be passed for the create subscription payment API.
A unique ID passed by merchant for identifying the subscription.
A unique ID passed by merchant for identifying the subscription payment.
Payment type. Can be AUTH or CHARGE.
Session ID for the subscription. Required only for Auth.
The charge amount of the payment. Required in case of charge.
The date on which the payment is scheduled to be processed. This field is required for UPI and CARD payment modes. Cashfree stores timestamps in IST, but you can provide them in a valid ISO 8601 time format.
For IST this 2025-06-01T10:20:12+05:30 translates to 2025-06-01 10:20:12.
For UTC this 2025-06-01T10:20:12Z translates to 2025-06-01 15:50:12+05:30.
Please note that only the date component is considered. Any time value provided will be ignored.
Payment remarks.
Payment method. Can be one of ["upi", "enach", "pnach", "card"]. This field is not required when raising a charge. It is only mandatory when raising an authorisation. In the case of a charge, this field is ignored, and the charge will be created using the same payment method that was used for the original authorisation. payment method upi.
{
"upi": {
"channel": "link",
"upi_id": "john.doe@bank"
}
}response of created payment.
The response returned is Create Subscription Auth or Charge APIs.
Cashfree subscription payment reference number
The charge amount of the payment.
A unique ID passed by merchant for identifying the transaction.
The date on which the payment was initiated. We store timestamps in IST.
"2025-06-01T10:20:12+05:30"
Status of the payment.
Payment type. Can be AUTH or CHARGE.
"CHARGE"
A unique ID passed by merchant for identifying the subscription.
Contains a payload for auth app links in case of AUTH. For charge, the payload is empty.
Payment method used for the authorisation.