code402 / tools / iso20022-to-x402-intent

BAP-1 ISO 20022 to x402 Intent Mapper — pay-per-call API

$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.

Honest scope: Translates approved ISO 20022 payment instructions into unsigned EIP-3009 USDC payment templates (BAP-1) on Base L2. No fiat leg, no FX quotes.

Try it (first 20 calls/day free)

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.

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

Input parameters

FieldTypeMeaning
instruction (required)objectValidated BAP-1 payment instruction object
counterparty_wallet_directoryobjectEnterprise IBAN -> 0x Base L2 wallet address map
seller_pay_to_addressstringFallback recipient Base L2 address
chain_idnumberTarget chain ID (default 8453 for Base)

Response

Top-level fields: ok, standard, intent_template, status, notice. Paid responses also carry a signed XDR-1 receipt.

All code402 tools

aci-trust-lookupdip-file-disputepod-verify-deliverycsp-commitment-createiso20022-validateiban-checklei-checkvat-mod97-checkcompany-number-formatswift-bic-checkaba-routing-checkein-format-checkifsc-checkabn-checkgstin-checkisin-checksedol-checkisbn-checkean13-checkluhn-checke164-checkpre-disbursement-guardvendor-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.