v1

latestOpenAPI 3.0.02026-07-24103118224.7 KB
Webhooks

Update subscribed event types

Replace the list of event types this webhook endpoint listens to. Pass an empty array to receive all events.

patch/api/webhook/{webhookId}/event-types

Path parameters

webhookIdstring required

Request body

eventTypesstring[] required

Event types to subscribe to. Pass an empty array to receive all events.

Example request

{
  "eventTypes": [
    "payment.settled",
    "subscription.active"
  ]
}