Parameters
The POST request to the return URL includes the following parameters:| Parameter | Type | Description |
|---|---|---|
| cf_subReferenceId | Long | Unique numeric ID generated when the subscription was created. |
| cf_subscriptionId | String | ID of the subscription. |
| cf_authAmount | Float | The amount charged to authorise the subscription. |
| cf_referenceId | Long | The reference ID or transaction ID of authorisation in PG. |
| cf_status | String | Status of the subscription. In the returnUrl, the response should be ACTIVE or BANK_APPROVAL_PENDING if the authorisation was successful, or INITIALIZED if the authorisation failed. |
| cf_message | String | A brief note about the payment. |
| signature | String | The hash of all parameters in the request generated using Secret Key. |
| cf_umrn | String | The unique identifier associated with a mandate. Applicable if the payment mode is eMandate. |
| cf_checkoutStatus | String | The subscription checkout status. The status can be SUCCESS, FAILED, SUCCESS_DEBIT_PENDING, or SUCCESS_TOKENIZATION_PENDING. |
| cf_mode | String | The checkout payment mode. Modes: NPCI_SBC, SBC_UPI, SBC_CREDIT_CARD, SBC_DEBIT_CARD. |
| cf_subscriptionPaymentId | String | The subscription payment ID. |
| cf_umn | String | The unique identifier associated with a mandate. Applicable if the payment mode is UPI. |
Sample Payload
Once the authorisation is complete, Cashfree will send a POST request to yourreturn_url with the following payload: