# List Checkouts

<Note>This API is in **Beta**. Endpoints and schemas may change without prior notice.</Note>

Results are sorted default-first, then most recently updated, and include `ARCHIVED` checkouts. Each item's `id` is the `checkout_code` used by the [Fetch](/reference/checkout-builder/fetch-checkout-configuration) and [Publish](/reference/checkout-builder/publish-checkout-configuration) endpoints.

Pagination is opt-in: without `page` or `size` the response is a bare array with every matching checkout; sending either switches the response to a paginated envelope (`data` + `pagination`, where `total` is the full filtered count).

**GET** `/checkouts`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Lists the account's custom checkouts as summaries (no configuration or styling), sorted default-first and then most recently updated. Includes ARCHIVED checkouts. All filters are optional and combinable (ANDed). Without page or size the response is a bare array with every matching checkout; sending either switches to a paginated envelope.

## Authorization

- PUBLIC-API-KEY (apiKey in header)
- PRIVATE-SECRET-KEY (apiKey in header)
- X-Account-Code (apiKey in header)

## Query parameters

- `name` (string)
  Case-insensitive contains filter on the checkout name. LIKE metacharacters (% and _) match literally.
- `id` (string)
  Case-insensitive contains filter on the checkout identifier.
- `status` (string)
  Filter by status. Accepts one or several values (ORed): repeat the parameter or send a comma-separated list (status=PUBLISHED,ARCHIVED). Invalid values are rejected with 400. Absent: all statuses.
- `created_after` (string)
  Inclusive lower bound on created_at (ISO-8601 instant, e.g. 2026-05-01T00:00:00Z).
- `created_before` (string)
  Inclusive upper bound on created_at (ISO-8601 instant).
- `updated_after` (string)
  Inclusive lower bound on updated_at (ISO-8601 instant).
- `updated_before` (string)
  Inclusive upper bound on updated_at (ISO-8601 instant).
- `page` (integer)
  Page number (1-based). Opt-in pagination: sending page or size switches the response to the paginated envelope. Default 1. Non-numeric values are rejected with 400.
- `size` (integer)
  Page size. Opt-in pagination: sending page or size switches the response to the paginated envelope. Default 25, capped at 100. Non-numeric values are rejected with 400.

## Responses

### 200

The account's checkouts. A bare array when page and size are absent; a paginated envelope (data + pagination) when either is present. Items carry the same 7 fields in both shapes. pagination.total is the full filtered count, not the page's row count.

- `id` (string)
  Checkout identifier (UUID). Use it as the checkout_code in the fetch and publish endpoints.
- `name` (string)
  Checkout name.
- `description` (string)
  Checkout description.
- `status` ("PUBLISHED" | "NOT_PUBLISHED" | "ARCHIVED")
  Checkout status.
- `is_default` (boolean)
  Whether this checkout is the account's default.
- `created_at` (string<date-time>)
  Creation timestamp (ISO-8601).
- `updated_at` (string<date-time>)
  Last update timestamp (ISO-8601).

Example:

```json
[
  {
    "id": "string",
    "name": "string",
    "description": "string",
    "status": "PUBLISHED",
    "is_default": true,
    "created_at": "1970-01-01T00:00:00.000Z",
    "updated_at": "1970-01-01T00:00:00.000Z"
  }
]
```

### 400

Invalid page/size values or an invalid status value.

### 401

Missing or invalid credentials, or the account is not in the beta allowlist.