{"uid":"cap_WTXRGU3rU3S6pEqlIBAjd","slug":"pay-guard-x402-pre-payment-safety-check-946f1201","name":"Pay Guard – x402 Pre-Payment Safety Check","description":"Score JSON, code, scrapes and LLM output for quality before your agent uses it: broken JSON auto-repair, schema checks, blocked-scrape and refusal detection. $0.03 per check via x402.","url":"https://seenly-pay-guard.vercel.app/api/guard?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"asset":{"type":"string","default":"USDC"},"payTo":{"type":"string","description":"Shortcut: challenge.payTo at top level."},"amount":{"type":"string"},"domain":{"type":"string","description":"Planned seller domain / host the agent intends to pay."},"network":{"type":"string","default":"eip155:8453"},"challenge":{"type":"object","required":["payTo","amount"],"properties":{"asset":{"type":"string"},"payTo":{"type":"string"},"amount":{"type":"string","description":"Atomic USDC units (6 decimals), e.g. \"10000\" = $0.01."},"network":{"type":"string"},"resource":{"type":"string","description":"HTTPS resource URL from the 402."}},"description":"The x402 402 challenge / accept entry the agent received."},"requestKey":{"type":"string","maxLength":128},"max_price_usd":{"type":"number","minimum":0,"description":"Hard cap the agent will not exceed (USD)."},"listed_price_usd":{"type":"number","minimum":0,"description":"Optional expected listed price from the agent’s plan."}}},"responseSchema":{"type":"json","example":{"kit":"seenly.pay-guard","advice":"Safe to sign this 402 challenge under the stated plan.","checks":{"wash":{"id":"wash","status":"pass","summary":"No wash flags; payment evidence present."},"price":{"id":"price","status":"pass","summary":"Challenge price $0.03 ≤ max $0.05."},"lookalike":{"id":"lookalike","status":"pass","summary":"Resource host matches planned domain."},"url_safety":{"id":"url_safety","status":"pass","summary":"Resource URL is https, no credentials, no IP literal."},"listed_price":{"id":"listed_price","status":"pass","summary":"Challenge price within listed range."},"asset_network":{"id":"asset_network","status":"pass","summary":"Asset/network OK (USDC on eip155:8453)."},"wallet_domain":{"id":"wallet_domain","status":"pass","summary":"payTo matches the domain’s verified Agentropolis wallet."}},"reasons":[],"verdict":"allow","coverage":{"notes":[],"agentropolis":"full"},"check_version":"pay-guard-0.1.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2OPC0uT2mUkD0x9e5hqfM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a planned x402 micropayment before execution by checking wallet-domain trust, price limits, asset/network correctness, URL safety, lookalike domains, and wash-trading flags.","exampleAgentPrompt":"Before you pay that x402 challenge from api.example.com — payTo 0xABC...123, amount 10000 USDC atomic units on Base — run it through Pay Guard with my max price cap of $0.05 and tell me if it's safe to proceed.","exampleUseCases":[{"title":"Block overprice attack on agent","prompt":"My AI agent just received a 402 response from data-feeds.io asking for $2.00 USDC on Base — but I told it never to pay more than $0.10. Run it through Pay Guard and block the payment if the price exceeds my cap."},{"title":"Lookalike domain phishing screen","prompt":"Before my agent pays the x402 challenge from 'coinbaise.com' (payTo 0xDEF...456, 1000 USDC atomic units, Base network), check Pay Guard to see if that domain is a lookalike or known phishing site."},{"title":"Wallet-domain trust verification","prompt":"I want to make sure the wallet address 0x789...ABC in this 402 challenge is actually verified for the domain seenly.io before my agent sends any USDC on Base — can Pay Guard confirm that?"}],"resultDescription":"Returns a verdict of allow, warn, or block along with detailed sub-checks: whether the wallet address is verified for the seller domain, whether the requested amount stays within the agent's price cap, whether the asset and network match expectations, whether the resource URL or domain shows lookalike/phishing signals, and whether wash-trading flags have been raised by Agentropolis.","failureModes":["Missing required challenge.payTo or amount fields returns a validation error","Domain not found or unverifiable results in a warn or block verdict with a domain-check failure reason","Amount exceeds max_price_usd cap triggers a block verdict","Network or asset mismatch returns a warn or block with asset/network mismatch reason","Invalid atomic unit format for amount may cause parsing errors","Agentropolis wash-flag service unavailable may degrade wash-check sub-result"],"whenToPreferThis":"Use Pay Guard when your AI agent is about to execute an x402 micropayment and you need a fast, deterministic, non-LLM safety layer that combines domain trust, price enforcement, network validation, and phishing/wash-trade detection in a single call. Prefer this over manual checks or generic URL scanners when operating in the x402 protocol ecosystem specifically, where the 402 challenge structure (payTo, amount, asset, network, resource) is the native input format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T06:31:36.998Z","isFirstParty":false,"canonicalSlug":"pay-guard-x402-pre-payment-safety-check-946f1201"}