{"uid":"cap_YuUkfEQD-usOOihD64tvY","slug":"safepay402-x402-payment-guardian-c5a1d42f","name":"SafePay402 — x402 Payment Guardian","description":"Pre-payment security checks for x402 payments. Explainable ALLOW/REVIEW/BLOCK/UNKNOWN verdicts with risk signals, before an AI agent sends funds. The paid endpoint is monetized via the x402 protocol (USDC on Base): an unpaid request returns HTTP 402 with payment requirements.","url":"https://guard.46-225-25-237.sslip.io/v1/guard/check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["resource_url","payee_address"],"properties":{"asset":{"type":"string","description":"Payment asset symbol, e.g. USDC"},"amount":{"type":"string","description":"Payment amount in asset units, e.g. 0.025"},"policy":{"type":"object","description":"Optional agent policy: allowed_networks[], allowed_assets[], max_amount"},"network":{"type":"string","description":"CAIP-2 network id, e.g. eip155:8453 (Base)"},"payment_id":{"type":"string","description":"Optional idempotency key — repeated calls return the cached verdict"},"resource_url":{"type":"string","description":"The x402 resource URL the agent is about to pay"},"payee_address":{"type":"string","description":"EVM address (0x…) that would receive the payment"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"signals":[{"type":"positive","source":"live_probe","description":"Live check: the endpoint's 402 response demands exactly this payee address"},{"type":"positive","source":"onchain","description":"Payee wallet has existed for over 10 months"}],"sources":["sanctions","onchain","live_probe","historical_x402"],"summary":"No significant risk signals. The payee and payment terms look trustworthy.","verdict":"ALLOW","checked_at":"2026-07-21T09:15:33Z","confidence":0.87,"risk_score":12,"recommendation":"Payment can be executed safely.","ruleset_version":"2026.07.1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_x3hZOF2U-q7n6qkOZShte","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs pre-payment security checks on x402 payment targets and returns an explainable ALLOW/REVIEW/BLOCK/UNKNOWN verdict with risk signals before an AI agent sends funds.","exampleAgentPrompt":"Before paying 0.025 USDC to wallet 0x1234abcd5678ef on Base for this resource URL https://api.example.com/v1/data, run a SafePay402 security check — tell me the verdict and any risk signals so I know whether it's safe to send.","exampleUseCases":[{"title":"Screen unknown API vendor before paying","prompt":"I'm about to pay 0.05 USDC to wallet address 0xDeAdBeEf1234567890abcdef1234567890AbCdEf on Base for access to https://data.somedomain.io/v1/prices — can you run a SafePay402 check first and tell me whether the verdict is ALLOW, REVIEW, or BLOCK, and what the main risk signals are?"},{"title":"Enforce agent policy on crypto micropayments","prompt":"My agent policy only allows payments on eip155:8453 up to 0.10 USDC in USDC. Before the agent pays 0.02 USDC to 0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234 for https://guard.someapi.io/v1/feed, check it against SafePay402 and block it if the verdict isn't ALLOW."},{"title":"Audit a suspicious 402 redirect","prompt":"I got redirected to an x402 payment page asking me to pay 0.10 USDC to 0xBadActor0000000000000000000000000000cafe on network eip155:8453 for https://sketchy-api.xyz/premium — please run a SafePay402 risk check on that payee and URL and tell me the risk score, verdict, and recommendation before I approve anything."}],"resultDescription":"A JSON object containing: a verdict (ALLOW, REVIEW, BLOCK, or UNKNOWN), a numeric risk_score (0-100), a confidence value (0-1), an array of risk signals each tagged with type (positive/negative) and source (sanctions, onchain, live_probe, historical_x402), a human-readable summary and recommendation, the sources checked, the ruleset_version used, and a checked_at timestamp.","failureModes":["Missing required query parameters (resource_url or payee_address) returns a 400 error","Unpaid request returns HTTP 402 with x402 payment requirements — the caller must pay 0.02 USDC before receiving a verdict","Invalid EVM address format for payee_address causes a validation error","Unreachable resource_url may result in a UNKNOWN verdict with reduced confidence","Rate limiting or upstream sanctions/onchain data unavailability may delay or degrade response quality"],"whenToPreferThis":"Use this endpoint when an AI agent is operating autonomously with a crypto wallet and needs a pre-flight safety check before executing any x402 micropayment — especially when the payee address or resource URL is unfamiliar, user-supplied, or discovered dynamically. It is the right choice when explainability (human-readable signals and verdicts) and policy enforcement (allowed networks, assets, max amounts) matter more than raw speed. Prefer it over skipping verification entirely whenever autonomous fund transfers are involved.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:38:34.014Z","isFirstParty":false}