Create webhooks
This endpoint can be used to subscribe to webhooks
Endpoint
POST https://gateway.sezzle.com/v2/webhooks
Properties
Webhooks Object
Parameter | Required | Type | Description |
---|---|---|---|
url | true | string | The url you are using to receive webhooks |
events | true | array | An array of events to subscribe to |
Valid Webhook Events
We accept the following Webhook events
Event | Description |
---|---|
customer.tokenized | This webhook is called when a customer is tokenized |
order.authorized | This webhook is called when an order is authorized by Sezzle |
order.captured | This webhook is called when an order is captured by Sezzle |
order.refunded | This 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": [ ]
}