---
title: "Update a bank account"
method: PATCH
path: "/v3/funding-accounts/banks/{bankAccountId}"
tags: ["funding-accounts"]
---

# Update a bank account

`PATCH /v3/funding-accounts/banks/{bankAccountId}`

## Request

- Base URL: `https://gateway.stage.bill.com/connect`
- URL: `https://gateway.stage.bill.com/connect/v3/funding-accounts/banks/{bankAccountId}`
- Auth: none declared

Update details about an existing bank account.

This operation follows a set of rules.
* **Bank account `status` requirement**: The bank account `status` must be set as `VERIFIED` before you can update any details about the bank account. You can verify the bank account with `POST /v3/funding-accounts/banks/{bankAccountId}/verify`.
* **Update field restrictions**: You cannot update the `routingNumber`, `accountNumber`, and account `type` values for a bank account. If you want to update any of these values, create a new bank account with `POST /v3/funding-accounts/banks`.

## Path parameters

- `bankAccountId` string, required: BILL-generated ID of the bank account. The value begins with `bac`.

## Headers

- `sessionId` string, nullable: API session ID generated with `/v3/login`
- `devKey` string, nullable: Developer key generated with your BILL developer account

## Request body

- OrganizationBankAccountUpdateRequestDto: Update a bank account
  - `nameOnAccount` string: Full name on bank account
  - `ownerType` 'BUSINESS' | 'PERSONAL': Bank account owner type
  - `bankName` string: Bank name. Set this field as a nickname for your bank account.
  - `accessToAdmins` boolean: Set as `true` to enable access to all users with the `ADMINISTRATOR` user role
  - `default` object: Bank account default values for BILL AP and AR operations
    - `payables` boolean: Set as `true` if the bank account is set as default for Accounts Payable operations
    - `receivables` boolean: Set as `true` if the bank account is set as default for Accounts Receivable operations
  - `chartOfAccountId` string: BILL-generated ID of the chart of accounts for the organization bank account. The value begins with `0ca`.

## Response `200`

Update a bank account response

- OrganizationBankAccountResponseDto: Bank account response.
  - `id` string, required: BILL-generated ID of the bank account. The value begins with `bac`.
  - `archived` boolean, required: Set as `true` if the bank account is archived
  - `status` 'NOT_VERIFIED' | 'VERIFIED' | 'PENDING' | 'BLOCKED' | 'EXPIRED' | 'INVALID' | 'UNDEFINED': Bank account status.
  - `createdBy` string: BILL-generated ID of the user that created the bank account. The value begins with `006`.
  - `routingNumber` string: Bank routing number
  - `accountNumber` string: Bank account number
  - `nameOnAccount` string: Full name on bank account
  - `type` 'CHECKING' | 'SAVINGS': Bank account type
  - `ownerType` 'BUSINESS' | 'PERSONAL': Bank account owner type
  - `bankName` string: Bank name
  - `accessToAdmins` boolean: Set as `true` to enable access to all users with the `ADMINISTRATOR` user role
  - `default` object: Bank account default values for BILL AP and AR operations
    - `payables` boolean: Set as `true` if the bank account is set as default for Accounts Payable operations
    - `receivables` boolean: Set as `true` if the bank account is set as default for Accounts Receivable operations
  - `createdTime` string, date-time: Created date and time
  - `updatedTime` string, date-time: Updated date and time
  - `chartOfAccountId` string: BILL-generated ID of the chart of accounts for the bank account. The value begins with `0ca`.

## Other responses

- `4XX`: List of errors.
- `5XX`: List of errors.

---

[API](https://skmtc.dev/bill/apis/bill-v3-api.md) - [All operations](https://skmtc.dev/bill/apis/bill-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bill/apis/bill-v3-api/revisions/54edddceb0a5?raw)
