Subscribe to Webhooks

Use webhooks to get notified about Transaction events and Sub-Merchant Onboarding events.


Subscribe to webhook events relevant to partners to receive notifications (in the form of a webhook payload) when these events occur.

Watch this video to see how you can subscribe to Partner Webhooks.

To subscribe to webhook events:

  1. Log in to the .
  2. Navigate to Partner's DashboardSettingsWebhooks to subscribe to any of the events mentioned in the following section.
  3. Click on Manage settings.
  4. In the Webhook Setup pop-up page:
    1. Enter the URL where you want to receive the webhook payload when an event is triggered. We recommended using an HTTPS URL.
    2. Enter a Secret for the webhook endpoint. The secret is used to validate that the webhook is from Razorpay.
    3. In the Alert Email field, enter the email address to which the notifications should be sent in case of webhook failure.
    4. Select the required events from the list of Active Events.
  5. Click Create Webhook.

There are 2 types of events:

  1. Transaction Events: These are events related to payment transactions performed by the sub-merchants. The partner at a sub-merchant level can configure these events.
  2. Sub-Merchant Onboarding Events: These events are related to the onboarding status of the sub-merchant. This is subscribed at the partner level and not configurable at the sub-merchant level. Subscribing to this event will enable the partner to get the onboarding status of all sub-merchants.

Event CategoryEvent NameDescription
Payment Eventspayment.authorizedTriggered when a payment is authorized.
Payment Eventspayment.failedTriggered when a payment fails.
Payment Eventspayment.capturedTriggered when a payment is captured.
Payment Eventspayment.dispute.createdTriggered when a dispute for a payment is created.
Payment Eventspayment.dispute.wonTriggered when a dispute for a payment is won.
Payment Eventspayment.dispute.lostTriggered when a dispute for a payment is lost.
Payment Eventspayment.dispute.closedTriggered when a dispute for a payment is closed.
Payment Eventspayment.downtime.startedTriggered when the downtime for a payment starts.
Payment Eventspayment.downtime.resolvedTriggered when the downtime for a payment is resolved.
Order Eventsorder.paidTriggered when a payment is successfully made against an order.
Invoice Eventsinvoice.paidTriggered when an invoice is successfully paid.
Invoice Eventsinvoice.partially_paidTriggered when a partial payment is made for an invoice.
Invoice Eventsinvoice.expiredTriggered when an invoice expires.
Fund_account Eventsfund_account.validation.completedTriggered when the validation for a fund account is completed.
Fund_account Eventsfund_account.validation.failedTriggered when the validation for a fund account fails.
Refund Eventsrefund.speed_changedTriggered when the speed of a refund is changed.
Refund Eventsrefund.processedTriggered when a refund is processed.
Refund Eventsrefund.failedTriggered when the a refund fails.
Refund Eventsrefund.createdTriggered when the a refund is created.
Payment_link Eventspayment_link.paidTriggered when a Payment Link is paid.
Payment_link Eventspayment_link.partially_paidTriggered when a partial payment is made on a Payment Link.
Payment_link Eventspayment_link.expiredTriggered when a Payment Link expires.
Payment_link Eventspayment_link.cancelledTriggered when a Payment Link is cancelled by you.

Check the

for the above-mentioned webhook events.

Event CategoryEvent NameDescription
PG Product Statusproduct.payment_gateway.under_reviewTriggered when the status for a Payment Gateway product is under_review .
PG Product Statusproduct.payment_gateway.needs_clarificationTriggered when the status for a Payment Gateway product is needs clarification .
PG Product Statusproduct.payment_gateway.activatedTriggered when the status for a Payment Gateway product is activated .
PG Product Statusproduct.payment_gateway.rejectedTriggered when the status for a Payment Gateway product is rejected .
PL Product Statusproduct.payment_link.under_reviewTriggered when the status for a Payment Link product is under_review .
PL Product Statusproduct.payment_link.needs_clarificationTriggered when the status for a Payment Link product is needs clarification .
PL Product Statusproduct.payment_link.activatedTriggered when the status for a Payment Link product is activated .
PL Product Statusproduct.payment_link.rejectedTriggered when the status for a Payment Link product is rejected .
Accountaccount.suspendedTriggered when the Partner's account gets suspended.

You can check the events and sample payloads of

. Know more about .


Was this page helpful?