{"uid":"cap_iP5CSymTQ2-hdXWzgoS_y","slug":"x402-agent-wallet-receipt-gate-policy-3c26fa90","name":"x402 Agent Wallet Receipt Gate Policy","description":"A buyer-side control console for signature risk, EIP-712 review, transaction decoding, ERC20 allowance risk, Permit/Permit2 approvals, transaction simulation summaries, spend guard policy, receipt gate enforcement, and private-key boundaries.","url":"https://x402-wallet.558686.xyz/v1/tools/receipt-gate-policy","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","properties":{"to":{"type":"string","maxLength":80},"data":{"type":"string","maxLength":20000,"minLength":2},"json":{"type":"string","maxLength":50000,"minLength":2},"text":{"type":"string","maxLength":50000,"minLength":2},"chain":{"type":"string","maxLength":80},"value":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"object","additionalProperties":true}]},"target":{"type":"string","maxLength":80},"calldata":{"type":"string","maxLength":20000,"minLength":2},"typedData":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"string","maxLength":50000,"minLength":2}]},"typed_data":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"string","maxLength":50000,"minLength":2}]},"quote_asset":{"type":"string","maxLength":120},"buyer_intent":{"type":"string","maxLength":240},"quote_pay_to":{"type":"string","maxLength":80},"quote_scheme":{"type":"string","maxLength":40},"payment_quote":{"type":"object","additionalProperties":true},"quote_network":{"type":"string","maxLength":80},"known_addresses":{"type":"object","additionalProperties":{"type":"string"}},"quote_amount_usd":{"type":"number","minimum":0},"expected_chain_id":{"oneOf":[{"type":"string"},{"type":"number"}]},"max_usdc_per_call":{"type":"number","maximum":100,"minimum":0.000001},"quote_amount_atomic":{"type":"string","maxLength":80}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"receipt-gate-policy","input":{"maxAgeSeconds":900,"requiredNetwork":"eip155:8453"},"route":"/v1/tools/receipt-gate-policy","result":{"gates":[],"policy":"policy_example"},"project":"x402-agent-wallet-tools","deterministic":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F-ILgsDjcuK2IOxeYez21","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the payment and receipt validation policy for a route, including required network, headers, pay-to address, replay rules, and gate checks for downstream x402 actions.","exampleAgentPrompt":"What's the receipt gate policy for the x402 route — specifically the required network and max receipt age of 300 seconds — so I can verify the pay-to address, replay rules, and gate checks before proceeding with the downstream action?","exampleUseCases":null,"resultDescription":"A policy object specifying the required blockchain network, required HTTP headers, pay-to address, maximum receipt age (replay window), and gate check rules that must be satisfied for downstream x402-protected actions to proceed.","failureModes":["Invalid or unsupported requiredNetwork value returns a 400 error","maxAgeSeconds out of acceptable range returns a validation error","Malformed request body returns a 422 unprocessable entity","Service unavailable returns a 503 with no policy data","Payment of 0.002 USDC not received results in 402 Payment Required before policy is returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs to inspect or enforce the x402 payment receipt validation policy for a specific route before executing or gating a downstream action. Prefer this over hardcoding payment parameters when the policy (network, replay rules, pay-to address) may vary by route or change over time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:12.265Z","isFirstParty":false}