v2

latestOpenAPI 3.1.02026-07-264249163.7 KB
Order

Refund amount by order

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.
Can be performed after order capture.

post/v2/order/{order_uuid}/refund

Path parameters

order_uuidstring required

The Order UUID to refund (order.uuid from session response)

Headers

Sezzle-Request-Idstring

Unique client-generated ID to enforce idempotency

Request body

amount_in_centsinteger required

The amount in cents

currencystring required

The 3 character currency code as defined by ISO 4217

Response

Successful Operation

uuidstring

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.