Unicorn

The Unicorn Documentation Hub

Welcome to the Unicorn documentation hub where you'll find useful information to help you start working with Unicorn as quickly as possible.

Guides    

Book Transfer XML Input Example

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03">
    <CstmrCdtTrfInitn>
        <GrpHdr>
            <MsgId>CASH12345678</MsgId>
            <CreDtTm>2020-07-29T18:32:51</CreDtTm>
            <NbOfTxs>2</NbOfTxs>
            <CtrlSum>2.04</CtrlSum>
            <InitgPty>
                <Nm>John Doe Corporation</Nm>
                <Id>
                    <OrgId>
                        <BICOrBEI>JOHNDOE99</BICOrBEI>
                    </OrgId>
                </Id>
            </InitgPty>
        </GrpHdr>
        <PmtInf>
            <PmtInfId>CASH12345678</PmtInfId>
            <PmtMtd>TRF</PmtMtd>
            <BtchBookg>true</BtchBookg>
            <NbOfTxs>2</NbOfTxs>
            <CtrlSum>2.04</CtrlSum>
            <PmtTpInf>
                <InstrPrty>NORM</InstrPrty>
                <SvcLvl>
                    <Cd>URGP</Cd>
                </SvcLvl>
            </PmtTpInf>
            <ReqdExctnDt>2020-07-29</ReqdExctnDt>
            <Dbtr>
                <Nm>John Doe Corporation</Nm>
                <PstlAdr>
                    <StrtNm>999 Any Street, 13th Floor</StrtNm>
                    <PstCd>99999</PstCd>
                    <TwnNm>Anytown</TwnNm>
                    <CtrySubDvsn>CA</CtrySubDvsn>
                    <Ctry>US</Ctry>
                </PstlAdr>
            </Dbtr>
            <DbtrAcct>
                <Id>
                    <Othr>
                        <Id>0123456789</Id>
                    </Othr>
                </Id>
                <Ccy>USD</Ccy>
            </DbtrAcct>
            <DbtrAgt>
                <FinInstnId>
                    <ClrSysMmbId>
                        <ClrSysId>
                            <Cd>USABA</Cd>
                        </ClrSysId>
                        <MmbId>123456789</MmbId>
                    </ClrSysMmbId>
                    <PstlAdr>
                        <Ctry>US</Ctry>
                    </PstlAdr>
                </FinInstnId>
            </DbtrAgt>
            <ChrgBr>SHAR</ChrgBr>
            <CdtTrfTxInf>
                <PmtId>
                    <InstrId>100BKTW004345</InstrId>
                    <EndToEndId>0000000000000072</EndToEndId>
                </PmtId>
                <Amt>
                    <InstdAmt Ccy="USD">0.04</InstdAmt>
                </Amt>
                <CdtrAgt>
                    <FinInstnId>
                        <ClrSysMmbId>
                            <ClrSysId>
                                <Cd>USABA</Cd>
                            </ClrSysId>
                            <MmbId>021214891</MmbId>
                        </ClrSysMmbId>
                        <Nm>Cross River Bank NJ</Nm>
                        <PstlAdr>
                            <Ctry>US</Ctry>
                        </PstlAdr>
                    </FinInstnId>
                </CdtrAgt>
                <Cdtr>
                    <Nm>John Doe Corporation</Nm>
                    <PstlAdr>
                        <StrtNm>999 Any Street, 13th Floor</StrtNm>
                        <PstCd>99999</PstCd>
                        <TwnNm>Anytown</TwnNm>
                        <CtrySubDvsn>CA</CtrySubDvsn>
                        <Ctry>US</Ctry>
                    </PstlAdr>
                    <Id>
                        <OrgId>
                            <Othr>
                                <Id>0123456789</Id>
                            </Othr>
                        </OrgId>
                    </Id>
                </Cdtr>
                <CdtrAcct>
                    <Id>
                        <Othr>
                            <Id>0123456789</Id>
                        </Othr>
                    </Id>
                    <Ccy>USD</Ccy>
                </CdtrAcct>
                <RmtInf>
                    <Ustrd>Testing</Ustrd>
                </RmtInf>
            </CdtTrfTxInf>
            <CdtTrfTxInf>
                <PmtId>
                    <InstrId>100BKTW0000</InstrId>
                    <EndToEndId>0000000000000073</EndToEndId>
                </PmtId>
                <Amt>
                    <InstdAmt Ccy="USD">2.00</InstdAmt>
                </Amt>
                <CdtrAgt>
                    <FinInstnId>
                        <ClrSysMmbId>
                            <ClrSysId>
                                <Cd>USABA</Cd>
                            </ClrSysId>
                            <MmbId>021214891</MmbId>
                        </ClrSysMmbId>
                        <Nm>Cross River Bank NJ</Nm>
                        <PstlAdr>
                            <Ctry>US</Ctry>
                        </PstlAdr>
                    </FinInstnId>
                </CdtrAgt>
                <Cdtr>
                    <Nm>John Doe Corporation</Nm>
                    <PstlAdr>
                        <StrtNm>999 Any Street, 13th Floor</StrtNm>
                        <PstCd>99999</PstCd>
                        <TwnNm>Anytown</TwnNm>
                        <CtrySubDvsn>CA</CtrySubDvsn>
                        <Ctry>US</Ctry>
                    </PstlAdr>
                    <Id>
                        <OrgId>
                            <Othr>
                                <Id>0123456789</Id>
                            </Othr>
                        </OrgId>
                    </Id>
                </Cdtr>
                <CdtrAcct>
                    <Id>
                        <Othr>
                            <Id>0123456789</Id>
                        </Othr>
                    </Id>
                    <Ccy>USD</Ccy>
                </CdtrAcct>
                <RmtInf>
                    <Ustrd>Testing</Ustrd>
                </RmtInf>
            </CdtTrfTxInf>
        </PmtInf>
    </CstmrCdtTrfInitn>
</Document>

Updated 4 months ago

Book Transfer XML Input Example


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.