{"uid":"cap_oK8UXzGiRDXj_D_SaW8Vx","slug":"x402-agentic-precheck-payment-policy-validator-ebe06e72","name":"x402 Agentic Precheck — Payment Policy Validator","description":"Pre-pay risk verdict (allow / warn / block) before an agent settles any x402 payment — checks payee validity, OFAC sanctions, price gouging, asset/network, and spend policy. Part of x402 Agentic, the payment-trust suite for AI agents on Base USDC.","url":"https://api.x402agentic.ai/precheck?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["payTo","amount","network"],"properties":{"payTo":{"type":"string","description":"Destination address from the 402 envelope"},"amount":{"type":"number","description":"Price in USD the endpoint is asking for"},"network":{"type":"string","description":"Settlement network"},"category":{"enum":["llm-compact","llm","market-data","crypto-data","rpc","scrape","web-search","social-data","data-enrichment","image-gen","video-gen","prediction","identity","generic"],"type":"string","description":"Service category for price-band comparison"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"flags":[],"verdict":"allow","riskScore":0,"recommendation":"proceed"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_usg_yyVZ3ozl4qbKwuhNC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and pre-checks a 402 payment challenge or payment parameters before an autonomous agent commits funds, enabling policy-gated spend decisions.","exampleAgentPrompt":"Before my agent pays that 402-gated API, run a precheck on the challenge — it's asking for 0.10 USDC on the Base network, payTo 0xAbC...123, for a 'data' category resource at https://api.example.com/data, and my policy caps single payments at 0.25 USDC.","exampleUseCases":null,"resultDescription":"Returns a precheck result object indicating whether the payment request passes policy, is within acceptable price bands for the service category, and whether the agent should proceed with payment — without actually executing any transaction.","failureModes":["Amount exceeds caller spend policy limit — returns policy violation","Invalid or unrecognized asset symbol — returns validation error","Malformed 402 challenge envelope — returns parse error","Unknown or untrusted facilitator host — returns facilitator warning","Network mismatch between policy and challenge — returns network error","Missing required fields when challenge object is not provided — returns parameter error"],"whenToPreferThis":"Use this endpoint when an autonomous AI agent receives a 402 Payment Required response and needs to validate the payment challenge against a spend policy before committing funds. Prefer this over directly paying when you need policy enforcement, price-band sanity checks, or trust verification of the facilitator and destination address. It is a read-only gate — no funds move — making it safe to call before any payment execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:35:56.909Z","isFirstParty":false,"canonicalSlug":"x402-agentic-precheck-payment-policy-validator-ebe06e72"}