{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-checkout-configuration-request-schema.json",
  "title": "CheckoutConfigurationRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-checkoutconfiguration-api-openapi.yml#/components/schemas/CheckoutConfigurationRequest",
  "type": "object",
  "properties": {
    "success_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full https:// URL buyers land on after paying. Pass null or \"\" to restore the default thank-you page."
    },
    "collect_tax": {
      "type": "boolean",
      "description": "Collect tax at checkout via Stripe Tax."
    },
    "tax_behavior": {
      "type": "string",
      "enum": [
        "unspecified",
        "inclusive",
        "exclusive"
      ],
      "description": "Whether prices include tax (inclusive) or tax is added on top (exclusive)."
    },
    "allow_discount_codes": {
      "type": "boolean"
    },
    "show_tax_id_input": {
      "type": "boolean"
    },
    "show_phone_number_input": {
      "type": "boolean"
    },
    "collect_call_consent": {
      "type": "boolean"
    },
    "collect_shipping_address": {
      "type": "boolean"
    },
    "allow_multiple_quantity": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "abandoned_checkout_emails": {
      "type": "boolean"
    },
    "abandoned_checkout_email_delay_hours": {
      "type": "integer"
    },
    "cancellation_message": {
      "type": [
        "string",
        "null"
      ]
    },
    "cancellation_pause_max_intervals": {
      "type": [
        "integer",
        "null"
      ]
    },
    "cancellation_discount": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cancellation discount ID"
    },
    "allowed_countries": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "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."
    },
    "cancellation_reasons": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}