---
title: "Update a team's bank account"
method: PATCH
path: "/api/v1/teams/{teamId}/bank-accounts/{bankAccountId}"
tags: ["Team bank accounts"]
---

# Update a team's bank account

`PATCH /api/v1/teams/{teamId}/bank-accounts/{bankAccountId}`

## Request

- Base URL: `https://partner-api.monta.com`
- URL: `https://partner-api.monta.com/api/v1/teams/{teamId}/bank-accounts/{bankAccountId}`
- Auth: HTTP bearer

Required scope: `team-bank-accounts:write` </br>Organization authorization: `supported`</br></br>An omitted field keeps its stored value. The account must still satisfy the fields its `type` requires once the update is applied.

## Path parameters

- `teamId` integer, required
- `bankAccountId` integer, required

## Request body

- UpdateBankAccount
  - `name` string, nullable: Name of the bank account
  - `type` 'iban' | 'swift' | 'bsb' | 'sort_account' | 'routing_account' | 'local_canadian' | 'emirates', required: Which set of fields identifies the account.</br></br>`iban` requires `iban`. `swift` requires `swift`. `bsb` requires `bsb`. `sort_account` requires `sortCode` and `accountNumber`. `routing_account` requires `routingNumber`, `accountNumber` and `accountType`. `local_canadian` requires `institutionNumber`, `transitNumber` and `accountNumber`. `emirates` requires `iban`.
  - `iban` string, nullable: IBAN of the bank account. Validated against its check digits.
  - `swift` string, nullable: SWIFT/BIC of the bank account
  - `bsb` string, nullable: BSB number of the bank account (Australia)
  - `sortCode` string, nullable: Sort code of the bank account (United Kingdom)
  - `accountNumber` string, nullable: Account number of the bank account
  - `routingNumber` string, nullable: Routing number of the bank account (United States)
  - `accountType` 'checking' | 'savings', nullable: Account type, required with receive option `routing_account`
  - `transitNumber` string, nullable: Transit number of the bank account (Canada, 5 digits)
  - `institutionNumber` string, nullable: Institution number of the bank account (Canada, 3 digits)

## Response `200`

Bank account updated

- BankAccount
  - `id` integer: Id of the bank account
  - `name` string, required: Name of the bank account
  - `type` 'iban' | 'swift' | 'bsb' | 'sort_account' | 'routing_account' | 'local_canadian' | 'emirates', nullable: Which set of fields identifies the account. Determines what the other fields must contain.
  - `iban` string, nullable: IBAN of the bank account
  - `swift` string, nullable: SWIFT/BIC of the bank account
  - `bsb` string, nullable: BSB number of the bank account (Australia)
  - `sortCode` string, nullable: Sort code of the bank account (United Kingdom)
  - `accountNumber` string, nullable: Account number of the bank account
  - `routingNumber` string, nullable: Routing number of the bank account (United States)
  - `accountType` 'checking' | 'savings', nullable: Account type, required with receive option `routing_account`
  - `transitNumber` string, nullable: Transit number of the bank account
  - `institutionNumber` string, nullable: Institution number of the bank account
  - `currencyId` integer: Id of the bank account's currency
  - `createdAt` string, date-time, required: When the bank account was created
  - `updatedAt` string, date-time, nullable: When the bank account was last updated

## Other responses

- `400`: The request is invalid
- `401`: Consumer with provided credentials was not found
- `403`: Operator doesn't have access to resource
- `404`: Entity with the provided id was not found

## Changes

- **2026-11-03** `0ca400461c52`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/monta/apis/monta-partner-api/changes/api/v1/teams/:teamId/bank-accounts/:bankAccountId/patch.md)

---

[API](https://skmtc.dev/monta/apis/monta-partner-api.md) - [All operations](https://skmtc.dev/monta/apis/monta-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/monta/apis/monta-partner-api/revisions/0ca400461c52?raw)
