v1

latestOpenAPI 3.1.0CC-BY-NC-SA-4.02026-07-2413803.8 MB
Webhooks API

Update a webhook

Updates the webhook. You may edit the name, url and the list of subscribed event types.

🔑 Access with

Advanced access token with webhooks.write

OAuth access with webhooks.write

patch/v2/webhooks/{webhookId}

Request body

namestring

A name that identifies the webhook.

urlstring

The URL Mollie will send the events to. This URL must be publicly accessible.

testmodeboolean

Whether the entity was created in test mode or live mode. This field does not update the mode of the entity.

Most API credentials are specifically created for either live mode or test mode, in which case this parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting testmode to true.

Example request

{
  "name": "Webhook #1",
  "url": "https://mollie.com/",
  "eventTypes": [
    "payment-link.paid"
  ]
}

Response

The webhook object.