Subscribe to Webhooks

Subscribe to various webhook events related to Smart Collect to receive instant notifications.


Subscribe to webhook events relevant to Smart Collect.

To subscribe to webhook events:

  1. Log into the Razorpay Dashboard.
  2. Navigate to DashboardSettingsWebhooks to subscribe to any of the events mentioned in the following section.

Handy Tips

  • Ensure that you mitigate possible webhook failures.
  • Ensure that you have subscribed to Smart Collect Events.
  • If the virtual account is customer-specific, please pass customer_id while creating the virtual account. Customer_id will be reflected in webhooks as well for easy reconciliation.
  • To uniquely identify the payment, store the bank_reference (unique reference number on the customer's bank statement) received in webhooks or the Fetch API response.

Webhook Events and Descriptions🔗

Webhook Events

Description

virtual_account.created

Triggered when a virtual account is created.

virtual_account.credited

Triggered when a payment is made to a virtual account.

virtual_account.closed

Triggered when a virtual account expires on a date set by you or is manually closed by you.


Know more about Webhooks and check the sample payloads.

×