# Test Webhooks

{% hint style="info" %}
**Note:** The Webhooks are only functional for Plum Pro APIs but not with Storefront Integration, Plum Pro Dashboard & Xoxo Link Integrations
{% endhint %}

You can validate webhooks to verify payloads or check if your webhook integration is working. Test events get triggered on a transaction done in the staging environment. There are two options to test webhooks

1. Using free interceptor tools
2. On your staging environment

### Using free interceptor tools

There are many free webhook testing tools available online, which can be used to test webhooks e.g. [requestbin.com](https://requestbin.com/)

### **How to test webhooks?**

**Step 1:** Open [requestbin.com](https://requestbin.com/) on your web browser.

**Step 2:** Click the "Create a RequestB in" button to create an account.

<figure><img src="https://lh3.googleusercontent.com/Wv8QnRba3V07dZtbpugL1lv0FQ2QYj2COuZHNvYxe_9_AouZGdmPGr7mIuzy_xCbhyrIkFcHPNKEGdbrb_l-qmd31-0IhK77xENs9IzFiJWaMw_NcEJ1sGfJDKy7JJylk_6gFILV0JQofo4kB6seve9XgVwnUkRBa7CVaWc164BO_0E1-OX4rIrE2Uc4Ng" alt=""><figcaption></figcaption></figure>

**Step 3:** Enter details to create an account or Login via SSO.

![](https://lh3.googleusercontent.com/btAMnDreBG5tywZMfQxjOBTjQHxz20EcdWU9wvWZDrji7zdcyXiBYiecRb5A_B3oex7MxV6SIgKZZnbq0JGQikiVGBqb2Vt50cd5jB3A7cAd1yWSRuIYnTgjDnqAunDynGNNf9hIOCu40H8FL9Y_FpWsFcI9suHs5fcswoOA-_eS277MJlYW86M9Sot0Bg)

**Step 4:** Copy the endpoint created for you.

<figure><img src="https://lh4.googleusercontent.com/Dr66qRRUg638RD4aSh2BlSgggimtKJlGLJl_9WFlKKANB72vbRRBLmoiwGlikRrD_vJcyGc-PcT7Me3sx6LsZ9IahdFSqVC_070OelBru7yZboSnsST2IqYXhClzcAVeu_DDoLUfXkemeZSOlsU6XFWORvzRdYUa7CK5LjRzIdlh5Y2ahmYnM0iMV0JvXw" alt=""><figcaption></figcaption></figure>

**Step 5:** Continue to set up webhook&#x20;

You can copy and paste the endpoint in the callback URL field in Webhook Section and Click on “**Save Webhook**”.

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

{% hint style="info" %}
Ensure you are using Staging on the Xoxoday Dashboard.
{% endhint %}

**Step 6:** Once you enable the appropriate webhook event, you will receive the corresponding webhook payload on your requestbin.com.

<figure><img src="https://lh3.googleusercontent.com/q_OUlpkNCZkHmcAMBdzXfi1nlMcCrlN_OKi0q9Dc6D4X87LUAafG2LoQN7IoM6g_ReLCrAN-VlrGNg9BJTZWi9sd6wCCcFSJ7124S78Mg1ow5YubGovNpN3Ax3oX8rMfKf3NZSrH23GXTGfEjSFANpGEZlAZ6rNSoEqwXNpY1wm4WN6aXd0HmbYLsjpe2Q" 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://xoxoday.gitbook.io/plum/developer-resources/overview-of-reward_api/webhooks/test-webhooks.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.
