Skip to main content
POST
Create webhook subscription

Authorizations

Authorization
string
header
required

API key sent in the Authorization header, with no Bearer prefix.

Body

application/json
eventType
enum<string>
required
Available options:
orderUpdated,
paymentAccountUpdated,
kycUpdated,
kybUpdated
url
string<uri>
required

Where we send the event. Must use https in production and a domain name, not an IP address.

Maximum string length: 512

Response

The created subscription, with its secret.

We return the signing secret once, when the subscription is created.

createdAt
string<date-time>
required
eventType
enum<string>
required
Available options:
orderUpdated,
paymentAccountUpdated,
kycUpdated,
kybUpdated
id
string<uuid>
required
updatedAt
string<date-time>
required
url
string
required
secret
string
required

HMAC key for verifying deliveries, encoded as URL-safe base64 with padding. Returned only in this response.