x402
SEPA XML Validate (x402)
Validate SEPA XML files (pain.001 credit transfer, pain.008 direct debit). Checks structure, IBANs, BICs, amounts, transaction counts.
get/x402/v2/sepa-xml-validate
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/sepa-xml-validate
- Auth: none required
Query parameters
xmlstring required
SEPA XML string
Response
Success
Example response
{
"valid": false,
"debtor": {
"bic": null,
"iban": null,
"name": null
},
"errors": [
{
"path": "Document/@xmlns",
"message": "Missing or invalid SEPA namespace. Expected urn:iso:std:iso:20022:tech:xsd:pain.001.001.03 or pain.008.001.02."
},
{
"path": "Document",
"message": "Cannot determine SEPA message type. Expected pain.001 (credit transfer) or pain.008 (direct debit)."
},
{
"path": "GrpHdr/MsgId",
"message": "Missing MsgId (Message Identification)."
},
{
"path": "GrpHdr/CreDtTm",
"message": "Missing CreDtTm (Creation Date Time)."
},
{
"path": "GrpHdr/NbOfTxs",
"message": "Missing NbOfTxs (Number of Transactions)."
},
{
"path": "PmtInf",
"message": "No PmtInf (Payment Information) blocks found."
}
],
"schema": null,
"currency": "EUR",
"warnings": [],
"message_id": null,
"message_type": null,
"total_amount": 0,
"creation_date": null,
"payment_count": 0,
"creditor_count": 0
}Changes
No recorded changes to this operation across all 1 revision of this API.