Webhooks
Lister les webhooks
Get a list of webhooks you are subscribed to
GET
List webhooks
Événements Webhook valides
Nous acceptons les événements Webhook suivants| Événement | Déclencheur |
|---|---|
customer.tokenized | Un client est tokenisé |
order.authorized | Une commande est autorisée par Sezzle |
order.captured | Une commande est capturée par Sezzle |
order.refunded | Une commande est remboursée par Sezzle |
dispute.merchant_input_requested | Un litige est déposé par un acheteur et la contribution du marchand est requise |
dispute.deadline_approaching | Un litige est transféré en avis final par Sezzle |
dispute.closed.customer_win | L’acheteur gagne le litige et la commande est remboursée |
dispute.closed.merchant_win | Le marchand gagne le litige et il est résolu en sa faveur |
dispute.closed.neutral | Aucun gagnant clair n’est déterminé et le litige est résolu de manière neutre |
Autorisations
The authentication token generated from providing API Keys to Sezzle Gateway
Réponse
Successful Operation
The URL you are using to receive webhooks
An array of webhook events you wish to subscribe to
Options disponibles:
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 The unique identifier for this response
Available API links prefilled with UUID with accompanying method
Exemple:
[
{
"uuid": "747cf28a-bb5c-46a8-a288-d9b006fd6113",
"links": [
{
"href": "https://sandbox.gateway.sezzle.com/v2/webhooks",
"rel": "create",
"method": "POST"
},
{
"href": "https://sandbox.gateway.sezzle.com/v2/webhooks",
"rel": "list",
"method": "GET"
},
{
"href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
"rel": "self",
"method": "GET"
},
{
"href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
"rel": "self",
"method": "PATCH"
},
{
"href": "https://sandbox.gateway.sezzle.com/v2/webhooks/747cf28a-bb5c-46a8-a288-d9b006fd6113",
"rel": "self",
"method": "DELETE"
}
],
"url": "https://example.com/webhooks",
"events": ["customer.tokenized"]
}
]Précédent
Mettre à jour le webhookUpdate an existing webhook configuration (URL and/or events)
Suivant
List webhooks