---
title: "Fetch Checkout Configuration"
method: GET
path: "/checkouts/{checkout_code}"
---

# Fetch Checkout Configuration

`GET /checkouts/{checkout_code}`

Returns the full custom checkout for the given code — configuration and styling composed in a single response. The checkout identifier is exposed as the top-level `id`.

## Path parameters

- `checkout_code` string, required

## Response `200`

The custom checkout, with configuration and styling composed.

- object
  - `id` string — Checkout UUID (the checkout_code).
  - `name` string — Checkout name.
  - `description` string — Checkout description.
  - `status` string — Checkout status.
  - `is_default` boolean — Whether this is the account's default checkout.
  - `created_at` string — Creation timestamp (ISO 8601).
  - `updated_at` string — Last updated timestamp (ISO 8601).
  - `config` object — Checkout configuration.
    - `payment_methods` object[] — Payment methods configured for this checkout. Order is driven by `order_to_show` (lower = first).
    - `general_settings` object — General checkout settings, including accepted document types per country (`country_documents`).
  - `styling` object — Checkout styling and SDK settings: `styles`, `settings`, `flags`, `external_fonts`, `payment_link_styles`.

## Other responses

- `400` — `checkout_code` is not a valid UUID.
- `401` — Not authenticated, or the account is not in the beta allowlist.
- `404` — The checkout was not found for this account.

---

[API](https://skmtc.net/y/apis/ai-caller.md) · [All operations](https://skmtc.net/y/apis/ai-caller/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/y/ai-caller/versions/05b629819b49/schema)
