POST
/
v2
/
order
/
{order_uuid}
/
reauthorize
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/order/{order_uuid}/reauthorize \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount_in_cents": 5000,
  "currency": "USD"
}'
{
  "uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8",
  "links": [
    {
      "href": "https://gateway.sezzle.com/v2/order/6c9db5d4-d09a-4224-860a-b5438ac32ca8",
      "method": "GET",
      "rel": "self"
    }
  ],
  "intent": "AUTH",
  "reference_id": "original_order_reference_id",
  "order_amount": {
    "amount_in_cents": 5000,
    "currency": "USD"
  },
  "authorization": {
    "authorization_amount": {
      "amount_in_cents": 5000,
      "currency": "USD"
    },
    "approved": true,
    "expiration": "2022-04-23T16:13:44Z"
  }
}

Please note the following when reauthorizing an order.

  • A new order will be created
    • The intent will be set to AUTH
    • The reference_id will be the same as the original order
  • The reauthorized amount will be a new installment plan for the customer

Reauthorizations are not guaranteed to be approved. It is extremely important to note this API will return a 200 success if the request to reauthorize is successful (i.e. no errors) but the customer was not approved.

Please be sure to check the authorization approved value in the response to determine if the reauthorization order was created.

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Headers

Sezzle-Request-Id
string

Unique client-generated ID to enforce idempotency

Path Parameters

order_uuid
string
required

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

Body

application/json

The amount to be reauthorized

The body is of type object.

Response

200
application/json

Successful Operation

The response is of type object.