{"version":"1.3.0","name":"code402","description":"Identifier format/checksum checks plus scoped market, on-chain and web-read utilities. Each tool states source and assurance limits. Signed receipts attest outputs, not identity, ownership, escrow or payout execution. Per-call service fees use x402 USDC on Base.","pricing":{"take_rate_bps":0,"mode":"neutral-clearinghouse","policy":"monetize-truth-not-transit","price_usdc_per_call":"varies by tool; minimum published floor $0.005 USDC; the live 402 challenge is authoritative","rule":"Per-tool prices differ. Optional supporter and patron tiers buy no different result or delivery; read the exact amount, asset, network, recipient and resource in the 402 challenge before signing.","mechanics":"Every accepted voucher settles as its own on-chain EIP-3009 transfer. Buyer-epoch netting, escrow, priority queues and latency guarantees are not implemented.","free_tier":"5 shared eligible calls/day per caller: iban-check, lei-check, vat-mod97-check and swift-bic-check; then paid. Receipt verification is free."},"receipts":{"format":"XDR-1","signature_scheme":"secp256k1","receipt_signing_address":"0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8","signing_entity":"JUANA LIMITED (UK)","signed_by":"Dr. J on behalf of JUANA LIMITED (UK)","canonical":"keccak256 over `v|tool|tool_version|input_hash|output_hash|payer|recipient|amount|nonce|ts|tier[|successor|stream_state]` (trailing pair present only when successor/stream_state is set); recover signer to verify","authorization":{"authorized_by":"0xc59c85e661d34084a7769f955d17fd38254a6235","signing_entity":"JUANA LIMITED (UK)","signed_by":"Dr. J on behalf of JUANA LIMITED (UK)","attestation":"code402: I authorize receipt-signer 0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8 to issue XDR-1 receipts on my behalf. authorized_by=0xc59c85e661d34084a7769f955d17fd38254a6235","attestation_sig":"0xc7b21da8b1e5b6516274fec60d758d51ca4dea02cd1ce19d87481ac95c79b98a10ce9361896cbafd171d99ae98ea99805a926a81571a90f6c4c48946722c2e401b","verify":"recover receipt signer from the receipt; confirm the attestation names that signer and is EIP-191-signed by authorized_by. Then the receipt is provably authorized by the operator wallet — no fund key ever touches the worker."}},"payment":{"protocol":"x402","network":"base","chainId":8453,"asset":"USDC","assetAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","assetDecimals":6,"stablecoin":{"symbol":"USDC","standard":"ERC-20","settlement":"payer-to-seller","custody":"none"},"walletPayment":{"uriScheme":"EIP-681","gasSponsored":true,"exactAmountRequired":true},"flow":"Eligible free tier, then an inspected HTTP 402 challenge. Payment requires an x402-capable client and explicit caller approval; use the version and payment headers in the challenge. Where returned, verify the signed receipt separately from payment settlement.","client_requirement":"Remote MCP support does not itself provide wallet signing or permission to spend. Clients without x402 payment support must surface payment_required and stop."},"tools":[{"name":"crypto_ticker","description":"Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.","call":"POST /v1/tools/crypto-ticker/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Ticker symbol (btc, eth, sol, …) or a CoinGecko asset id (bitcoin, ethereum, …)."}},"examples":[{"symbol":"btc"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"erc20_balance","description":"Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.","call":"POST /v1/tools/erc20-balance/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["address","token_address"],"properties":{"address":{"type":"string","description":"Holder EVM address, 0x-prefixed."},"token_address":{"type":"string","description":"ERC-20 token contract address, 0x-prefixed."},"decimals":{"type":"number","description":"Token decimals override (optional)."}},"examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235","token_address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"fx_spot_price_oracle","description":"Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.","call":"POST /v1/tools/fx-spot-price-oracle/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Base currency symbol (e.g. USDC, EUR, GBP, JPY)."},"quote":{"type":"string","description":"Quote currency symbol (e.g. USD, EUR, JPY)."}},"examples":[{"base":"EUR","quote":"USD"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"block_info","description":"Base chain (8453) block header data: block number, timestamp, transaction count and base fee for any block. Result carries a signed receipt.","call":"POST /v1/tools/block-info/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":[],"properties":{"block":{"type":"string","description":"Block number as hex (0x…) or decimal, or a tag (latest/earliest/pending/finalized/safe); defaults to latest."}},"examples":[{"block":"latest"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"tx_activity","description":"Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.","call":"POST /v1/tools/tx-activity/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."}},"examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"token_contract_risk","description":"Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.","call":"POST /v1/tools/token-contract-risk/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"Contract address on Base, 0x + 40 hex."},"chain":{"type":"string","enum":["base"],"description":"Optional. Only 'base' (Base mainnet) is supported."}},"examples":[{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"clean_markdown_scraper","description":"Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.","call":"POST /v1/tools/clean-markdown-scraper/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","required":[],"properties":{"url":{"type":"string","description":"Public http(s) page to fetch (ports 80/443 only). Provide exactly one of url or html."},"html":{"type":"string","description":"Raw HTML string to convert instead of fetching a URL (max 1 MiB). Provide exactly one of url or html."}},"examples":[{"url":"https://example.com/"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"context_distill","description":"Deterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.","call":"POST /v1/tools/context-distill/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Arbitrary text to distill (any length; hashing is over the exact input)."}},"examples":[{"text":"The landlord demanded the deposit before the viewing. The deposit was paid before any viewing of the property."}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"instant_json_schema_verifier","description":"Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.","call":"POST /v1/tools/instant-json-schema-verifier/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["data","schema"],"properties":{"data":{"type":"object","description":"The JSON data object to validate against the schema."},"schema":{"type":"object","description":"The JSON schema object with expected properties and types."}},"examples":[{"data":{"name":"Apex Agent","version":2},"schema":{"required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"number"}}}}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"balance_check","description":"Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.","call":"POST /v1/tools/balance-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."},"token_address":{"type":"string","description":"ERC-20 token contract address (optional; defaults to USDC on Base)."}},"examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"calculate_fx_savings","description":"Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or provider; no protocol fee is deducted on this rail.","call":"POST /v1/tools/calculate-fx-savings/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","properties":{"amount_usdc":{"type":"number","description":"Gross invoice settlement volume in USD/USDC."},"amount_usd":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"amount":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"currency":{"type":"string","description":"Target currency for local comparison (e.g. EUR, GBP, BRL, INR, ARS, PHP, NGN, SGD)."}},"examples":[{"amount_usdc":50000,"currency":"BRL"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"iban_check","description":"Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.","call":"POST /v1/tools/iban-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["iban"],"properties":{"iban":{"type":"string","description":"IBAN to validate; spaces allowed."}},"examples":[{"iban":"CH93 0076 2011 6238 5295 7"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"lei_check","description":"Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.","call":"POST /v1/tools/lei-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["lei"],"properties":{"lei":{"type":"string","description":"20-character Legal Entity Identifier."}},"examples":[{"lei":"529900T8BM49AURSDO55"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"vat_mod97_check","description":"Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.","call":"POST /v1/tools/vat-mod97-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["vat_number"],"properties":{"vat_number":{"type":"string","description":"Belgian VAT id in the supported BE mod-97 format (BE prefix optional); not a VIES lookup."}},"examples":[{"vat_number":"BE0417497106"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"swift_bic_check","description":"Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.","call":"POST /v1/tools/swift-bic-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["bic"],"properties":{"bic":{"type":"string","description":"SWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed."}},"examples":[{"bic":"DEUTDEFF500"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"batch_validate","description":"Validate up to 50 tax, bank and legal-entity identifiers (IBAN, LEI, VAT, SWIFT/BIC, ABA routing, EIN, IFSC, ABN, GSTIN, ISIN, SEDOL, EAN-13, ISBN, E.164 or Luhn checks) in one batch request. Each result states its scope. Compare the current batch quote with individual quotes; savings depend on batch size.","call":"POST /v1/tools/batch-validate/call","price_usdc":0.05,"price_usdc_ceiling":0.25,"inputSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":50,"description":"List of {tool, value} checks (max 50).","items":{"type":"object","required":["tool","value"],"properties":{"tool":{"type":"string","enum":["iban-check","lei-check","vat-mod97-check","company-number-format","swift-bic-check","aba-routing-check","ein-format-check","ifsc-check","abn-check","luhn-check","isbn-check","e164-check","sedol-check","isin-check","ean13-check","gstin-check","context-distill"],"description":"which validator to run"},"value":{"type":"string","description":"the identifier (or text, for context-distill) to check"}}}}},"examples":[{"items":[{"tool":"iban-check","value":"GB82 WEST 1234 5698 7654 32"},{"tool":"lei-check","value":"529900T8BM49AURSDO55"},{"tool":"vat-mod97-check","value":"BE0417497106"}]}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"vendor_onboarding_pack","description":"Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.","call":"POST /v1/tools/vendor-onboarding-pack/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"iban":{"type":"string","description":"Vendor IBAN (optional)."},"lei":{"type":"string","description":"Vendor LEI (optional)."},"vat_number":{"type":"string","description":"Vendor VAT number, BE mod-97 (optional)."},"company_number":{"type":"string","description":"Vendor UK company number (optional)."}},"examples":[{"iban":"GB82 WEST 1234 5698 7654 32","lei":"529900T8BM49AURSDO55","vat_number":"BE0417497106","company_number":"12345678"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"india_supplier_check","description":"One call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cross-border procurement where the buyer is an agent that cannot open an INR account.","call":"POST /v1/tools/india-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"gstin":{"type":"string","description":"GSTIN (15 chars, optional)"},"pan":{"type":"string","description":"PAN (10 chars, optional)"},"vpa":{"type":"string","description":"UPI VPA handle (optional)"},"ifsc":{"type":"string","description":"IFSC bank code (optional)"}},"examples":[{"gstin":"27AAPFU0939F1ZV","pan":"AAACP1234M","vpa":"merchant@okhdfcbank","ifsc":"HDFC0001234"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"pre_disbursement_guard","description":"Check supplier tax and bank identifiers (IBAN, LEI, EU VAT, UK company number), domain-age evidence and country mismatch signals before vendor payment. Requires a preceding receipt hash. An advisory result is not verified identity, fraud clearance or authorization to release funds.","call":"POST /v1/tools/pre-disbursement-guard/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":[],"properties":{"recipient_iban":{"type":"string","description":"Recipient bank IBAN (optional)."},"vendor_domain":{"type":"string","description":"Vendor website domain or invoicing email address (optional)."},"declared_country":{"type":"string","description":"2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE')."},"company_number":{"type":"string","description":"Official corporate registration number, e.g. UK Companies House 8 digits/chars (optional)."},"lei":{"type":"string","description":"ISO 17442 Legal Entity Identifier (optional)."},"vat_number":{"type":"string","description":"EU VAT number (optional)."},"physical_address":{"type":"string","description":"Vendor physical office address (optional)."},"invoice_amount_usd":{"type":"number","description":"Disbursement transaction amount in USD (optional)."},"prev_receipt_hash":{"type":"string","description":"Preceding verification receipt hash (may also be passed via X-PREV-RECEIPT-HASH header)."}},"examples":[{"recipient_iban":"GB82WEST12345698765432","vendor_domain":"billing@acme-consulting.co.uk","declared_country":"GB","company_number":"01234567","invoice_amount_usd":4500,"prev_receipt_hash":"0x0000000000000000000000000000000000000000000000000000000000000000"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"gstin_check","description":"Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.","call":"POST /v1/tools/gstin-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["gstin"],"properties":{"gstin":{"type":"string","description":"15-character Indian Goods and Services Tax Identification Number."}},"examples":[{"gstin":"27AAPFU0939F1ZV"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"ifsc_check","description":"Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.","call":"POST /v1/tools/ifsc-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["ifsc"],"properties":{"ifsc":{"type":"string","description":"11-character Indian Financial System Code."}},"examples":[{"ifsc":"HDFC0000123"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"sanctions_address_screen","description":"Screen an EVM wallet address or ISO country code by exact comparison against the identified sanctions address snapshot and existing operator block policy. Current legal status is unknown; is_sanctioned is null. valid=false preserves a local block; valid=null never authorizes a transaction. Names are not screened. Missing, stale or incomplete evidence is explicit; no UN/EU coverage or sanctions clearance is provided.","call":"POST /v1/tools/ofac-sdn-check/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","properties":{"subject":{"type":"string","description":"EVM address (0x...) or ISO 3166-1 country code / jurisdiction name"}},"required":["subject"],"examples":[{"subject":"0x7f367cc41522ce07553e823bf3be79a889debe1b"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"company_number_format","description":"Check supported UK company-number syntax. No Companies House lookup, entity-existence check or active-registration verification.","call":"POST /v1/tools/company-number-format/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["company_number"],"properties":{"company_number":{"type":"string","description":"8 digits, or 2 letters + 6 digits."}},"examples":[{"company_number":"12345678"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"aba_routing_check","description":"Validate a US ABA routing number by its (3,7,1)-weight mod-10 Fedwire/ACH checksum. Catches mistyped or invalid routing numbers before payment; does NOT prevent transfer reversals or establish the recipient. Returns signed XDR-1 receipt.","call":"POST /v1/tools/aba-routing-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","properties":{"aba_routing":{"type":"string","description":"9-digit US bank routing number."},"routing":{"type":"string","description":"9-digit US bank routing number (alias)."}},"examples":[{"aba_routing":"021000021"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"ein_format_check","description":"Validate US Employer Identification Number FORMAT (NN-NNNNNNN). Use during US business counterparty KYB verification. Returns signed XDR-1 receipt.","call":"POST /v1/tools/ein-format-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["ein"],"properties":{"ein":{"type":"string","description":"US EIN, 9 digits; dashes/spaces allowed."}},"examples":[{"ein":"12-3456789"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"abn_check","description":"Validate an Australian Business Number by its mod-89 checksum (11 digits). Required before invoice payment to Australian contractors. Returns signed XDR-1 receipt.","call":"POST /v1/tools/abn-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["abn"],"properties":{"abn":{"type":"string","description":"11-digit Australian Business Number; spaces allowed."}},"examples":[{"abn":"51 824 753 556"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"e164_check","description":"Validate a phone number's E.164 structure (+CC, 8-15 digits, no leading zero) before dispatching SMS alerts or OTPs. Returns signed XDR-1 receipt.","call":"POST /v1/tools/e164-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["phone"],"properties":{"phone":{"type":"string","description":"International phone number, e.g. +14155552671."}},"examples":[{"phone":"+14155552671"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"sedol_check","description":"Validate a UK/Ireland security identifier by its (1,3,1,7,3,9)-weight mod-10 checksum. Returns signed XDR-1 receipt.","call":"POST /v1/tools/sedol-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["sedol"],"properties":{"sedol":{"type":"string","description":"7-character SEDOL code."}},"examples":[{"sedol":"B0YBKJ7"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"isin_check","description":"Validate an ISIN (ISO 6166) by structure and Luhn mod-10 check digit over the A=10…Z=35 converted string.","call":"POST /v1/tools/isin-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["isin"],"properties":{"isin":{"type":"string","description":"12-character ISIN: 2-letter country code + 9 alphanumerics + check digit; spaces allowed."}},"examples":[{"isin":"US0378331005"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"ean13_check","description":"Validate an EAN-13 barcode by its mod-10 checksum (odd positions x1, even positions x3).","call":"POST /v1/tools/ean13-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"13-digit EAN-13 barcode; spaces/dashes allowed."}},"examples":[{"code":"5901234123457"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"cnpj_check","description":"Validate Brazilian corporate tax ID (CNPJ) with official dual mod-11 check digits. Required for Brazilian B2B payments, PIX verification, and vendor due diligence. Returns signed XDR-1 receipt.","call":"POST /v1/tools/cnpj-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["cnpj"],"properties":{"cnpj":{"type":"string","description":"14-digit Brazilian CNPJ; punctuation allowed (e.g. 00.000.000/0001-91)."}},"examples":[{"cnpj":"00.000.000/0001-91"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"uscc_check","description":"Validate 18-character Chinese business registration and tax code using GB 32100-2015 ISO 7064 Mod-31-3 checksum. Required for B2B supply chain trade with Chinese manufacturers. Returns signed XDR-1 receipt.","call":"POST /v1/tools/uscc-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["uscc"],"properties":{"uscc":{"type":"string","description":"18-character Chinese Unified Social Credit Code (e.g. 91330100799655058B)."}},"examples":[{"uscc":"91330100799655058B"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"japan_corp_check","description":"Validate 13-digit Japanese Corporate Number assigned by the National Tax Agency using Mod-9 check digit algorithm. Required for Japanese B2B SaaS and enterprise billing. Returns signed XDR-1 receipt.","call":"POST /v1/tools/japan-corp-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":"13-digit Japanese Corporate Number (e.g. 1180301018771)."}},"examples":[{"number":"1180301018771"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"kra_pin_check","description":"Validate Kenyan Revenue Authority Tax PIN structure (A/P followed by 9 digits and checksum character). Required for M-Pesa B2B disbursement and Kenyan remote agency invoicing. Returns signed XDR-1 receipt.","call":"POST /v1/tools/kra-pin-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["pin"],"properties":{"pin":{"type":"string","description":"11-character KRA PIN (e.g. P051112223Z)."}},"examples":[{"pin":"P051112223Z"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"rfc_check","description":"Validate Mexican SAT RFC corporate (12-char) or individual (13-char) tax code and homoclave. Required for Mexican contractor invoicing and SPEI cross-border settlements. Returns signed XDR-1 receipt.","call":"POST /v1/tools/rfc-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["rfc"],"properties":{"rfc":{"type":"string","description":"12 or 13 character Mexican RFC (e.g. BBA830831LJ2)."}},"examples":[{"rfc":"BBA830831LJ2"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"iso4217_currency_check","description":"Validate 3-letter alpha or 3-digit numeric currency codes against ISO 4217 standard. Returns minor unit decimals, symbol, official name, countries, and onchain Base L2 settlement token mapping (USDC/EURC).","call":"POST /v1/tools/iso4217-currency-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","required":["currency"],"properties":{"currency":{"type":"string","description":"3-letter ISO 4217 code (e.g. USD, EUR, JPY, CNY, BRL, KES, MXN) or 3-digit numeric code (e.g. 840, 978, 392)."}},"examples":[{"currency":"EUR"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"upi_vpa_check","description":"Deterministic structural validation of an Indian UPI Virtual Payment Address (VPA / handle): local-part syntax, handle against a LOCAL list of accredited PSP handles (okhdfcbank, okaxis, paytm, ybl and others), and length rules. It is NOT a live registry lookup: no request leaves this worker, and an unlisted handle is reported as unrecognised rather than nonexistent. This does not establish that the VPA is registered, reachable or owned by anyone.","call":"POST /v1/tools/upi-vpa-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","properties":{"vpa":{"type":"string","description":"UPI Virtual Payment Address (e.g. 'merchant@okhdfcbank', '9876543210@paytm')"}},"required":["vpa"],"examples":[{"vpa":"merchant@okhdfcbank"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"pan_format_check","description":"Deterministic validation of Indian Permanent Account Number (PAN) issued by CBDT / Income Tax Department with 4th-character entity type classification (Individual, Company, Firm, Trust, HUF).","call":"POST /v1/tools/pan-format-check/call","price_usdc":0.005,"price_usdc_ceiling":0.025,"inputSchema":{"type":"object","properties":{"pan":{"type":"string","description":"10-character PAN string (e.g. 'AAACP1234M')"}},"required":["pan"],"examples":[{"pan":"AAACP1234M"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"uae_trn_check","description":"Deterministic validation of UAE 15-digit Tax Registration Number (TRN) issued by the Federal Tax Authority (FTA) for VAT purposes.","call":"POST /v1/tools/uae-trn-check/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","properties":{"trn":{"type":"string","description":"15-digit UAE TRN string (starts with 100)"}},"required":["trn"],"examples":[{"trn":"100123456700003"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"china_supplier_check","description":"One call, one receipt: USCC + settlement IBAN + SWIFT/BIC for a Chinese counterparty. Deterministic structure and checksum validation with explicit scope per identifier.","call":"POST /v1/tools/china-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"uscc":{"type":"string","description":"Unified Social Credit Code (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}},"examples":[{"uscc":"91350100M000100Y43","iban":"GB82WEST12345698765432","swift":"DEUTDEFF"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"japan_supplier_check","description":"One call, one receipt: 13-digit Corporate Number + settlement IBAN for a Japanese counterparty. Deterministic check digits, explicit scope.","call":"POST /v1/tools/japan-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"corporate_number":{"type":"string","description":"13-digit Corporate Number (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"}},"examples":[{"corporate_number":"7000012050002","iban":"GB82WEST12345698765432"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"latam_supplier_check","description":"One call, one receipt: Brazilian CNPJ + Mexican RFC + settlement IBAN. Deterministic checks for the two largest LatAm corridors in one paid call.","call":"POST /v1/tools/latam-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"cnpj":{"type":"string","description":"Brazilian CNPJ (optional)"},"rfc":{"type":"string","description":"Mexican RFC (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"}},"examples":[{"cnpj":"04.252.011/0001-10","rfc":"GODE561231GR8","iban":"GB82WEST12345698765432"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"gulf_supplier_check","description":"One call, one receipt: UAE TRN + settlement IBAN + SWIFT/BIC. Deterministic structure validation for Gulf trade corridors, scope stated per identifier.","call":"POST /v1/tools/gulf-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"trn":{"type":"string","description":"UAE TRN (15 digits, optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}},"examples":[{"trn":"100123456700003","iban":"AE070331234567890123456","swift":"EBILAEAD"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"africa_supplier_check","description":"One call, one receipt: Kenya KRA PIN + settlement IBAN + SWIFT/BIC. Deterministic structural checks for East African trade corridors.","call":"POST /v1/tools/africa-supplier-check/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"kra_pin":{"type":"string","description":"KRA PIN (optional)"},"iban":{"type":"string","description":"Settlement IBAN (optional)"},"swift":{"type":"string","description":"SWIFT/BIC (optional)"}},"examples":[{"kra_pin":"P051234567X","iban":"GB82WEST12345698765432","swift":"BARCKENX"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"rent_deposit_guard","description":"Check deposit IBAN checksum and supplied country/viewing indicators. Rule-based risk signals only; no ownership verification, escrow protection or guarantee against theft.","call":"POST /v1/tools/rent-deposit-guard/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":["deposit_iban"],"properties":{"deposit_iban":{"type":"string","description":"IBAN the deposit would be paid to."},"property_country":{"type":"string","description":"ISO 3166-1 alpha-2 country of the property, e.g. DE."},"deposit_before_viewing":{"type":"boolean","description":"True if a deposit is demanded before any viewing."}},"examples":[{"deposit_iban":"GB82WEST12345698765432","property_country":"DE","deposit_before_viewing":true}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"rental_listing_risk","description":"Explainable tenancy fraud risk score evaluated across irreversible payment demands, off-platform pressure, stolen photos, and advance wire signals. Deterministic rule engine.","call":"POST /v1/tools/rental-listing-risk/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","required":[],"properties":{"payment_irreversible":{"type":"boolean","description":"Paid via crypto/gift-card/wire-only."},"contact_moves_offplatform":{"type":"boolean","description":"Pushed off the listing platform."},"landlord_abroad_cannot_meet":{"type":"boolean","description":"Landlord 'abroad', can't meet in person."},"no_in_person_viewing":{"type":"boolean","description":"No viewing before payment."},"urgency_pressure":{"type":"boolean","description":"Pressure to secure today."},"photos_reverse_image_hit":{"type":"boolean","description":"Listing photos found elsewhere (stolen)."},"identity_docs_requested_upfront":{"type":"boolean","description":"Full ID/bank docs demanded upfront."},"price_below_market_pct":{"type":"number","description":"How far below local market the rent is asked, in percent."}},"examples":[{"payment_irreversible":true,"no_in_person_viewing":true,"price_below_market_pct":45}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"rental_verdict","description":"Combine deposit identifier checks with supplied country, viewing and listing indicators. Does not verify landlord identity, property ownership or safety of payment.","call":"POST /v1/tools/rental-verdict/call","price_usdc":0.05,"price_usdc_ceiling":0.25,"inputSchema":{"type":"object","required":["deposit_iban"],"properties":{"deposit_iban":{"type":"string","description":"Deposit IBAN."},"property_country":{"type":"string","description":"Property country, ISO alpha-2."},"deposit_before_viewing":{"type":"boolean","description":"True if a deposit is demanded before any viewing."},"landlord_lei":{"type":"string","description":"Landlord LEI (optional)."},"landlord_company_no":{"type":"string","description":"Landlord UK company number (optional)."},"payment_irreversible":{"type":"boolean","description":"Payment demanded via crypto/gift-card/wire-only."},"contact_moves_offplatform":{"type":"boolean","description":"Contact pushed off the listing platform."},"no_in_person_viewing":{"type":"boolean","description":"No in-person or video viewing before payment."},"urgency_pressure":{"type":"boolean","description":"Pressure to secure the property today."},"price_below_market_pct":{"type":"number","description":"How far below local market the rent is asked, in percent."}},"examples":[{"deposit_iban":"GB82WEST12345698765432","property_country":"DE","deposit_before_viewing":true,"landlord_lei":"529900T8BM49AURSDO55"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"reconcile","description":"Deterministic reconciliation verdicts: pain.001/pacs.008 instructions vs camt.053 statements or NACHA ACH files, matched by end-to-end id and BigInt-exact amounts. Verdicts: SETTLED, UNPAID, AMOUNT_MISMATCH, DUPLICATE_PAYMENT, plus unmatched statement entries. Facts computed from the documents only — never inferred, never guessed. Returns signed XDR-1 receipt.","call":"POST /v1/tools/reconcile/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","properties":{"pain001_xml":{"type":"string","description":"pain.001 instructions (or use pacs008_xml)"},"pacs008_xml":{"type":"string","description":"pacs.008/PIX instructions (or use pain001_xml)"},"camt053_xml":{"type":"string","description":"camt.053 statement (or use nacha_ach)"},"nacha_ach":{"type":"string","description":"NACHA ACH text (94-char records) instead of camt053_xml"}},"examples":[{"pain001_xml":"<Document>…</Document>","camt053_xml":"<Document>…</Document>"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"create_b2b_invoice","description":"Create a merchant-direct Base token invoice. New automated payments require a durable EOA authorization journal and a configured provider. No active protocol fee; no generic bank-wire authority, independent delivery or contract-wallet guarantee.","call":"POST /v1/tools/create-b2b-invoice/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","required":["amount_usdc","merchant"],"properties":{"amount_usdc":{"type":"number","description":"Invoice total in USDC (e.g. 50000)."},"merchant":{"type":"string","description":"Beneficiary contractor Base EVM wallet address (0x...)."},"client_name":{"type":"string","description":"Client enterprise organization name (optional)."},"memo":{"type":"string","description":"Engagement scope / milestone description (optional)."},"referrer":{"type":"string","description":"Optional attribution reference. Referral payouts and protocol fees are not active."}},"examples":[{"amount_usdc":50000,"merchant":"0xc59c85e661d34084a7769f955d17fd38254a6235","client_name":"Apex AI","memo":"Sprint #14 Milestones"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"get_b2b_invoice","description":"Read public recorded invoice status and held-operation next action. Private records and credentials require a separate fresh read-only signature from the durably confirmed original payer; URLs and payment vouchers grant no read authority.","call":"POST /v1/tools/get-b2b-invoice/call","price_usdc":0.01,"price_usdc_ceiling":0.05,"inputSchema":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"string","description":"Unique invoice identifier, e.g. inv_a1b2c3d4e5f6."}},"examples":[{"invoice_id":"inv_example1234"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"simulate_spend_sentinel","description":"Run synthetic prompt-injection halts, malformed-delivery rejection, and bounded-spend eligibility examples under AP2 envelopes. No live escrow, refund, facilitator or chain action occurs.","call":"POST /v1/tools/simulate-spend-sentinel/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","properties":{"scenario":{"type":"string","description":"Simulation scenario: 'injection' (prompt attack), 'garbage' (bad subagent output), or 'provable' (verified settlement). Default 'injection'."}},"examples":[{"scenario":"injection"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"aci_trust_lookup","description":"Deterministic agent trust scoring and non-custodial unsettled exposure advisory evaluation (ACI-1). Quantifies counterparty grade (T0-T3), historical success rate, and maximum suggested settlement exposure without uncollateralized lending or float.","call":"POST /v1/tools/aci-trust-lookup/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","properties":{"subject":{"type":"string","description":"Agent wallet address (0x...) or canonical ANS identifier (c402:...) to evaluate"},"role":{"type":"string","description":"Agent role: 'payer' or 'seller' (default 'payer')"},"settled_calls_90d":{"type":"number","description":"Number of settled transactions in the past 90 days"},"settlement_success_rate":{"type":"number","description":"Historical settlement success rate 0.0 to 1.0"},"dispute_loss_rate":{"type":"number","description":"Historical dispute loss rate 0.0 to 1.0"},"first_seen_days":{"type":"number","description":"Days since first active on-chain settlement"},"sponsor_attestations":{"type":"array","description":"Array of signed sponsorship edges"}},"required":["subject"],"examples":[{"subject":"0x1111111111111111111111111111111111111111","settled_calls_90d":1500,"settlement_success_rate":0.999,"first_seen_days":120}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"csp_commitment_create","description":"Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.","call":"POST /v1/tools/csp-commitment-create/call","price_usdc":0.015,"price_usdc_ceiling":0.075,"inputSchema":{"type":"object","properties":{"invoice_object":{"type":"object","description":"Structured invoice or commercial agreement object to commit to"},"salt_hex":{"type":"string","description":"Optional 32-byte salt (0x...). If omitted, cryptographically derived"},"stealth_recipient":{"type":"string","description":"Optional Base L2 stealth recipient address for announcement"},"ephemeral_pubkey":{"type":"string","description":"Optional ephemeral public key for ERC-5564 announcement"},"view_tag":{"type":"string","description":"Optional 1-byte hex view tag (0xNN)"}},"required":["invoice_object"],"examples":[{"invoice_object":{"invoice_id":"INV-402","amount_usdc":5000,"line_items":[{"sku":"H100_HR","qty":10}]}}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"iso20022_validate","description":"Deterministic validation for institutional ISO 20022 XML/JSON payment messages (pain.001 credit transfer, pacs.008 customer credit, camt.053 bank statement) with XML DOCTYPE security guards, BigInt CtrlSum decimal sums, and ISO 13616 / 9362 / 17442 checksums (BAP-1).","call":"POST /v1/tools/iso20022-validate/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","properties":{"raw_payload":{"type":"string","description":"Raw ISO 20022 XML or JSON message text"},"format":{"type":"string","description":"'xml' or 'json' (default auto-detected)"},"namespace":{"type":"string","description":"Expected ISO 20022 schema namespace (e.g. 'pain.001.001.09')"},"transactions":{"type":"array","description":"Structured transactions array for JSON validation"}},"required":["raw_payload"],"examples":[{"raw_payload":"<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.001.09\"><CstmrCdtTrfInitn><GrpHdr><MsgId>MSG-2026-001</MsgId><NbOfTxs>1</NbOfTxs><CtrlSum>100.00</CtrlSum></GrpHdr><PmtInf><CdtTrfTxInf><Amt><InstdAmt Ccy=\"USD\">100.00</InstdAmt></Amt><CdtrAgt><FinInstnId><BICFI>DEUTDEDDFXX</BICFI></FinInstnId></CdtrAgt><CdtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></CdtrAcct></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn></Document>"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"iso20022_to_x402_intent","description":"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.","call":"POST /v1/tools/iso20022-to-x402-intent/call","price_usdc":0.02,"price_usdc_ceiling":0.1,"inputSchema":{"type":"object","properties":{"instruction":{"type":"object","description":"Validated BAP-1 payment instruction object"},"counterparty_wallet_directory":{"type":"object","description":"Enterprise IBAN -> 0x Base L2 wallet address map"},"seller_pay_to_address":{"type":"string","description":"Fallback recipient Base L2 address"},"chain_id":{"type":"number","description":"Target chain ID (default 8453 for Base)"}},"required":["instruction"],"examples":[{"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"}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"check_price","description":"Instant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.","call":"POST /v1/tools/check-price/call","price_usdc":0,"price_usdc_ceiling":0,"inputSchema":{"type":"object","properties":{"tool":{"type":"string","description":"Target tool name (e.g. 'iban-check', 'vendor-onboarding-pack')"},"amount":{"type":"number","description":"Optional batch count or volume units (default 1)"}},"required":["tool"],"examples":[{"tool":"iban-check","amount":1}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}},{"name":"receipt_verify","description":"Verifies a signed XDR-1 receipt from ANY x402 service: recomputes the canonical digest and recovers the signer, then compares it to the declared signer. Free forever — no account, no quota, no storage (stateless). A valid receipt proves the signer signed that tool call at that timestamp; it does NOT prove funds moved or any business claim.","call":"POST /v1/tools/receipt-verify/call","price_usdc":0,"price_usdc_ceiling":0,"inputSchema":{"type":"object","properties":{"receipt":{"type":"string","description":"The full XDR-1 receipt object: v, tool, tool_version, input_hash, output_hash, payer, recipient, amount, nonce, ts, tier, signer, signature (optional successor/stream_state)."}},"required":["receipt"],"examples":[{"receipt":{"v":"XDR-1","tool":"iban-check","tool_version":"1","input_hash":"0x…","output_hash":"0x…","payer":"0xc59c85e661d34084a7769f955d17fd38254a6235","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","amount":"0","nonce":"0x…","ts":0,"tier":"free","signer":"0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8","signature":"0x…"}}]},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true}}],"transport":{"type":"streamable-http","endpoint":"https://a2a.code402.dev/mcp"},"capabilities":{"tools":{"listChanged":false},"resources":{"subscribe":false,"listChanged":false},"prompts":{"listChanged":false}},"catalogs":{"core":{"endpoint":"https://a2a.code402.dev/mcp","tools":57},"experimental":{"endpoint":"https://a2a.code402.dev/mcp?catalog=experimental","note":"advertised full tool set"},"modules":{"endpoint":"https://a2a.code402.dev/mcp?catalog=modules","tools":7,"note":"seven paid revenue-module tools; same membership as x402.json decoupled_modules"}},"revenue_modules":[{"name":"hcrb_fx_solver_quote","route":"/v1/modules/fx/solver-quote","kaizen_module":"fx_best_execution","entry_price_minor":"0","description":"Free indicative USDC<->EURC reference conversion on Base. Not a route, fee instruction or rate lock."},{"name":"hcrb_accelerate_payout","route":"/v1/modules/commerce/accelerate-payout","kaizen_module":"commerce_reconcile","entry_price_minor":"5000","description":"Calculate B2B invoice early-payment discount and accounts-payable payout split (stateless 2/10 Net 30 invoice discounting arithmetic: 165 bps to buyer, 35 bps to HCRB treasury)."},{"name":"hcrb_einvoice_transform","route":"/v1/modules/compliance/einvoice-transform","kaizen_module":"iso20022_swift_repair","entry_price_minor":"10000","description":"Convert and validate JSON B2B electronic invoice data in-RAM into schema-valid Peppol BIS Billing 3.0 UBL 2.1 XML and ISO 20022 structured address format."},{"name":"hcrb_vendor_risk_score","route":"/v1/modules/oracle/vendor-risk-score","kaizen_module":"verify_id","entry_price_minor":"10000","description":"Structural IBAN (MOD-97) and LEI-format checks plus a network-wide settle count. Not an identity, credit or fraud assessment; no per-counterparty history is held."},{"name":"hcrb_dip1_adjudicate","route":"/v1/modules/dip1/adjudicate-dispute","kaizen_module":"ap2_mandate_guard","entry_price_minor":"10000","description":"Compare order, payment and carrier delivery SHA-256 proofs to detect transaction discrepancies (stateless DIP-1 dispute oracle with 25 bps fee instruction)."},{"name":"hcrb_mint_quota_x402","route":"/v1/modules/quota/mint-x402","kaizen_module":"enterprise_batch","entry_price_minor":"10000","description":"Mints a fast-path Bearer ck_live_x402_... quota key (<15ms KV/DO verification) via single x402 signature (tiers: micro=$0.01/3 calls, burst=$0.10/25 calls, pass=$1.00/250 calls, treasury=$5.00/1600 calls)."},{"name":"hcrb_multimodal_verify_artifact","route":"/multimodal/verify-artifact","kaizen_module":"multimodal_zero_retention","entry_price_minor":"10000","description":"Verify supplier invoice document SHA-256 hash and validate tax and bank identifiers (IBAN, LEI, VAT, corporate registration number) with a signed XDR-1 receipt; micro tier $0.01 USDC."}],"decision_layer":{"deterministic_pricing":true,"price_micros":5000,"no_service_difference_between_callers":true,"batch":{"tool":"batch-validate","max_items":50},"prepaid_pass":{"plan_id":"starter-pass","usd_cents":100,"quota":1000,"quota_unit":"checks","quote_url":"https://a2a.code402.dev/subscribe/start?plan=starter-pass"},"cache":{"window_hours":24,"reported_in":"cache_status"},"errors":{"branch_on":["machine_code","retryable","resolution_url"],"tool_responses_are_deterministic":true},"settlement":{"model":"per-call transfer, payer-to-seller, non-custodial","netting_implemented":false,"session_channels":"experimental"}},"x402":{"scheme":"eip3009","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","free_tier":"5 calls/day","facilitators":["https://api.cdp.coinbase.com/platform/v2/x402","https://facilitator.payai.network","https://x402.dexter.cash"]},"client_configurations":{"claude_desktop":{"mcpServers":{"code402":{"command":"npx","args":["-y","mcp-remote","https://a2a.code402.dev/mcp"]}}},"cursor":{"mcpServers":{"code402":{"url":"https://a2a.code402.dev/mcp"}}}}}