{"uid":"cap_QcUnzQWy8XrLo9_whNEpw","slug":"spendguard-x402-pre-payment-honesty-check-9dbab5c0","name":"SpendGuard x402 Pre-Payment Honesty Check","description":"Should I pay this x402 endpoint? Pre-payment honesty check for AI agents: live-probe any resource URL for a valid 402 Payment Required challenge, match payTo and budget, return allow/caution/block with signals. Bazaar seller readiness before spend. Not post-payment delivery proof. $0.005 USDC on Base.","url":"https://spendguard.panmediatech.workers.dev/x402/check","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__hwEJsNW2JIJjT-jOPqw1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Live-probes a resource URL for a valid x402 Payment Required challenge and returns allow/caution/block verdict with signals before an AI agent pays","exampleAgentPrompt":"Before I pay that x402 endpoint at https://api.example.com/data, run a SpendGuard honesty check on it — my budget is $0.10 USDC on Base — and tell me whether I should allow, treat with caution, or block the payment.","exampleUseCases":[{"title":"Verify Bazaar seller payment endpoints","prompt":"I found a data service on Bazaar that claims to accept x402 payments. Can you run a SpendGuard check on their endpoint before I send any USDC? I want to make sure the payTo address is real and matches what they advertised."},{"title":"Validate third-party API payment challenges","prompt":"My agent discovered a new API for market data that requires x402 payment. Before paying, can you probe it with SpendGuard to see if the 402 challenge is legitimate and if the payment destination looks trustworthy?"},{"title":"Pre-flight check unknown resource URLs","prompt":"I'm about to have my agent pay for this dynamically discovered resource, but I don't recognize the URL. Run a SpendGuard honesty check on it first with my $0.05 USDC budget and tell me if it's safe to proceed."}],"resultDescription":"Returns a JSON object with a numeric score, a verdict enum (allow/caution/block), an array of signals explaining the assessment, a human-readable summary, the resource URL that was checked, the detected network, the payTo wallet address found in the 402 challenge, a checked_at timestamp, and a cache hit/miss indicator.","failureModes":["Resource URL is unreachable or returns non-402 status — endpoint may return block verdict with signals indicating no valid challenge","payTo address missing or malformed in 402 challenge — verdict likely caution or block","Network mismatch between detected chain and expected budget network — caution signal raised","Service itself unavailable or Worker error — HTTP 500 with no verdict","Malicious resource attempts to spoof valid 402 headers — signals may not catch all sophisticated spoofs"],"whenToPreferThis":"Use this endpoint whenever an AI agent is about to make an x402 micropayment and needs a pre-payment sanity check — especially when the resource URL is unknown, third-party, or discovered dynamically (e.g. from a Bazaar listing). Prefer this over trusting raw 402 headers directly, particularly when budget constraints or wallet address verification matter. Not suitable as a post-payment delivery proof mechanism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:25.725Z","isFirstParty":false}