{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-internal-auto-recharge-reconcile-request-schema.json",
  "title": "InternalAutoRechargeReconcileRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-internal-api-openapi.yml#/components/schemas/InternalAutoRechargeReconcileRequest",
  "properties": {
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "When true, report missing grants without granting",
      "default": false
    },
    "since_hours": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 720.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Since Hours",
      "description": "Lookback window in hours"
    },
    "limit_settings": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Limit Settings",
      "description": "Maximum settings rows to scan"
    },
    "limit_payment_intents_per_customer": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 100.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Limit Payment Intents Per Customer",
      "description": "Maximum PaymentIntents to list per Stripe customer"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id",
      "description": "Optional user ObjectId for targeted reconciliation"
    }
  },
  "type": "object"
}