# 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="https://1597622271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOeXh7erUO5h_LVpN85%2Fuploads%2FZbVBISF8mpmtkMqO6NUR%2FWebhook-1-new.png?alt=media&#x26;token=65013344-a595-4027-af3d-168f91123102" 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>
