{
  "id": "ku_c1a1cebf5788ffa74c8286de4939fa30",
  "version": 1,
  "domains": [
    "x402",
    "buyer",
    "spend-controls"
  ],
  "insight": {
    "summary": "Your agent refuses to pay: every offer costs more than its per-payment cap.",
    "detail": "Spend controls run before policies. maxAmountPerPayment defaults to 1 USD on default assets; a lower cap you set, or a pricier route, rejects every offer. The message names the cap and the ways to change it. This is the guard working: decide whether the price is right before raising it.",
    "action": "Confirm the price is the one you agreed to. Then raise maxAmountPerPayment for that call, or set a per-asset atomic cap in allowedAssets. Do not turn spend controls off."
  },
  "context": {
    "languages": [
      "typescript"
    ],
    "frameworks": [
      "@x402/fetch",
      "@x402/core"
    ],
    "pattern": "payment-client"
  },
  "evidence": {
    "confidence": 0.9,
    "confirmations": 1,
    "first_observed": "2026-12-02T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "x402 client: \"All payment requirements were rejected by spendControls.maxAmountPerPayment\"",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-fetch",
      "code": "spend-cap-rejects-all-requirements",
      "versions": "@x402/core 2.33.0 reproduced",
      "environment": "EVM exact client, default spend controls",
      "key": "x402/x402-fetch/spend-cap-rejects-all-requirements"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Confirm the price is the one you agreed to. Then raise maxAmountPerPayment for that call, or set a per-asset atomic cap in allowedAssets. Do not turn spend controls off.",
      "snippet": {
        "lang": "ts",
        "text": "const client = new x402Client()\n  .register('eip155:8453', new ExactEvmScheme(signer))\n  .setSpendControls({\n    maxAmountPerPayment: '$0.05',\n    // or per asset, in atomic units (6 decimals for USDC): 50000 = 0.05 USDC\n    allowedAssets: [{ network: 'eip155:8453', asset: 'USDC', maxAmountPerPayment: '50000' }],\n  });"
      }
    },
    "neomorphic:sources": [
      {
        "kind": "observation",
        "observed_at": "2026-12-02",
        "note": "Reproduced on @x402/fetch, core and evm 2.33.0 against a local 402 server (no signing, no network): a 0.01 USDC offer with maxAmountPerPayment $0.005 gave this message, which lists the options."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "buyer",
    "neomorphic:observed_at": "2026-12-02",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
