---
title: "Update checkout configuration"
method: PATCH
path: "/checkout_configuration"
tags: ["CheckoutConfiguration"]
---

# Update checkout configuration

`PATCH /checkout_configuration`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/checkout_configuration`
- Auth: API key in header `Authorization`

Partially updates the account-wide checkout settings; only the fields sent change. `allowed_countries` is an allow-list of ISO 3166-1 alpha-2 codes (`["US", "CA"]` lets only US and Canadian buyers through) — send `[]` to lift the restriction, never the full list of countries. `success_url` must be a full https:// URL; send `null` or `""` to restore the default thank-you page. Saving expires every open checkout session and re-syncs the account's Stripe Tax settings.

## Request body

- CheckoutConfigurationRequest
  - `success_url` string, nullable: Full https:// URL buyers land on after paying. Pass null or "" to restore the default thank-you page.
  - `collect_tax` boolean: Collect tax at checkout via Stripe Tax.
  - `tax_behavior` 'unspecified' | 'inclusive' | 'exclusive': Whether prices include tax (inclusive) or tax is added on top (exclusive).
  - `allow_discount_codes` boolean
  - `show_tax_id_input` boolean
  - `show_phone_number_input` boolean
  - `collect_call_consent` boolean
  - `collect_shipping_address` boolean
  - `allow_multiple_quantity` boolean, nullable
  - `allowed_countries` string[]: Allow-list of ISO 3166-1 alpha-2 country codes (e.g. ["DE", "AT"]); buyers outside it are blocked at checkout. Case-insensitive. Pass [] to allow every country.

## Response `200`

Checkout configuration updated

- CheckoutConfiguration
  - `object` string, required
  - `allowed_countries` string[], required: ISO 3166-1 alpha-2 allow-list; empty means every country can check out.
  - `collect_tax` boolean, required
  - `tax_behavior` 'unspecified' | 'inclusive' | 'exclusive', required
  - `tax_code` string, required
  - `allow_discount_codes` boolean, required
  - `show_tax_id_input` boolean, required
  - `show_phone_number_input` boolean, required
  - `collect_call_consent` boolean, required
  - `collect_shipping_address` boolean, required
  - `allow_multiple_quantity` boolean, required
  - `success_url` string, nullable, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
