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.
Parameter | Type | Description |
---|---|---|
Sezzle-Request-Id | string | A unique, merchant-generated ID. |
Upcharge Order Object
Parameter | Required | Type | Description |
---|---|---|---|
intent | true | string | Accepted values are "AUTH" or "CAPTURE" |
amount_in_cents | true | number | The amount in cents to upcharge on this order |
currency | true | string | The 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.