Skip to main content

Release amount by order

Use this endpoint to release an amount by order. An example use-case is when an order is unable to be fully fulfilled and part of the authorization needs to be released. Then a capture can be called for the remaining amount.

Endpoint

POST https://gateway.sezzle.com/v2/order/{order_uuid}/release

Properties

Header Parameters

Use this header to enforce idempotency when releasing an authorization.

ParameterTypeDescription
Sezzle-Request-IdstringA unique, merchant-generated ID.

Release Order Object

ParameterRequiredTypeDescription
amount_in_centstruenumberThe amount in cents to release on this order
currencytruestringThe 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 release transaction uuid, but there are no endpoints that use this value. You may retrieve an order's release transactions using the Get an order endpoint.