{"uid":"cap__FIkiUcJsxrai10eJ_QgQ","slug":"x402-ofac-sdn-pay-check-api-4eaa4e3e","name":"x402 OFAC SDN Pay-Check API","description":"Pay-per-call directional OFAC SDN screen for AI agents (USDC on Base + Solana via x402). Potential matches only — not clearance.","url":"https://x402-ofac-api.vercel.app/api/v1/pay-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Endpoint URL being paid (for host age)"},"name":{"type":"string","description":"Optional payee/operator legal name for SDN fuzzy match"},"wallet":{"type":"string","description":"Payee wallet to check against OFAC SDN crypto addresses"},"wallets":{"type":"array","items":{"type":"string"},"description":"Up to 10 extra wallets"},"price_usd":{"type":"number","description":"Optional price in USD if not in payment_required"},"mpp_request":{"type":"object","description":"Decoded MPP challenge request object (recipient/amount/resource)"},"check_host_age":{"type":"boolean","description":"RDAP domain age lookup (default true)"},"payment_required":{"type":"object","description":"x402 PAYMENT-REQUIRED body/header (object, JSON string, or base64). payTo, amount, asset, resource are read from it."},"www_authenticate":{"type":"string","description":"MPP WWW-Authenticate Payment challenge header value (method=\"tempo\"|\"stripe\", request=<base64url>)"}}},"responseSchema":{"type":"json","example":{"checks":{"host":{"status":"ok","age_days":3650},"price":{"status":"ok","max_usd":0.01,"trap_threshold_usd":1000},"name_match":{"status":"no_match","top_score":0},"ofac_wallet":{"hits":[],"status":"no_match"}},"reasons":[],"receipt":{"alg":"Ed25519","sha256":"…","signed":true,"list_as_of":"2026-10-10T04:18:02.953473+00:00","receipt_id":"pc_…"},"verdict":"CLEAR","disclaimer":"Directional pre-payment check only. CLEAR means none of these checks raised a flag; it is not a clearance, certification, or attestation, and not legal or compliance advice. OFAC SDN only (wallets listed in SDN remarks + name fuzzy match) — no chain analysis, no UK/EU/UN lists. Verify against official OFAC publications.","potential_matches_only":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hi83e-RAoNCT7wZgPIfDm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Screens a payee's wallet address, name, and domain against the OFAC Specially Designated Nationals list before an x402 micropayment is made","exampleAgentPrompt":"Before I pay this x402 API endpoint at https://some-api.example.com, screen the payee wallet 0xAbC123... and the operator name 'Acme Trading LLC' against the OFAC SDN list to make sure they're not sanctioned.","exampleUseCases":[{"title":"Pre-payment wallet sanctions check","prompt":"I'm about to send a USDC micropayment to wallet 0xDeAdBeEf... via x402 — can you run an OFAC SDN check on that address and the payee name 'Nova Commerce Ltd' before I proceed?"},{"title":"AI agent autonomous payment guard","prompt":"My agent is processing an x402 payment challenge from https://data-vendor.io — screen the payment_required object and the payee wallet for OFAC sanctions hits before my agent pays."},{"title":"Fuzzy name screening for onboarding","prompt":"We're onboarding a new API vendor called 'Rashid Al-Farouq Consulting' — can you fuzzy-match that name against the OFAC SDN list and tell me the top match score?"}],"resultDescription":"Returns a JSON object with a top-level 'verdict' field (CLEAR or POTENTIAL_MATCH), per-check statuses for host age, price sanity, name fuzzy match, and wallet SDN hits, a list of any flagged reasons, and a signed receipt with the OFAC list timestamp and a unique receipt ID. Includes a prominent disclaimer that CLEAR is not a legal clearance or certification.","failureModes":["Payment not received or invalid x402 payment header — returns 402 Payment Required","Wallet address format unrecognized — check may return error or skip wallet sub-check","OFAC list unavailable or stale — receipt will reflect list timestamp, potential delay","Name field empty — name_match check skipped, status returned as 'skipped'","Domain too new or RDAP lookup failure — host age check may return error status","More than 10 wallets submitted — excess wallets silently ignored or error returned"],"whenToPreferThis":"Use this endpoint when an AI agent or automated payment flow needs a fast, pay-per-call pre-payment OFAC SDN screen specifically designed for the x402 micropayment protocol — particularly when you have a wallet address, a payee name, and/or a domain to screen together in one call. Prefer it over generic sanctions APIs when you are already handling x402 payment_required objects and want native parsing of those headers. Not a substitute for full AML compliance, chain analysis, or EU/UK/UN list screening.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:31:17.155Z","isFirstParty":false,"canonicalSlug":"x402-ofac-sdn-pay-check-api-4eaa4e3e"}