{"uid":"cap_W29X7S91QiF0259U0O6Zc","slug":"agentresolver-x402-payment-preflight-payto-verification-95a28f88","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/payment-guard","method":"GET","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_IoV4020hF24wct0Ag6wdb","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 executing payment by checking the payTo address, USDC quote, network, asset binding, TLS safety, and resource validity on Base or Solana.","exampleAgentPrompt":"Before I pay for that x402 API, can you run a payment preflight check on it — verify the payTo address, USDC quote, and TLS safety, and tell me if it's eligible for caller authorization?","exampleUseCases":[{"title":"Pre-payment safety check for AI agent","prompt":"I'm about to let my agent pay for an x402-gated data API on Base — can you verify the endpoint first, confirm the payTo address is valid, and tell me if the USDC quote and resource binding look correct before any funds move?"},{"title":"Validating a Solana x402 micropayment endpoint","prompt":"I found a Solana-based x402 API I want to use — can you run a preflight check on it to make sure the network, asset, and payTo details are legitimate and TLS is clean?"},{"title":"Confirming caller authorization eligibility","prompt":"Before my agent settles this x402 payment on Base, check the payment guard endpoint and let me know if it comes back as eligible for caller authorization and what the current USDC quote is."}],"resultDescription":"Returns a JSON object containing a prepaymentDecision with a decision field (e.g. 'eligible') and an eligibleForCallerAuthorization boolean, along with details on the verified payTo address, USDC quote, network, asset binding, TLS status, and endpoint safety assessment.","failureModes":["Invalid or unreachable x402 endpoint URL — returns decision 'ineligible' or error","TLS certificate failure on target endpoint — flagged as unsafe","Invalid or non-checksummed payTo address — verification fails","Unsupported network (not Base or Solana) — returns error","Mismatched asset or resource binding — flagged as ineligible","Rate limiting or service unavailability — HTTP 429 or 503"],"whenToPreferThis":"Use this endpoint when an AI agent needs to validate an x402-gated API before authorizing or executing a USDC micropayment, particularly when safety, legitimacy of the payTo address, TLS integrity, and network/asset binding need to be confirmed prior to any financial transaction. Prefer this over blindly paying an x402 endpoint when operating autonomously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:30:20.612Z","isFirstParty":false}