{"uid":"cap_cYY1Zr-RJLKKH_hIpkdHw","slug":"x402-pre-payment-firewall-wallet-risk-ofac-sanctions-screen-b0e1add3","name":"x402 Pre-Payment Firewall — Wallet Risk & OFAC Sanctions Screen","description":"Pre-payment risk firewall for AI agents: validate {recipient, amount, chain} BEFORE sending an x402 payment and get ALLOW/REVIEW/BLOCK in <200ms — OFAC blocklist, sanctioned-mixer check, runaway-overspend vs expected price and anomalous-amount guard. Stop an agent from overpaying or paying a bad address; transaction risk screening and payment guardrail before send. The hosted spending guard / agent budget protection an offline SDK cannot give.","url":"https://x402-endpoints.onrender.com/x402/payment-firewall?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["to_address"],"properties":{"chain":{"type":"string","description":"base | ethereum | solana | bitcoin | tron (optional; inferred from address)"},"amount":{"type":"number","description":"Payment amount in USD, e.g. 0.01"},"to_address":{"type":"string","description":"Recipient/payTo address (EVM 0x.., Solana, BTC, TRON, XRP)"},"expected_price":{"type":"number","description":"Price the resource advertised — flags runaway overspend"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"error":null,"query":{"chain":"base","amount":0.01,"to_address":"0x1D1B81247C407521E2A01F3E21514870dcf1620f","expected_price":0.01},"cached":false,"reasons":[{"code":"NO_RISK_SIGNAL","label":"No blocklist hit or spend anomaly detected","weight":-0.5}],"verdict":"ALLOW","recipient":{"valid":true,"known_mixer":false,"detected_chain":"evm","ofac_sanctioned":false},"timestamp":"2026-06-29T12:00:00Z","confidence":0.9,"disclaimer":"Automated pre-payment risk screen, not legal/financial advice. ALLOW is not a guarantee.","data_freshness":{"as_of":"2026-06-29T12:00:00Z","sources":["OFAC SDN crypto addresses (0xB10C mirror)","local chain validation","internal spend baseline"],"age_seconds":0,"retrieved_at":"2026-06-29T12:00:00Z","deterministic":true,"ofac_lists_loaded":{"ETH":true},"blocklist_size_evm":612}}},"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_VhaREviJuzP2LzHWrrk3r","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":"Screens a crypto payment recipient address for OFAC sanctions, blocklist hits, known mixers, and spend anomalies before an agent authorizes a payment, returning a structured ALLOW/BLOCK verdict with confidence score.","exampleAgentPrompt":"Before you send that 0.01 USDC payment on Base to wallet address 0x1D1B81247C407521E2A01F3E21514870dcf1620f, run a pre-payment firewall check to make sure it's not OFAC-sanctioned or on any blocklist — I need an ALLOW or BLOCK verdict before we proceed.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a top-level 'verdict' field (ALLOW or BLOCK), a 'confidence' score (0–1), an array of 'reasons' each with a code, label, and weight, a 'recipient' object indicating validity, known_mixer status, detected chain, and OFAC sanctioned boolean, plus a 'data_freshness' block showing blocklist sources and age. Also includes any 'error', cached status, and a disclaimer that this is automated pre-payment risk screening.","failureModes":["Missing or malformed to_address returns a validation error","Unsupported chain identifier results in a 400-level error","OFAC list temporarily unavailable may reduce confidence or return a partial result","Amount or expected_price mismatch triggers a spend-anomaly reason code","Address not recognized by chain detector returns detected_chain as unknown"],"whenToPreferThis":"Use this endpoint immediately before any agent-initiated crypto payment when you need a real-time, structured ALLOW/BLOCK verdict backed by the OFAC SDN list and internal blocklists. Prefer it over manual lookups or generic compliance APIs when the agent must make an autonomous payment decision, needs machine-readable risk reasons with weights, or when regulatory compliance (OFAC, US Treasury) is a hard requirement. It is particularly suited for multi-chain payments (EVM, Solana, BTC, TRON, XRP) where chain inference from address format is convenient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:45:30.847Z","isFirstParty":false,"canonicalSlug":"x402-pre-payment-firewall-wallet-risk-ofac-sanctions-screen-b0e1add3"}