# Retrieve Statements Retrieves a paginated list of statements for a given account id. Endpoint: GET /v1/accounts/deposits/{id}/statements Version: 1.1.2 Security: OAuth2Flow ## Path parameters: - `id` (string, required) Account ID ## Query parameters: - `page` (integer) Page of records to get (default 0 = first page) - `page_size` (integer) Records to return per page (default = 20) ## 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.statements` (array, required) Statement List - `data.statements.id` (string, required) Statement identifier - `data.statements.year` (integer, required) Statement year - `data.statements.month` (integer, required) Statement month - `links` (object, required) See the [pagination](https://docs.layer2financial.com/guides/pagination/) section for additional details on the generic pagination approach. - `links.self` (string, required) endpoint to the current page of results - `links.first` (string, required) endpoint to the first page of results - `links.prev` (string, required) endpoint to the previous page of results - `links.next` (string, required) endpoint to the next page of results - `links.last` (string, required) endpoint to the last page of results ## 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