{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/exodus-com/json-schema/exodus-com-settings-schema.json",
  "title": "Settings",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/exodus-com-openapi.json#/components/schemas/Settings",
  "type": "object",
  "properties": {
    "business_id": {
      "type": "string",
      "description": "Your Exodus business id. Stable for the life of the business and also returned as business_id on subscription checkouts."
    },
    "business_name": {
      "type": "string",
      "description": "Your registered business name, set by Exodus during onboarding. Hosted checkout and subscribe pages show display_name instead when it is set."
    },
    "display_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name your customers see on hosted checkout and subscribe pages. null shows business_name instead."
    },
    "background_color": {
      "type": [
        "string",
        "null"
      ]
    },
    "primary_color": {
      "type": [
        "string",
        "null"
      ]
    },
    "is_test": {
      "type": "boolean"
    },
    "settlement_type": {
      "type": "string",
      "enum": [
        "CRYPTO",
        "FIAT"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "settlement_provider": {
      "type": [
        "string",
        "null"
      ]
    },
    "settlement_provider_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "chain_configs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chain_family": {
            "type": "string",
            "enum": [
              "evm",
              "solana"
            ]
          },
          "signer_status": {
            "type": "string",
            "enum": [
              "not_configured",
              "pending_activation",
              "active"
            ]
          },
          "merchant_signer": {
            "type": [
              "string",
              "null"
            ]
          },
          "settlement_address": {
            "type": [
              "string",
              "null"
            ]
          },
          "factory_address": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "chain_family",
          "signer_status",
          "merchant_signer",
          "settlement_address",
          "factory_address"
        ]
      }
    },
    "can_generate_key": {
      "type": "boolean"
    },
    "webhook_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "merchant_id": {
      "type": "string",
      "description": "The merchant id bound into your PaymentFactory and SubscriptionManager contracts: keccak256 of `merchant:<business_id>`."
    },
    "subscription_managers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chain": {
            "type": "string"
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "chain",
          "address"
        ]
      },
      "description": "Your SubscriptionManager contract addresses, one entry per chain where one is deployed, each with its CAIP-2 chain id."
    }
  },
  "required": [
    "business_id",
    "business_name",
    "display_name",
    "background_color",
    "primary_color",
    "is_test",
    "settlement_type",
    "currency",
    "settlement_provider",
    "settlement_provider_id",
    "chain_configs",
    "can_generate_key",
    "webhook_url",
    "merchant_id",
    "subscription_managers"
  ]
}