SWIFT ISO 20022 XML-to-JSON parser and compliance engine for pacs.008, camt.053, and pain.001 with sub-5ms edge latency.
Official, zero-dependency Node.js and TypeScript client for ISO 20022 Financial Message Parser & Validator, powered by the Stanza Micro-API Network. Delivers deterministic, sub-5ms V8 isolate execution directly to your application without 3rd-party proxies.
- 🌐 Live Web Sandbox: Try interactive queries online
- 📚 API Reference: Read complete OpenAPI specification
- ⚡ Platform Overview: Discover the Stanza Edge Portfolio
npm install @stanzaapi/iso20022-parser
# or
pnpm add @stanzaapi/iso20022-parser
# or
yarn add @stanzaapi/iso20022-parserimport { Iso20022ParserClient } from '@stanzaapi/iso20022-parser';
// Initialize client (API key optional for sandbox tier evaluation)
const client = new Iso20022ParserClient({
apiKey: process.env.STANZA_API_KEY,
});
async function main() {
const result = await client.parse('<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pacs.008.001.08">...</Document>');
if (result.success) {
console.log('Verification Success:', result.data);
} else {
console.error('Validation Error:', result.error, result.code);
}
}
main().catch(console.error);{
"success": true,
"data": {
"message_type": "pacs.008.001.08",
"settlement_amount": 150000,
"currency": "EUR",
"instruction_id": "INSTR-2026-0982"
}
}| Option | Type | Default | Description |
|---|---|---|---|
apiKey |
string |
process.env.STANZA_API_KEY |
Your Stanza API Key. Required for high-throughput production tiers. |
baseUrl |
string |
https://api.stanzaapi.com/iso20022-parser |
Public edge API base URL. |
timeoutMs |
number |
15000 |
Request timeout in milliseconds (uses native AbortSignal.timeout). |
All responses return a typed envelope:
export interface ApiResponse<T> {
success: boolean;
data?: T;
error?: string;
code?: 'VALIDATION_ERROR' | 'UNAUTHORIZED' | 'PAYLOAD_TOO_LARGE' | 'RATE_LIMITED' | 'INTERNAL_ERROR';
}- ISO 20022 Financial Message Parser & Validator Interactive Playground
- Stanza Microservices Directory
- Report an Issue on GitHub
MIT © Stanza — Powered by Stanza.