Skip to main content

Create webhooks

This endpoint can be used to subscribe to webhooks

Endpoint

POST https://gateway.sezzle.com/v2/webhooks

Properties

Webhooks Object

ParameterRequiredTypeDescription
urltruestringThe url you are using to receive webhooks
eventstruearrayAn array of events to subscribe to

Valid Webhook Events

We accept the following Webhook events

EventDescription
customer.tokenizedThis webhook is called when a customer is tokenized
order.authorizedThis webhook is called when an order is authorized by Sezzle
order.capturedThis webhook is called when an order is captured by Sezzle
order.refundedThis webhook is called when an order is refunded by Sezzle

Example Request

{
"url": "https://example.com/webhooks",
"events": [
"customer.tokenized"
]
}

Example Response

{
"uuid": "747cf28a-bb5c-46a8-a288-d9b006fd6113",
"links": [ ]
}