Skip to main content
Webhooks are server callbacks to your server from Cashfree Payments. Webhooks are event-based and are sent when specific events related to the transaction happen. Cashfree Payments sends the following webhooks for softPOS:

Payment success webhook version: (2022-09-01)

The new payment success webhook notifies you about the payment, and gives you comprehensive information about successful payments. A notification is sent to your backend from Cashfree Payments when payments are successful. These notifications are useful in cases when the internet connection is unstable or slow while the payment is being processed. This will allow you to reconcile all the successful orders at your end. Notifications will be sent to notifyUrl which is a part of the request parameter specified while creating an order request as well as endpoints configured on the Merchant Dashboard.

Sample payload

Payment failed webhook version: (2022-09-01)

The payment failed webhook notifies you when transactions fail and we receive a failed response from the bank.

User dropped webhook version: (2022-09-01)

The User Dropped Webhook notifies you when customers drop out of the payment flow without completing the transaction. 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:
  • Android UPI Intent Payments - when a user clicks on the back button in the UPI app without making any payment attempt.
  • Card Payments - when a user drops out of the payment flow by closing the OTP verification page.
  • UPI Collect Transactions - when a user does not enter the UPI PIN and closes the transaction screen

Refund webhook version: (2022-09-01)

Refund webhooks can be configured to receive automated notifications for refunds when either they are successfully processed or are cancelled. Merchants can build their own downstream systems like auto-updating their refund status, and sending a communication to customers by consuming refund webhooks. The webhook notification will be sent on all the URLs added and enabled under the refund webhook. Merchants can add new URLs and enable or disable existing URLs for refund webhook at any point in time and it will be reflected instantaneously.

Sample payload

Payload field description

Auto refund webhook version: (2022-09-01)

Auto-refund webhooks can be configured to receive automated notifications when auto-refunds are initiated, processed and delayed. Auto-refunds are refunds triggered automatically for unsuccessful payments, disputes, duplicate payments; or instances where payments are received directly to your VPA, regardless of whether an order has been generated. Cashfree Payments sends webhook notifications to every URL added and enabled under Auto-refund Webhooks. You can add new URLs and enable or disable existing ones for auto-refund webhooks at any point in time. The changes take effect immediately.

Sample payload

Auto-Refund Webhook Sample Payload
Find the description for each field of the payload below:

Dispute webhooks version: (2022-09-01)

Dispute webhooks can be configured to receive automated notifications when disputes are created, updated and closed. The webhook notification will be sent on all the URLs added and enabled under the dispute webhook. Merchants can add new URLs and enable or disable existing URLs for refund webhook at any point in time and it will be reflected instantaneously.

Dispute created

Sample Payload

Dispute updated

Sample Payload

Dispute closed

Sample Payload

Payload field description