> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscribe to Webhooks

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

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

Subscribe to webhook events relevant to Smart Collect.

To subscribe to webhook events:

1. Log in to the Dashboard.
2. Navigate to **Dashboard** → **Account & Settings** → **Webhooks** to subscribe to any of the events mentioned in the following section.

<Info>
  **Handy Tips**

  * Ensure that you mitigate possible webhook failures.
  * Ensure that you have subscribed to [Smart Collect Events](/docs/webhooks/smart-collect#smart-collect).
  * If the Customer Identifier is customer-specific, please pass `customer_id` while creating the Customer Identifier. 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](/docs/webhooks/smart-collect#smart-collect) or the [Fetch API response](/docs/api/payments/smart-collect#fetch-a-customer-identifier-by-id).
</Info>

## Webhook Events and Descriptions

| Webhook Events            | Description                                                                                     |
| ------------------------- | ----------------------------------------------------------------------------------------------- |
| virtual\_account.created  | Triggered when a Customer Identifier is created.                                                |
| virtual\_account.credited | Triggered when a payment is made to a Customer Identifier.                                      |
| virtual\_account.closed   | Triggered when a Customer Identifier expires on a date set by you or is manually closed by you. |

<br />

Know more about [Webhooks](/docs/webhooks) and check the [sample payloads](/docs/webhooks/smart-collect).

### Related Information

* [Razorpay Smart Collect](/docs/payments/smart-collect)
* [How Smart Collect Works](/docs/payments/smart-collect/how-it-works)
* [Customer Identifier States](/docs/payments/smart-collect/states)
* [Smart Collect Dashboard](/docs/payments/smart-collect)
* [Create Customer Identifiers](/docs/payments/smart-collect/create)
* [Close Customer Identifiers](/docs/payments/smart-collect/close)
* [Refund Payments](/docs/payments/smart-collect/refund)
* [Refund Failures](/docs/payments/smart-collect/refund-failures)
* [Search for a Customer Identifier](/docs/payments/smart-collect/search)
* [Make Test Payments](/docs/payments/smart-collect/test-payments)
* [Smart Collect APIs](/docs/api/payments/smart-collect)
