# Retrieve Statement Retrieves the statement for a specific month and year for a given account id. Endpoint: GET /v1/accounts/deposits/{account_id}/statements/{statement_id} Version: 1.1.2 Security: OAuth2Flow ## Path parameters: - `account_id` (string, required) Account ID - `statement_id` (string, required) Statement ID ## Header parameters: - `Authorization` (string) OAuth bearer token (see authentication flows) - `x-l2f-request-id` (string) Optional Unique ID per request, useful for fault resolution/diagnosis and audit. ## Response 200 fields (application/json): - `data` (object, required) - `data.account_id` (string, required) Account identifier - `data.asset_type_id` (string, required) Asset type identifier - `data.statement_period` (string, required) Statement period - `data.opening_balance` (number, required) Opening balance for the statement period - `data.closing_balance` (number, required) Closing balance for the statement period - `data.customer` (object, required) Customer information - `data.customer.name` (string, required) Customer name - `data.customer.address1` (string) Address Line 1 - `data.customer.address2` (string) Address Line 2 - `data.customer.address3` (string) Address Line 3 - `data.customer.city` (string) City - `data.customer.state` (string) State / Province - `data.customer.postal_code` (string) Postal / Zip Code - `data.customer.country` (string) Country - `data.transactions` (array, required) List of transactions for the statement period - `data.transactions.transaction_id` (string, required) Transaction identifier - `data.transactions.transaction_type` (string, required) Type of transaction - `data.transactions.description` (string, required) Transaction description - `data.transactions.transaction_date` (string, required) Date time the transaction was performed - `data.transactions.transaction_posted_date` (string, required) Date time the transaction was posted - `data.transactions.amount` (number, required) Transaction amount - `data.transactions.balance` (number, required) Account balance after transaction ## Response 400 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 401 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 404 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 500 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description