Skip to main content
PATCH
Update a webhook

Authorizations

Authorization
string
header
required

Your API key, which starts with sk_. Create one in the dashboard under Developers.

Path Parameters

webhook_id
string
required

The webhook ID.

Body

application/json
url
string<uri>

The new URL. It must start with https:// and use a domain name, not an IP address.

Maximum string length: 2000
events
enum<string>[]

The new list of events. An empty list means every event.

Available options:
checkout.confirming,
checkout.partial,
checkout.completed,
checkout.expired,
checkout.resolved,
payment.pending,
payment.completed,
payment.refunded

Response

The updated webhook.

success
boolean
required

Always true for a successful request.

response
object
required