{
  "Zai": {
    "ApiBaseUrl": "https://api.z.ai/api",
    "BalanceEndpoint": "/platform-charge-zai/business/accountBalance",
    "CustomerInfoEndpoint": "/biz/customer/getCustomerInfo",
    "NativeCurrency": "USD",
    "DisplayCurrency": "USD",
    "ExchangeRateApi": "https://open.er-api.com/v6/latest/USD",
    "ExchangeRateCacheHours": 24,
    "ApiKeyEnvVar": "ZAI_API_KEY",
    "SessionTokenEnvVar": "ZAI_SESSION_TOKEN",
    "EnvFilePath": ""
  },
  "NLog": {
    "throwConfigExceptions": true,
    "targets": {
      "async": true,
      "logfile": {
        "type": "File",
        "fileName": "${basedir}/logs/statusline-${shortdate}.log",
        "layout": "${longdate} ${level:uppercase=true} | ${logger} | ${message} ${exception:format=tostring}",
        "archiveEvery": "Day",
        "archiveNumbering": "Date",
        "maxArchiveFiles": 7
      }
    },
    "rules": [
      {
        "logger": "*",
        "minLevel": "Warn",
        "writeTo": "logfile"
      }
    ]
  }
}
