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

# Webhooks

> Use the Webhook APIs to receive event notifications or subscribe to events happening in a sub-merchant's account as per their integration.

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

<br />

<CardGroup cols={2}>
  <Card title="Create a Webhook" href="/docs/api/partners/webhooks/create">
    `POST` `/v2/accounts/:account_id/webhooks`

    Creates a webhook.
  </Card>

  <Card title="Fetch a Webhook With ID" href="/docs/api/partners/webhooks/fetch-with-id">
    `GET` `/v2/accounts/:account_id/webhooks/:webhook_id`

    Retrieves the details of a webhook.
  </Card>

  <Card title="Fetch all Webhooks" href="/docs/api/partners/webhooks/fetch-all">
    `GET` `/v2/accounts/:account_id/webhooks`

    Retrieves the details of all webhooks.
  </Card>

  <Card title="Update a Webhook" href="/docs/api/partners/webhooks/update">
    `PATCH` `/v2/accounts/:account_id/webhooks/:webhook_id`

    Updates a webhook.
  </Card>

  <Card title="Delete a Webhook" href="/docs/api/partners/webhooks/delete">
    `DELETE` `/v2/accounts/:account_id/webhooks/:webhook_id`

    Deletes a webhook.
  </Card>
</CardGroup>

## Related Guides

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