Skip to main content
POST
Create Webhook
Create a new webhook endpoint to receive notifications for specific events.

Body Parameters

string
required
The URL where notifications will be sent.
array
List of event types to subscribe to (e.g., ["order.paid", "order.failed"]).
boolean
(Optional) Set to true to enable the webhook immediately (Default: true).

Sample Request

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
url
string
required

The URL where notifications will be sent.

topics
string[]

List of event types to subscribe to.

active
boolean
default:true

Set to true to enable the webhook immediately.

Response

200

Webhook created successfully