Get Account Statement
This web service interface is used for obtaining account statement data from bank system.
Besides account number and its currency there will be period (starting and closing date) defined in interface request for which statement data should be provided/returned. Data will be calculated and returned as sum of all credit and debit transaction’s amounts for whole period defined in request, not per each day. So there will be 2 amounts (sums) in response plus starting and closing balance (balanceType: booked) according to periodFrom/periodTo dates.
There will be no currency exchange calculation (e.g. inGelEquiv).
Payment Order Attribute Formats
Attribute format defines allowed character set and maximal number of characters in the attribute value.
Exclamation mark (!) means that value should contain exactly the specified number of characters; e.g.:
- '22!S' – value should contain exactly 22 characters that correspond to 'S' charset;
- '22S' – value can contain up to 22 characters that correspond to 'S' charset;
- '13n.2n' – digits and decimal point: up to 13 digits before point and up to 2 digits after the point.
Format Code | Allowed Charset |
---|---|
n | Digits: 0123456789 |
A | Capital letters of the Latin alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ |
S | Capital letters of the Latin alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ Digits: 0123456789 Characters: / - ? : ( ) . , ` + _ * < > & SPACE |
R | Georgian (Unicode, UTF-8) letters: აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰ Lower case letters of the Latin alphabet: abcdefghijklmnopqrstuvwxyz Capital letters of the Latin alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZ Digits: 0123456789 Characters: / - ? : ( ) . , ' + space |
Characters < > & must be represented as:
Characters must be represented: "<" as < ">" as > "&"as &
MoneyIo Object
List of request attributes in GetAccountStatement Web Service:
Attribute | Type | Comment |
---|---|---|
accountNumber | String | Account number |
accountCurrencyCode | String | Account currency; is mandatory when accountNumber is specified |
periodFrom | DateTime | Starting date from which statement data should be provided |
periodTo | DateTime | Closing date to which statement data should be provided |
Example 1: Get Account Statement Request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:myg="http://www.mygemini.com/schemas/mygemini"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<soapenv:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>USERNAME</wsse:Username>
<wsse:Password>PASSWORD</wsse:Password>
<wsse:Nonce>111111</wsse:Nonce>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<myg:GetAccountStatementRequestIo>
<myg:filter>
<myg:periodFrom>2021-01-01</myg:periodFrom>
<myg:periodTo>2023-03-02</myg:periodTo>
<myg:accountNumber>GE48TB7044436080100017</myg:accountNumber>
<myg:currency>GEL</myg:currency>
</myg:filter>
</myg:GetAccountStatementRequestIo>
</soapenv:Body>
</soapenv:Envelope>
List of response attributes in GetAccountStatement Web Service:
Attribute | Type | Comment |
---|---|---|
openingDate | DateTime | Starting date from which statement data are provided |
openingBalance | MoneyIo | Starting booked balance for opening date (means available balance as on statement page) |
closingDate | DateTime | Closing date to which statement data are provided |
closingBalance | MoneyIo | Final available balance of last/closing date (as on statement page) |
debitSum | MoneyIo | Sum of all debit amounts from starting date to closing date |
creditSum | MoneyIo | Sum of all credit amounts from starting date to closing date |
currency | String | Account Currency |
Example 2: Get Account Statement Response
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns2="http://www.mygemini.com/schemas/mygemini">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:GetAccountStatementResponseIo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ns2:statement>
<ns2:openingDate>2021-01-01</ns2:openingDate>
<ns2:openingBalance>0</ns2:openingBalance>
<ns2:closingDate>2024-03-02</ns2:closingDate>
<ns2:closingBalance>227</ns2:closingBalance>
<ns2:creditSum>582</ns2:creditSum>
<ns2:debitSum>355</ns2:debitSum>
<ns2:currency>GEL</ns2:currency>
</ns2:statement>
</ns2:GetAccountStatementResponseIo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Updated 10 months ago