Refund amount by order
Use this endpoint to refund an amount by order. An example use-case is when an order was captured but the customer returned item(s) that requires them to be refunded.
Endpoint
POST https://gateway.sezzle.com/v2/order/{order_uuid}/refund
Properties
Header Parameters
Use this header to enforce idempotency when refunding an authorization.
Parameter | Type | Description |
---|---|---|
Sezzle-Request-Id | string | A unique, merchant-generated ID. |
Refund Order Object
Parameter | Required | Type | Description |
---|---|---|---|
amount_in_cents | true | number | The amount in cents to release on this order |
currency | true | string | The 3 character currency code as defined by ISO 4217 |
Examples
Request
{
"amount_in_cents": 5000,
"currency": "USD"
}
Response
{
"uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8"
}
The uuid returned from this operation is the refund transaction uuid, but there are no endpoints that use this value. You may retrieve an order's refund transactions using the Get an order endpoint.