English
Configure webhook URL
cURL
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" }
{ "time": string, "uuid": string, "type": string, "event": string, "object_uuid": string, "refund_id": string, "refund_amount": { "amount_in_cents": number, "currency": string } }
{ "time": "2017-10-19T00:33:10.548372055Z", "uuid": "02c5a2a0-8394-4b45-80b3-52d40c494322", "type": "order_update", "event": "order_complete", "object_uuid": "Ref123456789", "refund_id": "szl-a0293Pn-3948-80b3-ao34JAia39zQ", "refund_amount": { "amount_in_cents": 500, "currency": "USD" } }
order_update
order_complete
order_refund
object_uuid
Show child attributes
The authentication token generated from providing API Keys to Sezzle Gateway
A URL for us to send our webhooks to
Status No Content