v1/Accounts/Statements/{Currency}

 

API parameters
Required

 

Name In Type Description
Bearer Token Authorization string Authentication token.

 

Optional

 

Name In Type Description
CustomerId Parameter string CustomerId.
Currency Path string Currency.
Fromdate Parameter string fromdate (format in dd/mm/yyyy).
Todate Parameter string Todate (format in dd/mm/yyyy).
WalletId Parameter string WalletId.
PageNumber Parameter int PageNumber.
DefaultRecord Parameter int Default record per request,Default value is 20.

 

Response

 

 {
     "Statements":[{
     "WalletId": "0BC36C33-7B8F-4D33-9B97-",
     "WalletNumber": "00019581",
     "Amount": "3.0",
     "Balance": "49997.0",
     "Currency": "GBP",
     "EntryType": "CREDIT",
     "TransactionDate": "28/01/2020 11:15",
     "Description": "Payment received via bank transfer",
     "ConversionDescription": "",
     "AccountName": "Test Account",
     "AccountNo/IBAN": "00000085",
     "SWIFTCode": "",
     "PaymentReference": "Payment instruction",
     "RoutingCodeType": "Sort Code",
     "RoutingCodeValue": "040590",
     "RoutingCodeType2": "",
     "RoutingCodeValue2": ""
   },
   {
     "WalletId": "0BC36C33-7B8F-4D33-9B97-",
     "WalletNumber": "00005473",
     "Amount": "89.0",
     "Balance": "49908.0",
     "Currency": "GBP",
     "EntryType": "CREDIT",
     "TransactionDate": "28/01/2020 11:23",
     "Description": "Converted 8.01 GBP from 10.00 EUR Amount converted for trade 00000868-29",
     "ConversionDescription": ""
     "AccountName": "",
     "AccountNo/IBAN": "",
     "SWIFTCode": "",
     "PaymentReference": "",
     "RoutingCodeType": "",
     "RoutingCodeValue": "",
     "RoutingCodeType2": "",
     "RoutingCodeValue2": ""
   },
   {
     "WalletId": "A3BDC0F0-1EF2-4A7A-BAC6-",
     "WalletNumber": "00005473",
     "Amount": "22.0",
     "Balance": "49886.0",
     "Currency": "GBP",
     "EntryType": "DEBIT",
     "TransactionDate": "28/01/2020 13:26",
     "Description": "Amount debited for trade 00005214-01",
     "ConversionDescription": "Exchange from 22.00 GBP to 38.27 AUD"
     "AccountName": "Test Account2",
     "AccountNo/IBAN": "00000052",
     "SWIFTCode": "",
     "PaymentReference": "Payment Instruction",
     "RoutingCodeType": "Sort Code",
     "RoutingCodeValue": "2236",
     "RoutingCodeType2": "",
     "RoutingCodeValue2": ""
    }
   ],
   "Paging": {
   "CurrentPage": 3,
   "TotalRecord": 11,
   "TotalPage": 4
   }
 }

 

Error Codes

 

HTTP Status Code Description
401 Invalid credentials Invalid credentials
404 Invalid customerid Invalid customerid
404 Invalid currency Currency should be ISO format
400 No statement found for requested currency No statement found for requested currency
400 More than 3 month are not allowed More than 3 month are not allowed
400 From date should be in dd/mm/yyyy From date should be in dd/mm/yyyy
400 To date should be in dd/mm/yyyy To date should be in dd/mm/yyyy