Fetch Checkout Configuration

This API is in Beta. Endpoints and schemas may change without prior notice.
styling.payment_link_styles.panel.left.logo returns the merchant logo as an embedded base64 data URI (e.g. data:image/jpeg;base64,...), not a URL.
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_codestringrequired

The unique identifier of the checkout to retrieve (UUID, 36 chars). Non-UUID values are rejected with 400 before processing.

Response

The custom checkout, with configuration and styling composed.

idstring

Checkout UUID (the checkout_code).

namestring

Checkout name.

descriptionstring

Checkout description.

statusstring

Checkout status.

is_defaultboolean

Whether this is the account’s default checkout.

created_atstring

Creation timestamp (ISO 8601).

updated_atstring

Last updated timestamp (ISO 8601).

configobject

Checkout configuration.

Show config properties
payment_methodsobject[]

Payment methods configured for this checkout. Order is driven by order_to_show (lower = first). Returns the full payment-method catalog available to the account, not only the ones active for this checkout. Filter by is_active: true to get only the enabled ones.

general_settingsobject

General checkout settings, including accepted document types per country (country_documents).

feature_flagsobject

Feature toggles for this checkout, including custom_required_fields and custom_logo_icon.

stylingobject

Checkout styling and SDK settings: styles, settings, external_fonts, payment_link_styles.

checkout_code is not a valid UUID.

codestring
messagesstring[]

Not authenticated, or the account is not in the beta allowlist.

codestring
messagesstring[]

The checkout was not found for this account.

codestring
messagesstring[]
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/checkouts/<checkout_code>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>" \
  -H "X-Account-Code: <X-Account-Code>"
Response
{
  "id": "8005ca91-dcfb-4428-b9f6-49c6e3446474",
  "name": "Main Checkout",
  "description": "string",
  "status": "PUBLISHED",
  "is_default": true,
  "created_at": "string",
  "updated_at": "string",
  "config": {
    "payment_methods": [
      {}
    ],
    "general_settings": {},
    "feature_flags": {}
  },
  "styling": {}
}