POST
/
v2
/
webhooks
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/webhooks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://example.com/webhooks",
  "events": [
    "customer.tokenized"
  ]
}'
{
  "uuid": "747cf28a-bb5c-46a8-a288-d9b006fd6113",
  "links": []
}

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

Webhook Request Payload

uuid
string

Unique identifier for the webhook event.

created_at
string

Timestamp (ISO 8601) when the event was generated.

event
string

Type of the event

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

data_type
string

Type of data associated with the event.

Available options: customer, order, dispute

data
object

Payload data specific to the event type. See options in the applicable accordion below.

Examples per Event

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Body

application/json

Response

200
application/json

Successful Operation

The response is of type object.