# Checkout options

Configure Kustom Checkout branding, VAT display, delivery notes, custom checkboxes and payment-only mode through the order options block.

Use the order's `options` block to configure branding, VAT display, delivery notes,
checkboxes and payment-only mode. These options apply to embedded Checkout and the
[Hosted Payment Page](/checkout/surfaces/hosted-payment-page/). See the
[Checkout API reference](/api/checkout/create-order-merchant/#body.options) for every field.

**An update replaces the whole `options` block.** It doesn't merge into the one you sent at
creation. Any option you leave out of the update goes back to its default, so resend every
option you set at creation, not only the one you're changing.

For feature-specific setup, see [B2B](/checkout/use-cases/b2b/),
[age verification](/checkout/use-cases/age-verification/),
[discounts](/checkout/use-cases/discounts-and-gift-cards/) and
[multiple markets](/checkout/use-cases/multi-market/).

## Branding and layout

Set colors and corner radius in the Kustom Portal or override them per order. Omitted
options keep their defaults.

| Option | Element |
|---|---|
| `options.color_button` | The primary button |
| `options.color_button_text` | Text on that button |
| `options.color_checkbox` | Checkbox body |
| `options.color_checkbox_checkmark` | The checkmark itself |
| `options.color_header` | Section headers |
| `options.color_link` | Links |
| `options.color_background` | The background inside the iframe |
| `options.radius_border` | Corner radius on bordered elements |

Every `color_*` value is a CSS hex color, `#RRGGBB`. `radius_border` is a string carrying a
pixel count — `"5"`, not `"5px"`.

```json
{
  "options": {
    "color_button": "#ff0000"
  }
}
```

**Hide VAT** from the order summary with `options.vat_removed`:

```json
{
  "options": {
    "vat_removed": true
  }
}
```

**Add a delivery note** of up to 255 characters, shown on the confirmation page under the
Delivery heading. Set it at creation or on an update; longer notes are truncated. When
updating, resend all other configured options, such as the button color:

```json
{
  "options": {
    "color_button": "#ff0000",
    "shipping_details": "Delivered within 1-3 days"
  }
}
```

The confirmation page can carry more than a note — see
[Add confirmation page upsells](/checkout/use-cases/confirmation-page-upsell/).

## Custom checkboxes

Add checkboxes for newsletter subscriptions or other choices. Text supports Markdown links
and is truncated at 1000 characters. `checked` sets the initial state; `required` prevents
purchase until the customer checks the box.

Checkboxes go in
[`options.additional_checkboxes`](/api/checkout/create-order-merchant/#body.options.additional_checkboxes),
with a stable, unique `id` for each checkbox:

```json
{
  "options": {
    "additional_checkboxes": [
      {
        "id": "newsletter",
        "text": "Sign me up for the newsletter. [Terms](https://kustom.co)",
        "checked": true,
        "required": false
      },
      {
        "id": "loyalty",
        "text": "Enroll me in the loyalty program",
        "checked": false,
        "required": false
      }
    ]
  }
}
```

The `id` is mandatory. Omitting it fails the create call with `BAD_VALUE` on
`additional_checkboxes[0].id`.

There's also an older, singular `options.additional_checkbox` that takes one checkbox and no
`id`. Prefer the list for anything new: its answers arrive keyed by an id you chose.

The customer's answers come back under `merchant_requested` when you read the order:

```json
{
  "merchant_requested": {
    "additional_checkboxes": [
      { "id": "newsletter", "checked": true },
      { "id": "loyalty", "checked": false }
    ]
  }
}
```

They also arrive as `checkbox_change` client-side events while the customer is still in the
checkout. That event's `key` is the checkbox id you chose.

## Payment only

Set `options.scope` to `"PAYMENT"` to show only the payment selector, without a billing or
shipping address form. Use it when the checkout does not need to collect an address.

Payment only has to be enabled on your Kustom account first. Contact Kustom merchant support to
have it set up.

`purchase_country` is mandatory and is the billing country of the order. It also decides which
payment methods the customer can choose from:

```json
{
  "purchase_country": "SE",
  "purchase_currency": "SEK",
  "locale": "en-SE",
  "billing_address": {
    "country": "SE"
  },
  "options": {
    "scope": "PAYMENT"
  }
}
```

The rest of the order — order lines, amounts, `merchant_urls` — is the same as on any other
[create order](/checkout/integrate/create-order/) call.

What changes in this mode:

- **Address data you send is passed through, not checked.** You can still attach a billing or
  shipping address to the order, but the checkout doesn't validate its quality or completeness.
  Billing data on the order is handed to the payment method the customer picks, which may use it
  for its own requirements, such as a cardholder name or postal code.
- **Each payment method keeps its own data requirements.** The customer can pay with any method
  available for the `purchase_country`, as long as that method gets what it needs.
- **[Validation callbacks](/checkout/integrate/validation-callback/) work as usual.** Your
  `merchant_urls.validation` is called as in the standard checkout.
- **Orders look like any other in the Kustom Portal**, but carry no billing or shipping address
  unless you attached one when creating the order.
- **No returning-customer pre-fill.** Payment-only orders neither read from nor add to it, since
  the customer never reviewed an address.

These features aren't available with `options.scope` set to `"PAYMENT"`:

| Feature | Status |
|---|---|
| Age verification | Not supported, neither soft (date of birth or national ID number) nor hard (BankID) |
| Express buttons | Not supported |
| Kustom Shipping Assistant (KSA) | Not applicable — there's no shipping in this mode |
| Recurring payments and tokenization | Not supported |

## Related

- [Create an order](/checkout/integrate/create-order/) — the call these options belong to
- [Checkout API reference](/api/checkout/) — the authoritative schema for every field here
- [Sell to businesses (B2B)](/checkout/use-cases/b2b/), [Age verification](/checkout/use-cases/age-verification/) and [Sell in multiple markets](/checkout/use-cases/multi-market/) — the jobs these options serve, each with the fields it needs
- [Recurring and on-demand payments](/checkout/recurring/) — customer tokens, in full
- [Shipping options in the checkout](/checkout/shipping/) — delivery choices, which follow the same order-line rules
- [Integration models](/checkout/#integration-models) — which integration model renders the order you're configuring
