Skip to main content
POST
Create a new session

Authorizations

Authorization
string
header
required

The authentication token generated from providing API Keys to Sezzle Gateway

Body

application/json
complete_url
object
required

The HTTP request information used to redirect the customer upon completion of the session. Required for sessions that include an order and use redirect checkout, and for any session that tokenizes a customer — including standalone tokenization, where it is the destination the customer returns to after approving.

cancel_url
object

The HTTP request information used to redirect the customer in the case of a cancellation. Required for sessions that include an order and use redirect checkout. Optional for standalone tokenization sessions, which have no order to cancel — supply it only if you want a separate destination for customers who decline.

customer
object

Customer details for this session. To optimize checkout and boost conversion, it is recommended to include as much customer information as possible.

order
object

Order ID, amount, and capture intent. Order details optional.

express_checkout_type
enum<string>
  • single-step: only one shipping method exists, or only use default shipping method for Sezzle express checkout flow
  • multi-step: allow the user to select from merchant-supported shipping methods
  • no-shipping: purchase contains no shippable items and shopper does not have option to select, such as digital download or buy online pick up in store (BOPIS).
Available options:
single-step,
multi-step,
no-shipping

Response

Successful Operation

uuid
string

The unique identifier for this response

Available API links prefilled with UUID with accompanying method

order
object

Order metadata required for checkout

tokenize
object

This is included in the response when starting a customer tokenization session.