Navigate to Developer > Webhooks under Payment Gateway, and select the Logs tab to check for failures and take necessary action.
Common reasons for webhook failure are:
The endpoint returns a 500 error or does not respond.
The required event is not configured in the webhook settings.
Click Batch Resend to resend missed webhook events.
Select the batch source and enter entity IDs in the Batch Resend modal.
Navigate to Developer > Webhooks under Payment Gateway, and select Add Webhook Endpoint in the Configuration tab.
Add the following details in the Add Webhook Endpoint modal:
Endpoint Details: Enter the endpoint URL for the webhook and select the latest webhook version from the drop-down list.
Note:
When you add the endpoint URL, Cashfree sends a test POST request to check if it is valid and responsive. If the endpoint does not respond, select Continue and manually choose the required events.
Add Policy: Customise the retry policy and select the webhook events you want to subscribe to.
Summary: Review and confirm your selections.
Select Save to complete the setup. Refer to the screenshot below:
Configure webhooks for non-payment gateway products
To configure webhooks for products such as Payouts, Subscriptions, Payments, Payment Links, or Secure ID, go to the respective product webhook section on the merchant dashboard and add the required webhook endpoint URL.