---
title: "List a company's bank accounts for the bookkeeping agent"
method: GET
path: "/accountant/companies/{customerId}/agent/bank-accounts"
tags: ["Accountant Portal"]
---

# List a company's bank accounts for the bookkeeping agent

`GET /accountant/companies/{customerId}/agent/bank-accounts`

## Request

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

The bookkeeping agent's key only. Each of the company's non-personal bank accounts as id, account type, cash-equivalent flag and linked GL account id, so the agent can tell a credit-card payment from a transfer between cash accounts. No names, numbers or balances. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404. The shared cloud-bookkeeping service token gets 404 here.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

Success envelope

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: The agent is not enabled for this company, or its kill switch is on

## Changes

- **2026-10-29** `e1fc804546d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/bank-accounts/get.md)

---

[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/4f4c2d34276b?raw)
