www.brainiac.software/api/v1/bank-payments/camt053-parse
Parse an ISO 20022 bank-to-customer statement or report into normalised JSON with balance reconciliation checks. Docs: https://www.brainiac.software/api/bank-payments/camt053-parse
POST
https://www.brainiac.software/api/v1/bank-payments/camt053-parseUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.brainiac.software/api/v1/bank-payments/camt053-parse", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"includeRaw":false,"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\"><BkToCstmrStmt><Grp><MsgId>STMTDEMO001</MsgId><CreDtTm>2024-06-01T09:00:00Z</CreDtTm></Grp><Stmt><Id>1</Id><Acct><Id><IBAN>GB33BUKB20201555555555</IBAN></Id><Ccy>GBP</Ccy></Acct><Bal><Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp><Amt Ccy=\"GBP\">1000.00</Amt><CdtDb),
});
console.log(await res.json());Example input
{"includeRaw":false,"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\"><BkToCstmrStmt><Grp><MsgId>STMTDEMO001</MsgId><CreDtTm>2024-06-01T09:00:00Z</CreDtTm></Grp><Stmt><Id>1</Id><Acct><Id><IBAN>GB33BUKB20201555555555</IBAN></Id><Ccy>GBP</Ccy></Acct><Bal><Tp><CdOrPrtry><Cd>CLBD</Cd></CdOrPrtry></Tp><Amt Ccy=\"GBP\">1000.00</Amt><CdtDb