BAP-1 ISO 20022 to x402 Intent Mapper
iso20022_to_x402_intentTranslates 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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instruction": {
"debtor": {
"iban": "DE89370400440532013000"
},
"creditor": {
"iban": "DE77100100100123456789"
},
"end_to_end_id": "E2E-1001",
"instructed_amount": {
"currency": "USD",
"amount_str": "250.00",
"amount_minor": "250000000"
}
},
"seller_pay_to_address": "0xc59c85e661d34084a7769f955d17fd38254a6235"
},
"name": "iso20022_to_x402_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | No | Target chain ID (default 8453 for Base) | |
| instruction | Yes | Validated BAP-1 payment instruction object | |
| seller_pay_to_address | No | Fallback recipient Base L2 address | |
| counterparty_wallet_directory | No | Enterprise IBAN -> 0x Base L2 wallet address map |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| notice | No | ||
| status | Yes | ||
| standard | Yes | ||
| intent_template | Yes |