v2

latestOpenAPI 3.1.02026-07-264249163.7 KB
Customer

Create order by customer

Create an order for a tokenized customer

post/v2/customer/{customer_uuid}/order

Path parameters

customer_uuidstring required

The Customer UUID for which to create the order

Headers

Sezzle-Request-Idstring

Unique client-generated ID to enforce idempotency

Request body

intent'AUTH' | 'CAPTURE'
  • Use CAPTURE if payment should be captured immediately upon shopper authorization
  • Use AUTH if there is any post-authorization validation needed prior to capture, such as inventory validation or regulatory requirements, or if merchant policy is to charge the payment method at time of shipment
    • Submit a capture request via the API or your Merchant Dashboard before the authorization expires.
    • The authorization expiration window can be set from 30 minutes up to 7 days in your Merchant Dashboard Settings.
  • If not specified, the value will default to CAPTURE
reference_idstring

The checkout or cart ID from the merchant, currently used for tracking only (must contain only alphanumeric characters, dashes (-), and underscores (_))

Response

Successful Operation

uuidstring

The unique identifier for this response

intent'AUTH' | 'CAPTURE'
  • Use CAPTURE if payment should be captured immediately upon shopper authorization
  • Use AUTH if there is any post-authorization validation needed prior to capture, such as inventory validation or regulatory requirements, or if merchant policy is to charge the payment method at time of shipment
    • Submit a capture request via the API or your Merchant Dashboard before the authorization expires.
    • The authorization expiration window can be set from 30 minutes up to 7 days in your Merchant Dashboard Settings.
  • If not specified, the value will default to CAPTURE
reference_idstring

The checkout or cart ID from the merchant, currently used for tracking only (must contain only alphanumeric characters, dashes (-), and underscores (_))