Skip to main content
POST
/
v2
/
webhooks
/
test
Trigger a test webhook
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/webhooks/test \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "order.authorized",
  "url": "https://example.com/webhooks"
}
'
{
  "code": "bad_request",
  "message": "bad request"
}

Valid Webhook Events

We accept the following Webhook events
EventTrigger
customer.tokenizedA customer is tokenized
order.authorizedAn order is authorized by Sezzle
order.capturedAn order is captured by Sezzle
order.refundedAn order is refunded by Sezzle
dispute.merchant_input_requestedA dispute is filed by a shopper and merchant input is required
dispute.deadline_approachingA dispute is moved to final notice by Sezzle
dispute.closed.customer_winThe shopper wins the dispute and the order is refunded
dispute.closed.merchant_winThe merchant wins the dispute and it is resolved in their favor
dispute.closed.neutralNo clear winner is determined and the dispute is resolved neutrally

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Body

application/json
event
enum<string>
required

One of the Valid Webhook Events

Available options:
customer.tokenized,
order.authorized,
order.captured,
order.refunded,
dispute.merchant_input_requested,
dispute.deadline_approaching,
dispute.closed.customer_win,
dispute.closed.merchant_win,
dispute.closed.neutral
url
string
required

A url to receive the test webhook. If omitted, the test webhook is sent to all urls subscribed to that event.

Response

Status Created