API ReferenceIntegrationsKnowledge Base

Webhook Management

Webhooks allow you to build or set up integrations that subscribe to certain Razorpay events on merchant resources. When one of those events is triggered, we send an HTTP POST payload in JSON to a specific URL.

Webhooks can be configured and managed independently for each application you create on your Razorpay Dashboard, thereby giving you greater control over your notifications.

Refer the webhook documentation to learn more about Razorpay Webhooks.

Setting Up a Webhook🔗

Managing webhooks for individual applications follows the same procedure as managing account webhooks.

Note: If you are just starting off and have not created an application yet, refer the create application section to create an app.

The instructions for setting up a webhook for an application are given below:

  1. Go to the Dashboard > Settings > Applications.

  2. On a created application, Click Manage Webhook.

  3. Enter the Webhook URL where you will receive the webhook payload when the event is triggered.

  4. Create a new Secret. This field is optional. Note: The Secret can be used to validate that the webhook is from Razorpay, thus it should not be exposed publicly. On the UI, the Secret will not be shown after creation. You can leave the Secret blank to leave it unedited.

  5. Select the event(s) you want to activate the webhook for from the list of available events.

  6. Click Save to enable the webhook.

Managing your Webhook: Once created, you can activate/de-activate the webhook for the selected events from the Manage Webhook option.

To validate your webhook signature, refer the Webhook Validation section

×