---
title: "Update a single BankAccount"
method: PATCH
path: "/bank_accounts/{id}.json"
tags: ["Bank Accounts"]
---

# Update a single BankAccount

`PATCH /bank_accounts/{id}.json`

Outlines the parameters and data fields used when updating a single BankAccount

## Path parameters

- `id` integer, required

## Query parameters

- `fields` string

## Headers

- `IF-MATCH` string
- `X-API-VERSION` string

## Request body

- object
  - `data` object, required
    - `account_number` string — Account number for the BankAccount. When Compliant Trust Accounting is enabled, this field is required for operating accounts and controlled trust accounts.
    - `client` object
      - `id` integer — The unique identifier for the client associated with a controlled BankAccount. When Compliant Trust Accounting is enabled and creating a controlled bank account, this field is required and cannot be updated after the account is created.
    - `controlled_account` boolean — Whether this BankAccount is a controlled bank account (Controlled Money Account / Interest Bearing Deposit). When Compliant Trust Accounting is enabled, controlled bank accounts must be of type "Trust" and require bank name, client, and matter details. Client and matter cannot be updated after the account is created.
    - `currency` string — Currency the BankAccount is in.
    - `default_account` boolean — Whether or not the BankAccount should be the default account.
    - `domicile_branch` string — Branch where the BankAccount was opened.
    - `general_ledger_number` string — General ledger number used for the Law Society of Alberta.
    - `holder` string — BankAccount holder.
    - `institution` string — Financial institution (bank name). When Compliant Trust Accounting is enabled and the BankAccount is controlled, this field is required.
    - `matter` object
      - `id` integer — The unique identifier for the matter associated with a controlled BankAccount. When Compliant Trust Accounting is enabled and creating a controlled bank account, this field is required and the matter must belong to the same client specified in `client[id]`. This association cannot be updated after the account is created.
    - `name` string — BankAccount name.
    - `swift` string — Identification code for the financial institution.
    - `transit_number` string — Transit number for the BankAccount branch. When Compliant Trust Accounting is enabled, this field is required for operating accounts.

## Response `200`

Ok

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `429` — Too Many Requests

---

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