> For the complete documentation index, see [llms.txt](https://help.sharkdom.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sharkdom.com/tracking-your-payouts/razorpay-tracking/setup-webhook-in-razorpay.md).

# Setup Webhook in Razorpay

## Step 2 **: Set Up the Webhook in Razorpay**

1. **Log in** to your Razorpay dashboard.
2. On the left sidebar, go to **"Settings"** and click **"Webhooks"** under **"Developers"**.
3. Click **“+ Add New Webhook”**.
4. In the **Webhook URL** field, paste the URL copied from your Sharkdom dashboard.
5. In the **Secret** field, enter a unique secret key (you will use this later to validate webhook payloads).
6. **Select events** you want Razorpay to send to Sharkdom ( `payment.captured`,`payment.authorize,payment.succeeded`).
7. Click **"Create Webhook"**.<br>

   <figure><img src="https://3954960519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FadTM8GarVeiEakkopgTw%2Fuploads%2FAjBUa6SDNjphKV0djSoP%2FScreenshot%202025-02-11%20at%2012.55.49%E2%80%AFAM.png?alt=media&amp;token=a9c00ef7-4b94-4dac-ad84-9a8f7e4de91e" alt=""><figcaption></figcaption></figure>

   <br>

   <figure><img src="https://3954960519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FadTM8GarVeiEakkopgTw%2Fuploads%2F3hR61OGKTHIohpUlxTv6%2FScreenshot%202025-02-11%20at%2012.58.11%E2%80%AFAM.png?alt=media&amp;token=3ba190ab-4a52-4d28-b6a2-5eef6490eea0" alt=""><figcaption></figcaption></figure>
