---
title: "Update a bank account"
method: PUT
path: "/bank-accounts/{id}"
tags: ["BankAccount"]
---

# Update a bank account

`PUT /bank-accounts/{id}`

Update an existing bank accounts. Returns a bank account object if the update is succeded.

## Path parameters

- `id` integer, required

## Request body

- BankAccount
  - `id` integer
  - `name` string, required
  - `account_number` string, required
  - `account_number_iban` string
  - `swift` string
  - `currency` 'AUD' | 'BGN' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'LTL' | 'LVL' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'RSD' | 'RUB' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'UAH' | 'USD' | 'ZAR', required
  - `need_qr` boolean

## Response `200`

Bank account updated successfully.

- BankAccount
  - `id` integer
  - `name` string, required
  - `account_number` string, required
  - `account_number_iban` string
  - `swift` string
  - `currency` 'AUD' | 'BGN' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'LTL' | 'LVL' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'RSD' | 'RUB' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'UAH' | 'USD' | 'ZAR', required
  - `need_qr` boolean

## Other responses

- `400` — The request is malformed.
- `401` — Authorization information is missing or invalid.
- `403` — Authenticated user doesn't have access to the resource.
- `404` — Non-existent resource is requested.
- `422` — Validation errors occured.
- `500` — Internal server error.

---

[API](https://skmtc.dev/swaggerhub/apis/billingo-api-v3.md) · [All operations](https://skmtc.dev/swaggerhub/apis/billingo-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swaggerhub/billingo-api-v3/revisions/03576cabefad/schema)
