Webhooks (v2)

Update a webhook

Update an existing webhook. Change the URL to which event notifications are sent or the list of event types to be notified about.

You must specify at least one of these two. The fields that you don't specify are not updated.

For more information, see the guides: About webhooks and Manage webhooks.

patch/webhooks/{webhook_id}

Request

  • Base URL
    https://b2b.revolut.com/api/2.0
  • Auth
    HTTP bearer

Path parameters

webhook_idstring uuid required

The ID of the webhook to update.

Request body

urlstring uri

A valid webhook URL to which to send event notifications. The supported protocol is https.

eventsWebhookEventType[]

A list of event types to subscribe to.

Response

The successfully updated webhook

idstring uuid required

The ID of the webhook.

urlstring uri required

The valid webhook URL that event notifications are sent to. The supported protocol is https.

eventsWebhookEventType[] required

The list of event types that you are subscribed to.

Example response

{
  "id": "6fc346be-5cb5-4c14-aadc-e8aba6a655d7",
  "url": "https://www.example.com/",
  "events": [
    "TransactionCreated"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.