Webhooks (v2)

Create a new webhook

Create a new webhook to receive event notifications to the specified URL. Provide a list of event types that you want to subscribe to and a URL for the webhook. Only HTTPS URLs are supported.

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

post/webhooks

Request

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

Request body

urlstring uri required

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

eventsWebhookEventType[]

A list of event types to subscribe to. If you don't provide it, you're automatically subscribed to the default event types.

Response

The successfully created 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.

signing_secretstring required

The signing secret for the webhook.

Example response

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

Changes

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