code402 / tools / iso20022-to-x402-intent
$0.000999 per call · 20 free calls/day · no signup · pay with card credits or a signed USDC voucher (x402)
Translates validated ISO 20022 payment instructions (pain.001 / pacs.008) into deterministic EIP-712 payment-intent templates for autonomous x402 Base L2 USDC settlement (BAP-1). Zero custody, no fiat leg.
curl -X POST https://code402.dev/v1/tools/iso20022-to-x402-intent/call \
-H "content-type: application/json" \
-d '{"instruction":{"end_to_end_id":"E2E-1001","instructed_amount":{"currency":"USD","amount_str":"250.00","amount_minor":"250000000"},"debtor":{"iban":"DE89370400440532013000"},"creditor":{"iban":"DE77100100100123456789"}},"seller_pay_to_address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}'
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 |
|---|---|---|
instruction (required) | object | Validated BAP-1 payment instruction object |
counterparty_wallet_directory | object | Enterprise IBAN -> 0x Base L2 wallet address map |
seller_pay_to_address | string | Fallback recipient Base L2 address |
chain_id | number | Target chain ID (default 8453 for Base) |
Top-level fields: ok, standard, intent_template, status, notice. 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.