canonical: https://jentic.com/apis/sezzle.com/sezzle

# Sezzle API v2

The Sezzle API v2 lets merchants accept Sezzle buy-now-pay-later financing at checkout and then manage each order's money movement. You create a checkout session with complete and cancel URLs, and once the shopper approves, you capture, release, refund, reauthorize, or upcharge amounts against the order. Tokenized customers can be preapproved for an amount and charged for new orders without a fresh checkout. The API also registers webhooks for events such as order.authorized and order.captured, and reports settlement summaries, payout details, and interest account activity for reconciliation.

## For AI agents

Create Sezzle checkout sessions, capture, refund, or release order amounts, charge tokenized customers, and pull settlement and payout reports for reconciliation.

## Scope

Does not handle card processing, shipping, or storefront catalogs. Use for Sezzle buy-now-pay-later checkout, order money movement, and settlement reporting only.

## Capabilities

- Create a Sezzle checkout session with the required cancel_url and complete_url and check its status
- Capture an authorized order amount with capture_amount, or release the uncaptured remainder
- Refund part or all of a captured order using an amount_in_cents and currency
- Upcharge or reauthorize an existing order when the basket total changes
- Preapprove an amount for a tokenized customer and create an order for that customer with an AUTH or CAPTURE intent
- Register webhooks for events such as order.authorized, order.captured, and customer.tokenized, and trigger a test event
- Pull settlement summaries for a start-date range and the line detail for a single payout

## Use cases

### Order operations by an agent through Jentic

An AI agent connected through Jentic handles post-checkout order work for a Sezzle merchant. When an order ships, the agent reads the order with its order_uuid, captures the amount, and on a return issues a refund with an amount_in_cents and currency. Jentic stores the Sezzle keys and attaches the token, so the agent never handles the private key.

Example prompt: Call GET `/order/{order_uuid}` to confirm the authorized amount, then POST `/order/{order_uuid}/capture` with capture_amount amount_in_cents 4999 and currency 'USD'

### Buy-now-pay-later checkout

A merchant adds Sezzle at checkout by creating a session with complete_url and cancel_url plus the order details, redirecting the shopper to Sezzle, and polling the session status after the redirect. When the shopper approves, the order is authorized and can be captured immediately or at fulfilment.

Example prompt: Call POST /session with complete_url and cancel_url objects and the order amount, then GET `/session/{session_uuid}` to read the session status after the shopper returns

### Repeat purchases for tokenized customers

Once a shopper is tokenized, the merchant can look up the customer, preapprove an amount, and create a new order for that customer without sending them through checkout again. Each order carries an intent of AUTH or CAPTURE and an order_amount, and the optional Sezzle-Request-Id header makes retried calls safe.

Example prompt: Call POST `/customer/{customer_uuid}/preapprove` with amount_in_cents 12000 and currency 'USD', then POST `/customer/{customer_uuid}/order` with intent 'AUTH' and order_amount 12000 USD

### Settlement reconciliation

Finance teams reconcile Sezzle payouts against orders by pulling settlement summaries for a date range starting at start-date, then fetching the line detail for each payout_uuid. Interest account balance and activity endpoints cover the merchant's interest account in the same flow.

Example prompt: Call GET `/settlements/summaries` with start-date '2026-10-01' and end-date '2026-10-31', then GET `/settlements/details/{payout_uuid}` for each payout returned

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/authentication` | Get a bearer authentication token |
| POST | `/session` | Create a checkout session |
| GET | `/order/{order_uuid}` | Get order details |
| POST | `/order/{order_uuid}/capture` | Capture an order amount |
| POST | `/order/{order_uuid}/refund` | Refund an order amount |
| POST | `/customer/{customer_uuid}/order` | Create an order for a tokenized customer |
| POST | `/webhooks` | Create webhooks |
| GET | `/settlements/summaries` | List settlement summaries |

## Key resources

- **Sessions** — Checkout sessions created with complete and cancel URLs, with status lookup by session_uuid
- **Orders** — Authorized orders addressed by order_uuid that can be captured, released, refunded, reauthorized, or upcharged
- **Customers** — Tokenized customers that can be preapproved and charged for new orders
- **Webhooks** — Subscriptions to order and customer events, with a test trigger
- **Settlements** — Settlement summaries by date range and payout-level detail

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 60 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 89 / 100
  - Developer Experience & Jentic Compatibility: 62 / 100
  - AI-Readiness & Agent Experience: 46 / 100
  - Agent Usability: 94 / 100
  - Security: 50 / 100
  - AI Discoverability: 45 / 100
- **View full report:** https://jentic.com/apis/sezzle.com/sezzle/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring Sezzle by hand means exchanging your public and private keys for a token at /authentication, refreshing it, and adding a Sezzle-Request-Id header to money-moving calls. Through Jentic you install once, import Sezzle from the API Directory, store the keys once, and your agent calls it.
- **Permission scoping:** Sezzle puts the order_uuid and customer_uuid in the URL path, so a rule can limit your agent to one order (`/order/{order_uuid}/...`) and the operations you pick. You choose the operations it may call, so money-moving ones like refund, upcharge, or customer deletion are not included unless you add them.
- **Credential handling:** Your Sezzle keys are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'capture a Sezzle order' or 'get settlement summaries', and Jentic returns the matching Sezzle operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Affirm API** — Buy-now-pay-later financing at checkout
- **Afterpay API** — Pay-in-four installments for online checkouts
- **Shopify API** — Storefront, product, and order management

## FAQ

### What authentication does the Sezzle API v2 use?

Per its OpenAPI spec, you call POST /authentication with your public_key and private_key to get a token, and every other operation sends that token in the Authorization header through a scheme named Bearer. POST /authentication itself declares no security requirement. Through Jentic, your keys are stored encrypted by your own Jentic One instance and the token is attached at call time.

### Can I refund only part of a Sezzle order?

Yes. POST `/order/{order_uuid}/refund` takes a Price body with the required amount_in_cents and currency, so you can refund any portion of the captured amount. Pass a Sezzle-Request-Id header to make a retried refund safe.

### What are the rate limits for the Sezzle API v2?

The OpenAPI spec does not specify rate limits. Check the Sezzle developer documentation at https://docs.sezzle.com for current limits.

### Which webhook events can I subscribe to?

The spec's WebhookEvent enum lists customer.tokenized, order.authorized, order.captured, and order.refunded. Register them with POST /webhooks by passing a url and an events array, and use POST `/webhooks/test` to send a test event to your endpoint.

### Is there a Sezzle MCP server?

You don't need an MCP server to give your agent Sezzle. Jentic connects it directly from the API Directory: import it, store your keys once, and your agent calls the checkout, order, and settlement operations it needs on demand.

### How do I capture a Sezzle order through Jentic?

Search Jentic for 'capture a Sezzle order', load the POST `/order/{order_uuid}/capture` operation, and execute it with the order_uuid and a capture_amount holding amount_in_cents and currency. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the Sezzle API v2?

Yes. For a reconciliation assistant, write a rule that allows only GET `/settlements/summaries`, GET `/settlements/details/{payout_uuid}`, and GET `/order/{order_uuid}`, so the agent can match payouts to orders but cannot capture, refund, or upcharge money. Every call it makes is logged for review.
