{"uid":"cap_tPUtnEo_A-70YiV_u7Y83","slug":"agentresolver-x402-payment-preflight-payto-verification-83d3a2d3","name":"AgentResolver — x402 Payment Preflight & PayTo Verification","description":"Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.","url":"https://agentresolver.vercel.app/api/x402-payment-preflight","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"prepaymentDecision":{"decision":"eligible","eligibleForCallerAuthorization":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LxwYk50gDBfBI68bddrPI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies an x402 payment endpoint before committing funds, checking the payTo address, USDC quote, network, asset binding, TLS, and endpoint safety.","exampleAgentPrompt":"Before I pay, can you run a preflight check on this x402 endpoint to confirm the payTo address is live, the USDC quote is correct, and it's safe to pay on Base?","exampleUseCases":[{"title":"Safe pre-payment check for AI agent","prompt":"Before my agent pays that x402 API, can you verify the endpoint is legitimate — check the payTo wallet, USDC amount, and that TLS and resource binding look clean on Base?"},{"title":"Validate new x402 vendor before onboarding","prompt":"I want to start using a new x402-gated data service — can you do a preflight check on their endpoint to confirm the network is Base, the USDC quote matches what they quoted, and the payTo address is actually live?"},{"title":"Catch fraudulent x402 payment targets","prompt":"I got an x402 endpoint URL from a third party — can you run safety checks on it to make sure the payTo address, TLS, and asset binding are all valid before I authorize any payment?"}],"resultDescription":"Returns a JSON object with a prepaymentDecision field containing a decision string (e.g. 'eligible') and an eligibleForCallerAuthorization boolean, plus details about the payTo address, USDC quote, network, asset, resource binding, and TLS/endpoint safety status.","failureModes":["Endpoint URL is unreachable or returns non-x402 response","payTo address is invalid or not live on the specified network","TLS certificate is invalid or endpoint fails safety checks","Network or asset mismatch (e.g. wrong chain or non-USDC asset)","Resource binding does not match the declared endpoint","Decision returned as 'ineligible' if checks fail","HTTP 4xx/5xx if request body is malformed or missing required fields"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely verify an x402 payment target before committing USDC, especially when dealing with unknown or third-party x402 endpoints on Base or Solana. Prefer this over blindly paying any x402 402-response to avoid paying fraudulent, misconfigured, or unsafe payment endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:37:44.228Z","isFirstParty":false}