{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clawbots-org/json-schema/clawbots-org-post-api-tools-x402-cost-guard-request-schema.json",
  "title": "PostApiToolsX402CostGuardRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/clawbots-org-openapi-generated.yml#/components/schemas/PostApiToolsX402CostGuardRequest",
  "type": "object",
  "properties": {
    "accepts": {
      "type": "array",
      "description": "Payment requirements copied from an x402 envelope's accepts/paymentRequirements array."
    },
    "maxUsdc": {
      "type": "number",
      "description": "Maximum acceptable spend in decimal USDC."
    },
    "preferredNetwork": {
      "type": "string",
      "description": "Preferred payment network."
    },
    "preferredAsset": {
      "type": "string",
      "description": "Preferred asset."
    },
    "allowMissingPayTo": {
      "type": "boolean",
      "description": "If false, requirements missing a payTo/recipient are not eligible."
    }
  },
  "required": [
    "accepts"
  ]
}