---
title: "Get a bank account by ID"
method: GET
path: "/companies/{companyId}/bank-accounts/{id}"
tags: ["Bank Accounts"]
---

# Get a bank account by ID

`GET /companies/{companyId}/bank-accounts/{id}`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/bank-accounts/{id}`
- Auth: HTTP bearer

## Response `200`

Bank account found

- BankAccountResponse
  - `success` boolean
  - `data` BankAccount
    - `id` string, uuid
    - `companyId` string, uuid
    - `entityId` string, uuid
    - `integrationId` string, uuid, nullable
    - `provider` string, nullable
    - `institutionName` string
    - `accountName` string, nullable
    - `accountType` 'checking' | 'savings' | 'credit' | 'investment' | 'processor', nullable
    - `mask` string, nullable
    - `currency` string
    - `balanceCents` integer, nullable
    - `status` 'active' | 'disconnected' | 'error'
    - `externalId` string, nullable
    - `connectedAt` string, date-time
    - `lastSyncedAt` string, date-time, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Bank account not found

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
