Webhooks

List webhooks

get

Returns all webhooks for the authenticated merchant

Responses
chevron-right
200

OK

application/json
get
/api/webhooks

Create webhook

post

Creates a new webhook for the authenticated merchant - only one webhook per event type is allowed per merchant

Body

Webhook creation data

enabledbooleanRequired

Whether webhook is enabled

eventTypestring · enumRequired

Event type

Possible values:
urlstring · uri · min: 1 · max: 2048Required

Webhook URL (must be HTTPS)

Responses
post
/api/webhooks

Get webhook

get

Returns a specific webhook by ID for the authenticated merchant

Path parameters
webhookIdstringRequired

Webhook ID

Example: whk_01234567-0000-0000-0000-000000000000
Responses
chevron-right
200

OK

application/json
get
/api/webhooks/{webhookId}

Delete webhook

delete

Deletes a webhook for the authenticated merchant

Path parameters
webhookIdstringRequired

Webhook ID

Example: whk_01234567-0000-0000-0000-000000000000
Responses
delete
/api/webhooks/{webhookId}

No content

Update webhook

patch

Partially updates a webhook for the authenticated merchant - only provided fields will be updated

Path parameters
webhookIdstringRequired

Webhook ID

Example: whk_01234567-0000-0000-0000-000000000000
Body

Webhook update data

enabledbooleanOptional

Whether webhook is enabled

urlstring · uri · min: 1 · max: 2048Optional

Webhook URL

Responses
chevron-right
200

OK

application/json
patch
/api/webhooks/{webhookId}

Last updated