Test Webhooks
You can trigger a test event using this endpoint. It will send the URL a mimic of the webhook event.
Endpoint
POST https://gateway.sezzle.com/v2/webhooks/test
Request Properties
Parameter | Required | Type | Description |
---|---|---|---|
event | true | string | One of the Valid Webhook Events |
url | false | string | A url to receive the test webhook. If omitted, the test webhook is sent to all urls subscribed to that event. |
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
{
"event": "order.authorized",
"url": "https://example.com/webhooks"
}
tip
There is no response body for this request. If successful, we return an HTTP 201 Status Created.