{"uid":"cap_TX5q-xwIlRwNHH8ZBw9ST","slug":"onchain-diligence-preflight-payment-check-609d7939","name":"OnChain Diligence Preflight Payment Check","description":"Evaluate a proposed payment against a structured, caller-supplied policy and optional recipient sanctions screening, before execution. Returns ALLOW, REQUIRE_APPROVAL, or BLOCK with reasons, plus a signed OCD PREFLIGHT receipt anyone can independently verify. Policy evaluation only: OCD never holds, moves, or authorizes funds. The wallet, PayBox, or x402 client independently authorizes execution afterward; an ALLOW here does not guarantee it will proceed.","url":"https://mcp.onchaindiligence.com/x402/preflight-payment","method":"POST","headers":{},"bodySchema":null,"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_E1WuFiTrPAQtiXMgjyW7H","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":"Evaluates a proposed payment against a caller-supplied policy and optional sanctions screening, returning ALLOW, REQUIRE_APPROVAL, or BLOCK with a signed verifiable receipt before execution.","exampleAgentPrompt":"Before sending 500 USDC to wallet 0xABC123..., run a preflight compliance check against my policy that blocks high-risk jurisdictions and screens for OFAC sanctions — I need a signed receipt showing the verdict.","exampleUseCases":[{"title":"DeFi protocol payment gate","prompt":"Before my protocol releases 10,000 USDC to wallet 0x4F2a..., check it against our policy that blocks any address with more than 30% mixer exposure and screens against OFAC sanctions — give me the verdict and the signed preflight receipt."},{"title":"Corporate treasury crypto disbursement","prompt":"We're about to pay a contractor 2,500 USDC to 0x9B1c... — run a preflight compliance check against our treasury policy requiring approval for payments over $1,000 to new counterparties, and screen the address for EU and UN sanctions."},{"title":"x402 agent payment authorization","prompt":"My AI agent is about to pay an x402 service at wallet 0x7D3e... for 0.01 USDC — quickly check this against a permissive policy that only blocks OFAC-designated addresses and return the signed OCD receipt so I can log it."}],"resultDescription":"Returns a structured verdict of ALLOW, REQUIRE_APPROVAL, or BLOCK along with the specific reasons for the decision, plus a cryptographically signed OCD PREFLIGHT receipt that any party can independently verify. The receipt serves as an auditable compliance record. Note: an ALLOW verdict is advisory only — OCD never holds or moves funds.","failureModes":["Invalid or malformed wallet address returns a validation error","Missing required policy fields cause a 400 bad request","Chainalysis oracle unavailable may delay or fail sanctions screening","Network timeout on the signing service causes a 503","Invalid policy schema causes policy evaluation to fail with descriptive error"],"whenToPreferThis":"Choose this endpoint when you need a pre-execution compliance gate for on-chain or x402 payments — specifically when you want caller-defined policy evaluation combined with sanctions screening and a signed, independently verifiable receipt. Prefer over generic wallet screening when you need the combined policy+sanctions verdict in a single signed artifact before committing to a transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:29.116Z","isFirstParty":false}