{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/supercomputer-sh/json-schema/supercomputer-sh-put-v1-billing-autorefill-request-schema.json",
  "title": "PutV1BillingAutorefillRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/supercomputer-sh-openapi-generated.yml#/components/schemas/PutV1BillingAutorefillRequest",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Enable autorefill"
    },
    "threshold_usd_micros": {
      "type": "integer",
      "description": "Balance threshold"
    },
    "amount_usd_micros": {
      "type": "integer",
      "description": "Refill amount"
    },
    "daily_cap_usd_micros": {
      "type": "integer",
      "description": "Daily cap"
    },
    "weekly_cap_usd_micros": {
      "type": "integer",
      "description": "Weekly cap"
    }
  },
  "required": [
    "enabled",
    "threshold_usd_micros",
    "amount_usd_micros"
  ]
}