Skip to main content
POST
Create a webhook

Authorizations

Authorization
string
header
required

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

Body

application/json
url
string<uri>
required

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

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

The events to send. Leave it out or send an empty list to receive every event.

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

Response

The webhook and its signing secret.

success
boolean
required

Always true for a successful request.

response
object
required