{
  "endpoint": "https://policy-gate.3labsio.workers.dev/v1/check",
  "method": "POST",
  "paid": true,
  "usage": "POST { \"policy_id\": \"default-action-tiers\" | \"policy\": {...}, \"request\": { \"action\": \"...\", \"params\": {...} }, \"ledger\"?: { \"committed_usd\": 0, \"intended_usd\": 0 } }",
  "ledger": {
    "what": "Optional cumulative exposure for the window. A per-action gate cannot see repetition: 49 payments of $40 each pass a $50 rule individually.",
    "fields": "committed_<field> plus intended_<field>, summed. intended counts so a burst still in flight is not invisible to the cap bounding it.",
    "fails_closed": "If a policy declares a cumulative condition and no ledger is sent, the verdict is deny with ledger_required: true. Explicit zeros are an answer; an omitted ledger is not.",
    "unresolved": "unknown_<field> greater than zero means an effect was dispatched and never resolved. Any outstanding unknown denies with unresolved_intent: true, regardless of headroom, because the system has lost track of that quantity. It closes by observing the target, never by a clock."
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "maxAmountRequired": "5000",
      "resource": "https://policy-gate.3labsio.workers.dev/v1/check",
      "description": "Deterministic allow / require_approval / deny verdict for a proposed agent action. Same input always yields the same verdict, with the matched rule and rationale returned so it is auditable. Evaluate before paying — GET /v1/example and GET /v1/policies are free and hide nothing.",
      "mimeType": "application/json",
      "payTo": "0x07C2383008a9ed30581f27Db5531E19411c94fb3",
      "maxTimeoutSeconds": 60,
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      }
    }
  ],
  "fallback": {
    "scheme": "stripe",
    "network": "fiat",
    "amountUsd": 42,
    "asset": "USD",
    "url": "https://buy.stripe.com/eVq4gA91U3Rr1Yt6z31sQ00",
    "methods": [
      "card",
      "cashapp",
      "link",
      "us_bank_account",
      "klarna",
      "afterpay_clearpay",
      "affirm"
    ],
    "delivers": "Fieldproof Ethics Check kit and the CFO/COO/CTO/CISO Word kits",
    "doesNotDeliver": "the Agentic AI Governance Pack",
    "packUrl": "https://store.3labs.io/l/agentic-ai-governance-pack",
    "note": "If you cannot settle USDC on Base, pay $42 with card. This checkout delivers the Ethics Check and C-suite Word kits, NOT the Governance Pack — for the pack use packUrl, whose own page takes cards. One payment meets the first-$42 bar."
  },
  "price_usd": "0.005",
  "protocol": "x402 — POST without payment returns 402 with signing instructions; fallback.url is the $42 card path",
  "evaluate_before_paying": [
    "https://policy-gate.3labsio.workers.dev/v1/example",
    "https://policy-gate.3labsio.workers.dev/v1/policies"
  ],
  "discovery": "https://policy-gate.3labsio.workers.dev/.well-known/x402"
}