{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/llm-broker-net/json-schema/llm-broker-net-broker-create-account-request-schema.json",
  "title": "BrokerCreateAccountRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/llm-broker-net-openapi.json#/components/schemas/BrokerCreateAccountRequest",
  "properties": {
    "accept_terms": {
      "description": "Required with shared_payment_token: you accept https://llm-broker.net/terms.",
      "type": "boolean"
    },
    "amount": {
      "description": "Top-up in `currency` (default CHF) — required when billing=topup. Credited in CHF at the ECB daily rate of the checkout.",
      "enum": [
        10,
        25,
        50
      ],
      "type": "integer"
    },
    "billing": {
      "description": "topup = prepaid credit (requires amount), monthly = monthly invoice (requires limit). Omit billing entirely for a topup of the smallest amount of the currency.",
      "enum": [
        "topup",
        "monthly"
      ],
      "type": "string"
    },
    "category": {
      "description": "Optional default of the key (with level). Omit both to choose per request with routing.",
      "enum": [
        "coding",
        "reasoning",
        "math",
        "instruction_following"
      ],
      "type": "string"
    },
    "currency": {
      "default": "USD",
      "description": "Payment currency (default USD). The card is charged in it; your balance is kept in CHF (ECB daily rate).",
      "enum": [
        "USD",
        "EUR",
        "CHF",
        "GBP",
        "JPY",
        "CNY",
        "AED",
        "AFN",
        "ALL",
        "AMD",
        "ANG",
        "AOA",
        "ARS",
        "AUD",
        "AWG",
        "AZN",
        "BAM",
        "BBD",
        "BDT",
        "BIF",
        "BMD",
        "BND",
        "BOB",
        "BRL",
        "BSD",
        "BWP",
        "BYN",
        "BZD",
        "CAD",
        "CDF",
        "CLP",
        "COP",
        "CRC",
        "CVE",
        "CZK",
        "DJF",
        "DKK",
        "DOP",
        "DZD",
        "EGP",
        "ETB",
        "FJD",
        "FKP",
        "GEL",
        "GIP",
        "GMD",
        "GNF",
        "GTQ",
        "GYD",
        "HKD",
        "HNL",
        "HTG",
        "HUF",
        "IDR",
        "ILS",
        "INR",
        "ISK",
        "JMD",
        "KES",
        "KGS",
        "KHR",
        "KMF",
        "KRW",
        "KYD",
        "KZT",
        "LAK",
        "LBP",
        "LKR",
        "LRD",
        "LSL",
        "MAD",
        "MDL",
        "MGA",
        "MKD",
        "MMK",
        "MNT",
        "MOP",
        "MUR",
        "MVR",
        "MWK",
        "MXN",
        "MYR",
        "MZN",
        "NAD",
        "NGN",
        "NIO",
        "NOK",
        "NPR",
        "NZD",
        "PAB",
        "PEN",
        "PGK",
        "PHP",
        "PKR",
        "PLN",
        "PYG",
        "QAR",
        "RON",
        "RSD",
        "RUB",
        "RWF",
        "SAR",
        "SBD",
        "SCR",
        "SEK",
        "SGD",
        "SHP",
        "SLE",
        "SOS",
        "SRD",
        "SZL",
        "THB",
        "TJS",
        "TOP",
        "TRY",
        "TTD",
        "TWD",
        "TZS",
        "UAH",
        "UGX",
        "UYU",
        "UZS",
        "VND",
        "VUV",
        "WST",
        "XAF",
        "XCD",
        "XCG",
        "XOF",
        "XPF",
        "YER",
        "ZAR",
        "ZMW"
      ],
      "type": "string"
    },
    "email": {
      "description": "Required with shared_payment_token: the responsible person or company.",
      "format": "email",
      "type": "string"
    },
    "level": {
      "description": "Optional default level of the key (with category); every request can override it with routing.level or routing.min_score. Only one of category/level ⇒ 400.",
      "enum": [
        "solid",
        "strong",
        "top",
        "best"
      ],
      "type": "string"
    },
    "limit": {
      "description": "Monthly limit in `currency` (default CHF) — required when billing=monthly.",
      "enum": [
        50,
        100,
        250
      ],
      "type": "integer"
    },
    "shared_payment_token": {
      "description": "Stripe Shared Payment Token (spt_…) issued to LLM Broker by your agent platform: pays the topup without a browser and returns the key immediately (201). Needs accept_terms and email. Topup only; one token pays once; at most 3 accounts per card per day.",
      "type": "string"
    }
  },
  "type": "object"
}