> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Use the Webhooks APIs to receive event notifications or subscribe to events happening in a sub-merchant's account for the integration installed.

Fork the Razorpay Postman Public Workspace and try the Webhooks APIs using your [Test API Keys](/partners/aggregators/onboarding-api#api-authentication).

[](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-9d7fe39c-c63f-4f25-9bc8-09bcb59c7f26)

### Related Guides

[Sub-merchant Onboarding APIs](/partners/aggregators/onboarding-api)
[Set Up Webhooks](/partners/aggregators/onboarding-api/webhooks)
[Webhook Payloads](/webhooks/partners)

### Endpoints

* **post** `/v2/accounts/:account_id/webhooks` - Create a Webhook:
  Creates a webhook.

* **get** `/v2/accounts/:account_id/webhooks/:webhook_id` - Fetch a Webhook With ID:
  Retrieves the details of a webhook.

* **get** `/v2/accounts/:account_id/webhooks` - Fetch all Webhooks:
  Retrieves the details of all webhooks.

* **patch** `/v2/accounts/:account_id/webhooks/:webhook_id` - Update a Webhook:
  Updates a webhook.

* **delete** `/v2/accounts/:account_id/webhooks/:webhook_id` - Delete a Webhook:
  Deletes a webhook.
