Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

API key starting with sk_live_ or sk_test_

Body

application/json
url
string
required
events
string[]
required

Event types: payment.debited, payment.failed, refund.succeeded, etc.

description
string

Response

200 - application/json

Webhook created (includes secret)

id
string
Example:

"we_abc123"

url
string
events
string[]
status
enum<string>
Available options:
ACTIVE,
DISABLED
description
string | null
secret
string

Only returned on creation

createdAt
string<date-time>
updatedAt
string<date-time>