code402 / tools / pre-disbursement-guard
$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.
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.
| Field | Type | Meaning |
|---|---|---|
recipient_iban | string | Recipient bank IBAN (optional). |
vendor_domain | string | Vendor website domain or invoicing email address (optional). |
declared_country | string | 2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE'). |
company_number | string | Official corporate registration number, e.g. UK Companies House 8 digits/chars (optional). |
lei | string | ISO 17442 Legal Entity Identifier (optional). |
vat_number | string | EU VAT number (optional). |
physical_address | string | Vendor physical office address (optional). |
invoice_amount_usd | number | Disbursement transaction amount in USD (optional). |
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.
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.