{"uid":"cap_y3bR55mXVDRNAiKhONdf0","slug":"code402-iso-20022-message-validator-f9e2e33a","name":"code402 ISO 20022 Message Validator","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/iso20022-validate/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["raw_payload"],"properties":{"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')"},"raw_payload":{"type":"string","description":"Raw ISO 20022 XML or JSON message text"},"transactions":{"type":"array","description":"Structured transactions array for JSON validation"}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["ok","standard","valid"],"properties":{"ok":{"type":"boolean"},"valid":{"type":"boolean"},"findings":{"type":"array"},"standard":{"type":"string"},"tx_count":{"type":"number"},"namespace":{"type":"string"},"message_id":{"type":"string"},"ctrl_sum_minor":{"type":"string"},"receipt_digest":{"type":"string"}}},"example":{"ok":true,"valid":true,"standard":"BAP-1","tx_count":1,"namespace":"pain.001.001.09","ctrl_sum_minor":"10000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wad1GQ76fJLp171h0RHdo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates ISO 20022 XML payment messages offline using deterministic checksums, returning namespace, transaction count, and control sum details","exampleAgentPrompt":"Can you validate this ISO 20022 pain.001.001.09 payment message XML for me and tell me if it's valid, what namespace it uses, how many transactions are in it, and whether the control sum checks out?","exampleUseCases":[{"title":"Pre-submission SEPA payment check","prompt":"Before I send this SEPA credit transfer XML to the bank, can you run it through the ISO 20022 validator and confirm the pain.001 structure is valid and the control sum matches the transactions?"},{"title":"MT to MX migration QA","prompt":"We just migrated a batch of MT103 messages to ISO 20022 MX format — can you validate this converted XML file and tell me the namespace, transaction count, and any findings so I can catch migration errors?"},{"title":"Fintech integration smoke test","prompt":"I'm building a payment initiation integration and need to confirm my generated XML is ISO 20022 compliant — validate this pain.001.001.09 message and show me the message ID, control sum, and whether it passes."}],"resultDescription":"Returns a JSON object with: ok (boolean, overall call success), valid (boolean, whether the message passes ISO 20022 validation), standard (e.g. 'BAP-1'), namespace (e.g. 'pain.001.001.09'), tx_count (number of transactions), ctrl_sum_minor (control sum in minor currency units), message_id, findings (array of validation issues), and receipt_digest (signed payment receipt for the $0.01 USDC call).","failureModes":["Malformed or non-XML input returns ok:true but valid:false with findings describing the parse error","Unsupported ISO 20022 namespace may return valid:false with an unrecognized-namespace finding","Payment failure (insufficient USDC balance or x402 protocol error) returns HTTP 402 before validation runs","After the 3 free daily calls, calls without valid x402 payment will be rejected","Empty or missing message body results in a validation error in findings"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, offline ISO 20022 message validation with no dependency on external ML or third-party data sources. It is ideal for pre-submission checks of SEPA or cross-border payment XML, MT-to-MX migration QA, and fintech integration testing. Prefer it over general XML schema validators because it understands ISO 20022 namespaces, BAP-1 standards, and control sum arithmetic natively. The pay-per-call x402 model makes it suitable for low-volume or on-demand validation without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:46.166Z","isFirstParty":false,"canonicalSlug":"code402-iso-20022-message-validator-f9e2e33a"}