Skip to main content
POST
/
v1
/
configuration
Setting Your Configuration
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v1/configuration \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhook_url": "https://yourdomain.com/webhook"
}
'
{
  "status": 400,
  "id": "bad_request",
  "message": "bad request"
}
You are viewing Version 1 of the Sezzle API. Check out the current version!

Webhooks

Order Webhooks

  • Sezzle handles most of the consumer checkout process on its pages, using webhooks to notify your system about:
    • Checkout updates
    • Completions
    • Refunds
  • Use the instructions in this page to subscribe to Webhooks
  • When a webhook event occurs, Sezzle will send the below Webhook object to the URL provided in the configuration

Order Webhook Object

  • Template
  • Example
  • Options
{
  "time": string,
  "uuid": string,
  "type": string,
  "event": string,
  "object_uuid": string,
  "refund_id": string,
  "refund_amount": {
        "amount_in_cents": number,
        "currency": string
    }
}

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Body

application/json
webhook_url
string
required

A URL for us to send our webhooks to

Response

Status No Content