> ## 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.

# Payment Flow

<img src="https://mintcdn.com/sezzle/hKhvshWly4M3cXTJ/images/Group2.png?fit=max&auto=format&n=hKhvshWly4M3cXTJ&q=85&s=c1971c905dc17e94d6ac8b0f57c2b437" alt="Group2 Pn" width="5616" height="4416" data-path="images/Group2.png" />

1. Merchant calls `/v2/session` with order and intent of `AUTH` or `CAPTURE`. Optionally, the merchant can send customer information
2. Sezzle returns order uuid and checkout URL.
3. Merchant redirects customer to Sezzle checkout URL.
4. Customer completes the Sezzle checkout and is redirected to the session complete URL.

* If the intent was to `CAPTURE`, Sezzle will capture the total order amount.
* If the intent was to `AUTH`, Sezzle will only authorize the total order amount and the merchant can call `/v2/order` later to release or capture amounts using the order uuid.

## Supported Methods

<CardGroup cols={2}>
  <Card title="Get order details" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/getv2order" />

  <Card title="Update order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/patchv2checkout" />

  <Card title="Capture amount by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/postv2capturebyorder" />

  <Card title="Reauthorize amount by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/postv2reauthorizebyorder" />

  <Card title="Refund amount by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/postv2refundbyorder" />

  <Card title="Release amount by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/postv2releasebyorder" />

  <Card title="Upcharge amount by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/postv2upchargebyorder" />

  <Card title="Delete checkout by order" icon="sparkles" href="https://docs.sezzle.com/docs/api/core/orders/deletev2deletecheckoutbyorder" />
</CardGroup>
