# UpdateWebhookRequest

**url**string\<uri>required

The URL MONEI sends the events to. An API key made for a shop plugin accepts only an `https` URL on the shop's host.

**Example:<!-- -->&#x20;**`https://shop.example.com/webhooks/monei`

**eventTypes**string\[]required

The event types to send, for example `CHARGE_SUCCEEDED` or `SUBSCRIPTION_ACTIVATED`. An API key made for a shop plugin accepts only the events of what it can read: charge events (`CHARGE_*`, except `CHARGE_CHARGEBACK`, which needs read access to chargebacks) and subscription events (`SUBSCRIPTION_*`).

**Possible values:** `>= 1`

**Example:<!-- -->&#x20;**`["CHARGE_SUCCEEDED","CHARGE_REFUNDED"]`

**enabled**Webhook-Enabledrequired

Whether MONEI sends events to the webhook.

**Example:<!-- -->&#x20;**`true`

UpdateWebhookRequest

```
{

  "url": "https://shop.example.com/webhooks/monei",

  "eventTypes": [

    "CHARGE_SUCCEEDED",

    "CHARGE_REFUNDED"

  ],

  "enabled": true

}
```
