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

# Update a customer bank account

`PATCH /v3/customers/{customerId}/bank-accounts/{bankAccountId}`

## Request

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

Update details about an existing customer bank account.

You can update only the `nickname` and `ownerType` fields for a customer bank account. If you want to update any of the other fields, create a new customer bank account with `POST /v3/customers/{customerId}/bank-accounts`.

## Path parameters

- `customerId` string, required: BILL-generated ID of the customer. The value begins with `0cu`.
- `bankAccountId` string, required: BILL-generated ID of the customer bank account. The value begins with `cba`.

## Headers

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

## Request body

- UpdateCustomerBankAccountRequestDto: Update a customer bank account
  - `nickname` string: Customer bank account nickname
  - `ownerType` 'BUSINESS' | 'PERSONAL': Customer bank account owner type

## Response `200`

Update a customer bank account response

- CustomerBankAccountResponseDto: CustomerBankAccount response Dto.
  - `id` string: BILL-generated ID of the customer bank account. The value begins with `cba`.
  - `nameOnAccount` string: Customer bank account name
  - `nickname` string: Customer bank account nickname
  - `routingNumber` string: Customer bank routing number
  - `accountNumber` string: Customer bank account number
  - `type` 'CHECKING' | 'SAVINGS': Customer bank account type.
  - `ownerType` 'BUSINESS' | 'PERSONAL': Customer bank account owner type.
  - `status` 'NOT_VERIFIED' | 'VERIFIED' | 'PENDING' | 'BLOCKED' | 'EXPIRED' | 'INVALID' | 'UNDEFINED': Customer bank account status.
  - `archived` boolean: Set as `true` if the customer bank account is archived
  - `createdTime` string, date-time: Created date and time
  - `updatedTime` string, date-time: Updated date and time

## 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)
