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": "A3BDC0F0-1EF2-4A7A-BAC6-",
     "WalletNumber": "00005473",
     "Amount": 10000.0,
     "Balance": 10259.0223,
     "Currency": "GBP",
     "EntryType": "CREDIT",
     "TransactionDate": "24/07/2020 12:57",
     "Description": "Payment received via bank transfer",
     "ConversionDescription": "",
     "AccountName": "Operating Account",
     "AccountNo/IBAN": "10047024",
     "SWIFTCode": "",
     "PaymentReference": "Payment instruction",
     "RoutingCodeType": "Sort Code",
     "RoutingCodeValue": "030740",
     "RoutingCodeType2": "",
     "RoutingCodeValue2": ""
   },
   {
     "WalletId": "27A37DAE-3D4E-4A05-82FA-",
     "WalletNumber": "",
     "Amount": 33.34,
     "Balance": 2732.048,
     "Currency": "EUR",
     "EntryType": "CREDIT",
     "TransactionDate": "28/07/2020 11:53",
     "Description": "Amount converted for trade 00005473-38",
     "ConversionDescription": "Converted 33.34 EUR from 27.00  GBP"
     "AccountName": "",
     "AccountNo/IBAN": "",
     "SWIFTCode": "",
     "PaymentReference": "",
     "RoutingCodeType": "",
     "RoutingCodeValue": "",
     "RoutingCodeType2": "",
     "RoutingCodeValue2": ""
   },
   {
     "WalletId": "A3BDC0F0-1EF2-4A7A-BAC6-",
     "WalletNumber": "00005473",
     "Amount": 7.2699,
     "Balance": 10234.7424,
     "Currency": "GBP",
     "EntryType": "DEBIT",
     "TransactionDate": "30/07/2020 10:09",
     "Description": "Amount debited for trade 00005473-39",
     "ConversionDescription": "Exchange from 7.27 GBP to 9.00 EUR"
     "AccountName": "",
     "AccountNo/IBAN": "",
     "SWIFTCode": "",
     "PaymentReference": "",
     "RoutingCodeType": "",
     "RoutingCodeValue": "",
     "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