{"uid":"cap_8_Di_xmgiHWJTPsZjWPxC","slug":"api-strale-io-001aded6","name":"SEPA XML Validator","description":"Validate SEPA XML files (pain.001 credit transfer, pain.008 direct debit). Checks structure, IBANs, BICs, amounts, transaction counts.","url":"https://api.strale.io/x402/sepa-xml-validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["xml"],"properties":{"xml":{"type":"string","description":"SEPA XML string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.003.02\"><CstmrCdtTrfInitn><GrpHdr><MsgId>MSG001</MsgId><CreDtTm>2024-01-15T10:00:00</CreDtTm><NbOfTxns>1</NbOfTxns><CtrlSum>100.00</CtrlSum></GrpHdr><PmtInf><PmtInfId>PMTINF001</PmtInfId><PmtMtd>TRF</PmtMtd><NbOfTxns>1</NbOfTxns><CtrlSum>100.00</CtrlSum><Dbtr><Nm>Test Company</Nm><PstlAdr><Ctry>DE</Ctry></PstlAdr></Dbtr><DbtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></DbtrAcct><DbtrAgt><FinInstnId><BIC>COBADEFFXXX</BIC></FinInstnId></DbtrAgt><CdtTrfTxInf><PmtId><InstrId>INSTR001</InstrId><EndToEndId>E2E001</EndToEndId></PmtId><Amt><InstdAmt Ccy=\"EUR\">100.00</InstdAmt></Amt><Cdtr><Nm>Test Recipient</Nm></Cdtr><CdtrAcct><Id><IBAN>DE89370400440532013001</IBAN></Id></CdtrAcct><CdtrAgt><FinInstnId><BIC>COBADEFFXXX</BIC></FinInstnId></CdtrAgt></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn></Document>"},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0x988bbeefb5cf2b901025af65536819e7887ba70f92cca7b86cb621599c60b3c0"},"capability":"sepa-xml-validate","latency_ms":0,"provenance":{"source":"algorithmic","fetched_at":"2026-06-13T04:24:45.058Z"}},"valid":false,"debtor":{"bic":null,"iban":null,"name":null},"errors":[{"path":"Document","message":"Cannot determine SEPA message type. Expected pain.001 (credit transfer) or pain.008 (direct debit)."},{"path":"GrpHdr/NbOfTxs","message":"Missing NbOfTxs (Number of Transactions)."},{"path":"PmtInf","message":"No PmtInf (Payment Information) blocks found."},{"path":"GrpHdr/CtrlSum","message":"Control sum mismatch: CtrlSum declares 100, but computed total is 0."}],"schema":"pain.001.003.02","currency":"EUR","warnings":[],"message_id":"MSG001","message_type":null,"total_amount":0,"creation_date":"2024-01-15T10:00:00","payment_count":0,"creditor_count":0}},"exampleRequest":{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:pain.001.003.02\"><CstmrCdtTrfInitn><GrpHdr><MsgId>MSG001</MsgId><CreDtTm>2024-01-15T10:00:00</CreDtTm><NbOfTxns>1</NbOfTxns><CtrlSum>100.00</CtrlSum></GrpHdr><PmtInf><PmtInfId>PMTINF001</PmtInfId><PmtMtd>TRF</PmtMtd><NbOfTxns>1</NbOfTxns><CtrlSum>100.00</CtrlSum><Dbtr><Nm>Test Company</Nm><PstlAdr><Ctry>DE</Ctry></PstlAdr></Dbtr><DbtrAcct><Id><IBAN>DE89370400440532013000</IBAN></Id></DbtrAcct><DbtrAgt><FinInstnId><BIC>COBADEFFXXX</BIC></FinInstnId></DbtrAgt><CdtTrfTxInf><PmtId><InstrId>INSTR001</InstrId><EndToEndId>E2E001</EndToEndId></PmtId><Amt><InstdAmt Ccy=\"EUR\">100.00</InstdAmt></Amt><Cdtr><Nm>Test Recipient</Nm></Cdtr><CdtrAcct><Id><IBAN>DE89370400440532013001</IBAN></Id></CdtrAcct><CdtrAgt><FinInstnId><BIC>COBADEFFXXX</BIC></FinInstnId></CdtrAgt></CdtTrfTxInf></PmtInf></CstmrCdtTrfInitn></Document>"},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aAIvQH81v0wrHPc0_6X6M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates SEPA XML payment files (pain.001 credit transfer and pain.008 direct debit) by checking structure, IBANs, BICs, amounts, and transaction counts.","exampleAgentPrompt":"Can you check this SEPA XML file for me and tell me if it's valid — it's a pain.001 credit transfer and I want to make sure the IBANs, BICs, amounts, and transaction counts are all correct before I submit it to the bank?","exampleUseCases":[{"title":"Batch payment file compliance check","prompt":"I'm processing a batch of employee payroll transfers in SEPA format and need to validate the pain.001 XML before sending it to our bank — can you check all the IBANs, BICs, and amounts to make sure everything is correct and there are no structural issues?"},{"title":"Direct debit setup validation","prompt":"We're setting up a new pain.008 direct debit XML file for collecting customer subscriptions across Europe, and I want to verify the file is valid and all the transaction counts match what we're expecting before we submit it to our payment processor."},{"title":"Failed payment file debugging","prompt":"Our bank rejected our SEPA payment XML file yesterday but didn't give us clear feedback on what was wrong — can you validate this pain.001 file and tell me exactly which IBANs, amounts, or structure issues are causing the rejection so we can fix it?"}],"resultDescription":"Returns a validation report indicating whether the SEPA XML is structurally valid, with details on any errors found in IBANs, BICs, amounts, transaction counts, and overall XML structure conformance to pain.001 or pain.008 schemas.","failureModes":["Missing or empty xml query parameter — returns error indicating required field","Malformed XML that cannot be parsed — returns parse error details","XML that doesn't conform to pain.001 or pain.008 namespace — returns schema mismatch error","Network timeout if XML payload is very large","Invalid IBAN format detected and reported in validation output"],"whenToPreferThis":"Use this endpoint when you need to validate SEPA payment XML files (pain.001 credit transfers or pain.008 direct debits) before submission to a bank or payment processor, especially when you need granular feedback on IBAN/BIC validity, amounts, and transaction counts rather than just structural XML well-formedness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-09T18:54:35.554Z","isFirstParty":false,"canonicalSlug":"api-strale-io-001aded6"}