List Checkouts

This API is in Beta. Endpoints and schemas may change without prior notice.

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 and Publish 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

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.

Query Parameters

namestring

Case-insensitive contains filter on the checkout name. LIKE metacharacters (% and _) match literally.

idstring

Case-insensitive contains filter on the checkout identifier.

statusstring

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_afterstring

Inclusive lower bound on created_at (ISO-8601 instant, e.g. 2026-05-01T00:00:00Z).

created_beforestring

Inclusive upper bound on created_at (ISO-8601 instant).

updated_afterstring

Inclusive lower bound on updated_at (ISO-8601 instant).

updated_beforestring

Inclusive upper bound on updated_at (ISO-8601 instant).

pageinteger

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.

sizeinteger

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.

Response

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.

idstring

Checkout identifier (UUID). Use it as the checkout_code in the fetch and publish endpoints.

namestring

Checkout name.

descriptionstring

Checkout description.

status"PUBLISHED" | "NOT_PUBLISHED" | "ARCHIVED"

Checkout status.

is_defaultboolean

Whether this checkout is the account’s default.

created_atstring<date-time>

Creation timestamp (ISO-8601).

updated_atstring<date-time>

Last update timestamp (ISO-8601).

Invalid page/size values or an invalid status value.

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

Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/checkouts?name=<name>&id=<id>&status=<status>&created_after=<created_after>&created_before=<created_before>&updated_after=<updated_after>&updated_before=<updated_before>&page=<page>&size=<size>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>" \
  -H "X-Account-Code: <X-Account-Code>"
Response
[
  {
    "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"
  }
]