Passer au contenu principal
POST
/
v2
/
customer
/
{customer_uuid}
/
preapprove
Preapprove amount by customer
curl --request POST \
  --url https://sandbox.gateway.sezzle.com/v2/customer/{customer_uuid}/preapprove \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount_in_cents": 5000,
  "currency": "USD"
}
'
{
  "uuid": "6c9db5d4-d09a-4224-860a-b5438ac32ca8",
  "approved": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.sezzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorisations

Authorization
string
header
requis

The authentication token generated from providing API Keys to Sezzle Gateway

Paramètres de chemin

customer_uuid
string
requis

The Customer UUID to preapprove

Corps

application/json

The order amount to verify preapproval

amount_in_cents
integer
requis

The amount in cents

currency
string
requis

The 3 character currency code as defined by ISO 4217

Réponse

Successful Operation

uuid
string

The unique identifier for this response

approved
boolean

Whether the shopper is pre-approved for the given amount