code402 / tools / pre-disbursement-guard

Pre-Disbursement Due Diligence Guard (Check Before You Send) — pay-per-call API

$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)

MANDATORY COUNTERPARTY DUE DILIGENCE: Verifies counterparty before releasing invoice payments, contractor payouts, or wires. Screens ISO 13616 IBAN checksum, RDAP domain age (<30d = scam), disposable email domains, UK CRN/LEI format, and BEC cross-jurisdiction mismatches. Produces signed XDR-1 receipt for compliance.

Honest scope: Deterministic pre-disbursement due diligence: verifies recipient IBAN MOD-97, RDAP domain age, disposable mail detection, UK CRN/LEI format, and BEC cross-jurisdiction wire alignment before funds disburse.

Try it (first 20 calls/day free)

curl -X POST https://code402.dev/v1/tools/pre-disbursement-guard/call \
  -H "content-type: application/json" \
  -d '{"recipient_iban":"GB82WEST12345698765432","vendor_domain":"billing@acme-consulting.co.uk","declared_country":"GB","company_number":"01234567","invoice_amount_usd":4500}'

No key needed for the free tier. When the free quota is used up, the API replies HTTP 402 with the exact price — agents sign the x402 voucher and retry; humans buy card credits. Every paid response carries a signed receipt you can verify offline.

Run it in the playground (free)Pay by card — credits, no crypto

Input parameters

FieldTypeMeaning
recipient_ibanstringRecipient bank IBAN (optional).
vendor_domainstringVendor website domain or invoicing email address (optional).
declared_countrystring2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE').
company_numberstringOfficial corporate registration number, e.g. UK Companies House 8 digits/chars (optional).
leistringISO 17442 Legal Entity Identifier (optional).
vat_numberstringEU VAT number (optional).
physical_addressstringVendor physical office address (optional).
invoice_amount_usdnumberDisbursement transaction amount in USD (optional).

Response

Top-level fields: tool, clear_to_disburse, risk_level, risk_score, decision, summary, checks, flags_triggered, recommendations, inspected_counterparty, scope. Paid responses also carry a signed XDR-1 receipt.

All code402 tools

iban-checklei-checkvat-mod97-checkcompany-number-formatswift-bic-checkaba-routing-checkein-format-checkifsc-checkabn-checkgstin-checkisin-checksedol-checkisbn-checkean13-checkluhn-checke164-checkvendor-onboarding-packrent-deposit-guardrental-listing-riskrental-verdictsettlement-history-checkbalance-checkerc20-balancetx-activityblock-infobatch-validatecontext-distillcrypto-ticker

Machine-readable catalog: llms-full.txt · MCP manifest · OpenAPI. Operated by JUANA LIMITED (UK Co. No. 14043409). Non-custodial: USDC settles payer→seller directly on Base.