---
title: "Update a bank account"
method: PATCH
path: "/bank-accounts/{id}"
tags: ["Bank Accounts"]
---

# Update a bank account

`PATCH /bank-accounts/{id}`

Update a bank account by ID for the authenticated team.

## Path parameters

- `id` string, uuid, required — The unique identifier of the bank account.

## Request body

- object — Schema for updating a bank account.
  - `id` string, uuid — The unique identifier of the bank account.
  - `name` string — The name of the bank account.
  - `enabled` boolean — Whether the bank account is enabled.
  - `balance` number — Current balance of the bank account.
  - `currency` string — The currency code for the bank account (ISO 4217).
  - `type` 'depository' | 'credit' | 'other_asset' | 'loan' | 'other_liability' — Type of the bank account.

## Response `200`

Bank account updated

- object — A single bank account object response.
  - `id` string, uuid, required — Unique identifier for the bank account.
  - `name` string, nullable, required — Name of the bank account.
  - `currency` string, nullable, required — Currency code of the bank account (e.g., USD, EUR).
  - `type` string, nullable, required — Type of the bank account (e.g., depository, credit).
  - `enabled` boolean, required — Whether the bank account is enabled.
  - `balance` number, nullable, required — Current balance of the bank account.
  - `manual` boolean, nullable, required — Whether the bank account is a manual account.

## Other responses

- `default` — An error occurred

---

[API](https://skmtc.net/midday-ai/apis/midday-api.md) · [All operations](https://skmtc.net/midday-ai/apis/midday-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midday-ai/midday-api/versions/c0df9243c1b0/schema)
