{"uid":"cap_SitYFu6Z6obYDsifO0rsQ","slug":"anywaypossible-com-payment-guard-693f3565","name":"anywaypossible.com Payment Guard","description":"Verify an x402 purchase before an AI agent signs. Validate the live HTTP 402 challenge, Base network, USDC asset, quoted price, recipient, price ceiling, buyer funding, optional gas reserve, and destination hazards, then receive a machine-readable safe-to-sign, fund, review, or reject decision. No account or API key.","url":"https://anywaypossible.com/api/payment-guard?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["payerAddress","serviceUrl","maxAmountUsdc"],"properties":{"serviceUrl":{"type":"string","format":"uri"},"payerAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"expectedPayTo":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"maxAmountUsdc":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,6})?$"},"minGasReserveEth":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,18})?$"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["decision","safeToSign","riskLevel","quotedAmountUsdc","quotedPayTo","network","asset","checks","alerts","recommendedAction"],"properties":{"asset":{"type":"string"},"alerts":{"type":"array","items":{"type":"string"}},"checks":{"type":"array","items":{"type":"object"}},"network":{"type":"string"},"decision":{"type":"string"},"riskLevel":{"type":"string"},"safeToSign":{"type":"boolean"},"quotedPayTo":{"type":"string"},"quotedAmountUsdc":{"type":"string"},"recommendedAction":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_WAzqmIGM2KnvJzSvpKAQz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an x402 HTTP 402 payment challenge before an AI agent signs it, returning a machine-readable safe-to-sign, fund, review, or reject decision.","exampleAgentPrompt":"Before you sign that x402 payment, run it through Payment Guard — validate the live 402 challenge against a price ceiling of $0.50 USDC, confirm the Base network and USDC asset, check that the recipient address isn't flagged, and make sure my wallet has enough funding and gas before you approve anything.","exampleUseCases":[{"title":"Guard agent from overpaying an API","prompt":"I want you to check this x402 402 challenge before signing — my price ceiling is $0.10 USDC, the network should be Base, and the asset must be USDC. Tell me if it's safe to sign or if I should reject it."},{"title":"Verify recipient address before payment","prompt":"Before my agent pays this x402 invoice, validate that the recipient address isn't a known hazard destination and that the quoted price of $0.05 USDC matches what was agreed — give me a clear safe-to-fund or reject decision."},{"title":"Check wallet funding before approving","prompt":"Can you confirm my wallet has enough USDC and ETH for gas on Base to cover this x402 payment challenge before my agent signs anything? I want to make sure we won't fail mid-transaction."}],"resultDescription":"A machine-readable decision object indicating safe-to-sign, fund, review, or reject, along with details on the validated fields: network, asset, price, recipient, funding status, gas reserve adequacy, and any destination hazards detected.","failureModes":["Invalid or expired 402 challenge returns rejection decision","Insufficient buyer USDC funding triggers reject or review flag","Wrong network (non-Base) causes validation failure","Price exceeds ceiling threshold returns reject decision","Recipient address flagged as hazardous returns reject","Missing required fields in the 402 challenge body returns error","Gas reserve insufficient triggers review or reject decision"],"whenToPreferThis":"Use this endpoint when an AI agent needs to autonomously decide whether to sign an x402 HTTP 402 payment challenge on the Base network using USDC, especially when safety guardrails, price ceilings, recipient verification, and funding checks are required before committing a transaction. Prefer over building custom validation logic when you need a no-account, no-API-key, one-call decision primitive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:48:08.377Z","isFirstParty":false,"canonicalSlug":"anywaypossible-com-payment-guard-693f3565"}