Use this when a buyer-side agent or MCP client has a live x402 quote but needs a final policy check before a wallet-owned payment.
node examples/agent-payment-risk-gate/agent-payment-risk-gate.mjs
Optional MCP route:
ROUTE_ID=x402-mcp-integration-kit node examples/agent-payment-risk-gate/agent-payment-risk-gate.mjs
The gate checks HTTP 402 quote status, amount, network, payTo, spend cap, and receipt evidence requirements. It does not use private keys, sign, pay, broadcast, register, or do KYC.
Expected policy values:
eip155:84530x1f0130669ca6fd02e025a984cc038f139df19a2f0.02 USDCwallet-signing-safety-packfalseAfter an intentional buyer-owned payment, verify x-x402-receipt-id or x-x402-receipt-url with the x402 Receipt Verifier.