Passer au contenu principal
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Vous consultez la Version 1 de l’API Sezzle. Découvrez la version actuelle!

Webhooks

Webhooks de commande

  • Sezzle gère la majeure partie du processus de paiement du consommateur sur ses pages, en utilisant des webhooks pour notifier votre système à propos de :
    • Mises à jour de la commande
    • Complétions
    • Remboursements
  • Utilisez les instructions de cette page pour vous abonner aux Webhooks
  • Lorsqu’un événement webhook se produit, Sezzle enverra l’objet Webhook ci-dessous à l’URL fournie dans la configuration

Objet Webhook de commande

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

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

Corps

application/json
webhook_url
string
requis

A URL for us to send our webhooks to

Réponse

Status No Content