Statements
List of statements
Returns a paginated list of statements. Statements are a record of the balance and the amount of withdrawn and paid to the bank account. Commonly, this statement is sent by the bank to the account holder by a daily or monthly basis. This endpoint fetches all statements from all bank accounts enrolled in Shinkansen Treasury and can be identified by the account_number field. List can be filtered by date range and account number.
get/statements
Response
List of statements
Example response
{
"statements": [
{
"statement_id": "170DEDB6-E320-4288-A2A9-6F79A5EFDEEB",
"currency": "CLP",
"opening_balance": {
"balance_type": "end_of_statement",
"book_balance": 123.5,
"timestamp": "2019-06-04T00:00:00.000Z",
"source": {
"source_type": "account_statement",
"source_id": "AB1DEF2G-7E98-4E13-8B03-0B3B2E6D5A3C"
}
},
"closing_balance": {
"balance_type": "end_of_statement",
"book_balance": 1234.5,
"timestamp": "2019-07-04T00:00:00.000Z",
"source": {
"source_type": "account_statement",
"source_id": "170DEDB6-E320-4288-A2A9-6F79A5EFDEEB"
}
},
"statement_number": "10714171",
"since_booking_date": "2023-05-05",
"until_booking_date": "2023-06-05",
"bank_account_id": "DE48781E-EC90-49B9-96CB-B42EED961996"
},
{
"statement_id": "DDA0AC69-123E-4215-A219-155D2AB1FBE6",
"currency": "CLP",
"opening_balance": {
"balance_type": "end_of_statement",
"book_balance": 123.5,
"timestamp": "2019-06-04T00:00:00.000Z",
"source": {
"source_type": "account_statement",
"source_id": "AB1DEF2G-7E98-4E13-8B03-0B3B2E6D5A3C"
}
},
"closing_balance": {
"balance_type": "end_of_statement",
"book_balance": 1234.5,
"timestamp": "2019-07-04T00:00:00.000Z",
"source": {
"source_type": "account_statement",
"source_id": "170DEDB6-E320-4288-A2A9-6F79A5EFDEEB"
}
},
"statement_number": "10714170",
"since_booking_date": "2023-05-04",
"until_booking_date": "2023-06-04",
"bank_account_id": "DE48781E-EC90-49B9-96CB-B42EED961996"
}
]
}