# A deal's linked banks

Every bank connected to this deal, with the accounts inside each one, its institution, whether it still works, and who consented to the link and when. Never the access token - there is no field for it. Reach for this before offering to link a bank, and to explain where a statement month with source 'plaid' came from.

Access class: `def:read`.

## Endpoint

`GET /v1/definitions/{key}/rows/{rowId}/plaid/items`

## 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": [
    {
      "accounts": [
        "string"
      ],
      "consentedAt": "string",
      "consentedByEmail": "string",
      "consentedByKind": "string",
      "consentedByUserId": 1,
      "consentedIp": "string",
      "createdAt": "string",
      "dealId": "",
      "environment": "string",
      "id": "",
      "institutionId": "",
      "institutionName": "string",
      "lastError": "string",
      "lastSyncedAt": "string",
      "plaidItemId": "",
      "status": "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"
}
```
