Skip to main content

Upcharge amount by order

caution

This API is in development and will be available shortly.

Use this endpoint to upcharge an amount by order. The new order will be sent to the shopper as a Pay In Full order.

Endpoint

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

Properties

Header Parameters

Use this header to enforce idempotency when upcharging an order.

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

Upcharge Order Object

ParameterRequiredTypeDescription
intenttruestringAccepted values are "AUTH" or "CAPTURE"
amount_in_centstruenumberThe amount in cents to upcharge on this order
currencytruestringThe 3 character currency code as defined by ISO 4217

Examples

Request

{
"intent": "AUTH",
"upcharge_amount": {
"amount_in_cents": 5000,
"currency": "USD"
}
}

Response

{
"uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8"
}

The uuid returned from this operation is the upcharge transaction uuid, but there are no endpoints that use this value.