Skip to main content
Webhooks are server callbacks to your server from Cashfree. Cashfree sends webhooks for the following events for a payment:

Payment success webhook

A payment success webhook is triggered when a payment is successfully completed. You can use this for: Updating order status, triggering fulfilment, send confirmation to customer.
Some parameters in the API response may return null values depending on the flow type. In the Flowwise flow, all actual parameter values are returned. However, in other flows, some fields in the response may contain null.
Version (2023-08-01)

Payment failed webhook

The payment failed webhook notifies you when a payment attempt fails and we receive a failed response from the bank. Use case: Update order status, notify customer, initiate retry flow
Version 2023-08-01

Payment user dropped webhook

The User Dropped Webhook notifies you when your customer abandons the payment flow. It will help you understand if customers attempted to pay or not. Some common scenarios where the transaction will be marked as USER_DROPPED are:
  • User was redirected to the bank’s OTP page, but never entered the OTP.
  • User was redirected to open the UPI app, but never entered the UPI PIN.
  • User was shown the 3ds OTP modal, but did not enter the OTP.
Version 2023-08-01

Payment charges webhook

A payment charges webhook is triggered after a successful payment when Cashfree finalises the Transaction Discount Rate (TDR) and related charges for that payment. The event time can be later than the payment time. Use this webhook to reconcile per-payment charges and the net settlement amount. To receive this event, subscribe to Success Payment TDR when you configure webhooks in the Merchant Dashboard. The webhook type in the payload is PAYMENT_CHARGES_WEBHOOK.
The payment_method object in this webhook can be empty ({}). This is expected for the payment charges event.
For background on TDR, see What is TDR?.

charges_details fields

Version 2023-08-01

Sample payload by payment method

The instrument used for making a payment will vary by the payment methods used by the customer. Details of the payload by payment method are documented for reference.