Reauthorize amount by order
Use this endpoint to reauthorize an amount by order. An order can only be reauthorized after the initial authorization has expired. Any attempts to reauthorize before the authorization expires will fail. An authorization can be released before expiration, thus allowing the order to be reauthorized.
Please note the following when reauthorizing an order.
- A new order will be created
- The
intent
will be set toAUTH
- The
reference_id
will be the same as the original order
- The
- 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.
Endpoint
POST https://gateway.sezzle.com/v2/order/{order_uuid}/reauthorize
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. |
Reauthorization Amount 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",
"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 be sure to check the authorization approved value to determine if the reauthorization order was created.