Pre-approve amount by customer
You can use this endpoint to preapprove an amount for a customer. The primary purpose of this API is for the merchant to verify a customer will be approved for the order amount prior to creating an order. This API does not authorize the amount nor does it hold the amount for a future order. Also, you are not required to use this API before creating a customer order.
An example use case is, a merchant intends to charge a customer by Sezzle for an upcoming subscription payment. The merchant could check a day or two in advance of the payment to confirm the order will be approved. If not, the merchant could reach out to the customer requesting the Sezzle account be updated prior to the payment date to avoid a potential failed payment.
Endpoint
POST https://gateway.sezzle.com/v2/customer/{customer_uuid}/preapprove
Request Properties
Parameter | Required | Type | Description |
---|---|---|---|
amount_in_cents | true | number | The amount in cents to preapprove |
currency | true | string | The 3 character currency code as defined by ISO 4217 |
Example Request
{
"amount_in_cents": 5000,
"currency": "USD"
}
Example Response
{
"uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8",
"approved": true
}