---
title: "List Checkout Sessions"
method: GET
path: "/api/v1/checkout-sessions"
tags: ["Checkout Sessions", "Purchases"]
---

# List Checkout Sessions

`GET /api/v1/checkout-sessions`

## Query parameters

- `cursor` string
- `limit` string

## Response `200`

Successful response

- object
  - `data` CheckoutSessionRecord[], required
    - union
      - PurchaseCheckoutSessionRecord
        - `id` string, required
        - `createdAt` integer, required — Epoch milliseconds.
        - `updatedAt` integer, required — Epoch milliseconds.
        - `livemode` boolean, required
        - `pricingModelId` string, required
        - `status` 'open' | 'pending' | 'succeeded' | 'failed' | 'expired', required
        - `billingAddress` BillingAddress
          - `name` string, nullable
          - `firstName` string, nullable
          - `lastName` string, nullable
          - `email` string, email, nullable
          - `address` object, required
            - `name` string, nullable
            - `line1` string, nullable
            - `line2` string, nullable
            - `city` string, nullable
            - `state` string, nullable
            - `postal_code` string, nullable
            - `country` string, required
          - `phone` string, nullable
        - `priceId` string, required
        - `purchaseId` string, required
        - `invoiceId` string, nullable, required
        - `quantity` integer, required
        - `organizationId` string, required
        - `customerName` string, nullable, required
        - `customerEmail` string, nullable, required
        - `customerId` string, nullable, required
        - `paymentMethodType` 'card' | 'link' | 'us_bank_account' | 'sepa_debit', nullable
        - `discountId` string, nullable, required
        - `successUrl` string, uri, nullable
        - `cancelUrl` string, uri, nullable
        - `type` 'purchase', required
        - `preserveBillingCycleAnchor` false
        - `outputMetadata` Metadata — JSON object
        - `outputName` string, nullable, required
        - `targetSubscriptionId` unknown
        - `automaticallyUpdateSubscriptions` unknown
        - `expires` integer, required — Epoch milliseconds.
      - ProductCheckoutSessionRecord
        - `id` string, required
        - `createdAt` integer, required — Epoch milliseconds.
        - `updatedAt` integer, required — Epoch milliseconds.
        - `livemode` boolean, required
        - `pricingModelId` string, required
        - `status` 'open' | 'pending' | 'succeeded' | 'failed' | 'expired', required
        - `billingAddress` BillingAddress
          - `name` string, nullable
          - `firstName` string, nullable
          - `lastName` string, nullable
          - `email` string, email, nullable
          - `address` object, required
            - `name` string, nullable
            - `line1` string, nullable
            - `line2` string, nullable
            - `city` string, nullable
            - `state` string, nullable
            - `postal_code` string, nullable
            - `country` string, required
          - `phone` string, nullable
        - `priceId` string, required
        - `purchaseId` string, nullable, required
        - `invoiceId` unknown
        - `quantity` integer, required
        - `organizationId` string, required
        - `customerName` string, nullable, required
        - `customerEmail` string, nullable, required
        - `customerId` string, nullable, required
        - `paymentMethodType` 'card' | 'link' | 'us_bank_account' | 'sepa_debit', nullable
        - `discountId` string, nullable, required
        - `successUrl` string, uri, nullable
        - `cancelUrl` string, uri, nullable
        - `type` 'product', required
        - `preserveBillingCycleAnchor` boolean — Whether to preserve the billing cycle anchor date in the case that the customer already has an active subscription that renews. If not provided, defaults to false.
        - `outputMetadata` Metadata — JSON object
        - `outputName` string, nullable, required
        - `targetSubscriptionId` unknown
        - `automaticallyUpdateSubscriptions` unknown
        - `expires` integer, required — Epoch milliseconds.
      - AddPaymentMethodCheckoutSessionRecord
        - `id` string, required
        - `createdAt` integer, required — Epoch milliseconds.
        - `updatedAt` integer, required — Epoch milliseconds.
        - `livemode` boolean, required
        - `pricingModelId` string, required
        - `status` 'open' | 'pending' | 'succeeded' | 'failed' | 'expired', required
        - `billingAddress` BillingAddress
          - `name` string, nullable
          - `firstName` string, nullable
          - `lastName` string, nullable
          - `email` string, email, nullable
          - `address` object, required
            - `name` string, nullable
            - `line1` string, nullable
            - `line2` string, nullable
            - `city` string, nullable
            - `state` string, nullable
            - `postal_code` string, nullable
            - `country` string, required
          - `phone` string, nullable
        - `priceId` string, nullable, required
        - `purchaseId` string, nullable, required
        - `invoiceId` string, nullable, required
        - `quantity` integer, required
        - `organizationId` string, required
        - `customerName` string, nullable, required
        - `customerEmail` string, nullable, required
        - `customerId` string, required — The customer that the payment method will be added to as the default payment method.
        - `paymentMethodType` 'card' | 'link' | 'us_bank_account' | 'sepa_debit', nullable
        - `discountId` string, nullable, required
        - `successUrl` string, uri, nullable
        - `cancelUrl` string, uri, nullable
        - `type` 'add_payment_method', required
        - `preserveBillingCycleAnchor` boolean, required
        - `outputMetadata` Metadata — JSON object
        - `outputName` string, nullable, required
        - `targetSubscriptionId` string, nullable — The subscription that the payment method will be added to as the default payment method.
        - `automaticallyUpdateSubscriptions` boolean, nullable — Whether to automatically update all current subscriptions to the new payment method. Defaults to false.
        - `expires` integer, required — Epoch milliseconds.
      - ActivateSubscriptionCheckoutSessionRecord
        - `id` string, required
        - `createdAt` integer, required — Epoch milliseconds.
        - `updatedAt` integer, required — Epoch milliseconds.
        - `livemode` boolean, required
        - `pricingModelId` string, required
        - `status` 'open' | 'pending' | 'succeeded' | 'failed' | 'expired', required
        - `billingAddress` BillingAddress
          - `name` string, nullable
          - `firstName` string, nullable
          - `lastName` string, nullable
          - `email` string, email, nullable
          - `address` object, required
            - `name` string, nullable
            - `line1` string, nullable
            - `line2` string, nullable
            - `city` string, nullable
            - `state` string, nullable
            - `postal_code` string, nullable
            - `country` string, required
          - `phone` string, nullable
        - `priceId` string, nullable, required
        - `purchaseId` unknown
        - `invoiceId` unknown
        - `quantity` integer, required
        - `organizationId` string, required
        - `customerName` string, nullable, required
        - `customerEmail` string, nullable, required
        - `customerId` string, nullable, required
        - `paymentMethodType` 'card' | 'link' | 'us_bank_account' | 'sepa_debit', nullable
        - `discountId` string, nullable, required
        - `successUrl` string, uri, nullable
        - `cancelUrl` string, uri, nullable
        - `type` 'activate_subscription', required
        - `preserveBillingCycleAnchor` boolean — Whether to preserve the billing cycle anchor date in the case that the customer already has an active subscription that renews. If not provided, defaults to false.
        - `outputMetadata` Metadata — JSON object
        - `outputName` string, nullable, required
        - `targetSubscriptionId` string, required
        - `automaticallyUpdateSubscriptions` boolean, nullable, required
        - `expires` integer, required — Epoch milliseconds.
  - `currentCursor` string
  - `nextCursor` string
  - `hasMore` boolean, required
  - `total` number, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

## Changes

- **2026-01-11** `599bbd902d65` — 1 info
  - removed `#/components/schemas/InvoiceCheckoutSessionRecord` from the `data/items/` response property `anyOf` list for the response status `200`
- **2025-10-18** `a1eeb4fac4d6` — 8 info
  - for the `query` request parameter `limit`, the type/format was generalized from `number`/`` to `string`/``
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - …4 more
- **2025-06-25** `0cf7bce0c17d` — 2 info
  - added `subschema #1, subschema #2, subschema #3, subschema #4, subschema #5` to the `data/items/` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4` from the `data/items/` response property `anyOf` list for the response status `200`
- **2025-04-28** `00982324965d` — 2 info
  - added `subschema #1, subschema #2, subschema #3, subschema #4` to the `data/items/` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3, subschema #4` from the `data/items/` response property `anyOf` list for the response status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/flowglad/apis/flowglad-api/changes/api/v1/checkout-sessions/get.md)

---

[API](https://skmtc.dev/flowglad/apis/flowglad-api.md) · [All operations](https://skmtc.dev/flowglad/apis/flowglad-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flowglad/flowglad-api/revisions/06c4dd78e137/schema)
