# List a record's bank statements

One deal's bank statements as the processor read them: each file with the months extracted from it — revenue, deposits, average daily balance, NSFs, the positions found in it and the reasoning behind each figure — and the rollup those months add up to. `get_definitions_key_rows_rowId_statements` is the other half: the files and spans a person filed, without any of this arithmetic. Deals page only.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/bank-statements`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": [
    {
      "extractions": [
        "string"
      ],
      "fileId": "",
      "fileName": "string",
      "jobId": "",
      "periods": [
        "string"
      ],
      "rollup": {
        "avgDailyBalanceMinor": "string",
        "avgDepositsMinor": "string",
        "avgRevenueMinor": "string",
        "months": "string",
        "negativeDays": "string",
        "nsfCount": "string",
        "positions": "string"
      },
      "uploadedAt": "string"
    }
  ]
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
