# 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="/files/h5s1kYhTLEQzpd71VOHO" alt=""><figcaption></figcaption></figure>

   <br>

   <figure><img src="/files/bupNRkDX8P9am11eXoqD" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sharkdom.com/tracking-your-payouts/razorpay-tracking/setup-webhook-in-razorpay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
