---
description: Setting Up webhooks based on plugins and payment States.
---

# Webhook Plugin Configurations

After [accessing](..#how-to-access-webhooks-configuration) the Webhook Configuration section, the second tab you’ll encounter is **Payment Webhook Plugin Configs**. In this section, merchants can customize their webhook settings by specifying which [plugins](../../plugins) the configuration should apply to, as well as the [payment states](../../payment/payment-recording-and-management/payment-states) that will trigger payment notifications to the webhook. This can be done by completing the fields below according to their preferences.

<figure><img src="https://content.gitbook.com/content/uvuyQluEi5QMHcp2TcU7/blobs/ZPTIdVAKw25xRJcfcf8t/image.png" alt=""><figcaption></figcaption></figure>

## **Parameters Description:**

*   #### **Webhook plugin:**&#x20;

    The plugin that the webhook works for. See [Plugins](../../plugins)
*   #### **Webhook URL:**&#x20;

    When a [payment event](..#payment-webhook-notification) or [payment operation](..#operation-webhook-notification) occurs, Ottu sends an HTTP request to this URL to disclose transactional data. See below note.

{% hint style="info" %}
If both the [Operation webhook\_url](../global-webhooks-configuration#operations-webhook_url) in the [Global Webhooks Configuration](global-webhooks-configuration) and the [Webhook URL](#webhook-url) in the [Webhook Plugin Configurations](webhook-plugin-configurations) are provided simultaneously, the system will transmit data to both URLs.
{% endhint %}

*   #### **Enable transaction state webhook notifications:**&#x20;

    If checked, [Payment Notifications](..#payment-webhook-notification) will be sent for the defined [Notification status](#notification-status).
*   #### **Notification status:**&#x20;

    Define the transaction status that will trigger the [Payment Webhook](..#payment-webhook-notification), including `paid`, `failed`, `authorized`, and `canceled`. Review the [Payment States](../../payment/payment-recording-and-management/payment-states) for more information.
*   #### **Delete:**&#x20;

    Deletes the defined plugin webhook configuration.
