---
title: "Update Owner Bank Details"
method: PUT
path: "/v1/accounts/{accountId}/virtual/{iban}/owner-bank-details"
tags: ["Virtual Accounts"]
---

# Update Owner Bank Details

`PUT /v1/accounts/{accountId}/virtual/{iban}/owner-bank-details`

## Request

- Base URL: `https://api.bcb.group`
- URL: `https://api.bcb.group/v1/accounts/{accountId}/virtual/{iban}/owner-bank-details`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bcb/apis/payments-api/docs/v1/accounts/:accountId/virtual/:iban/owner-bank-details/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the owner bank details for the virtual account with the given IBAN

## Path parameters

- `accountId` number, required
- `iban` string, required

## Request body

- union
  - UpdateEUROwnerBankDetailsRequest
    - `iban` string, required: The IBAN of the virtual account owner's bank account - mandatory for EUR accounts
    - `bicSwift` string, required: The BIC of the virtual account owner's bank account - mandatory for EUR accounts
  - UpdateGBPOwnerBankDetailsRequest
    - `iban` string: The IBAN of the virtual account owner's bank account - optional for GBP accounts
    - `accountNumber` string, required: The 8-digit account number of the virtual account owner's bank account - mandatory for GBP accounts
    - `sortCode` string, required: The 6-digit sort code of the virtual account owner's bank account - mandatory for GBP accounts
    - `bicSwift` string: The BIC of the virtual account owner's bank account - optional for GBP accounts

## Response `200`

The owner bank details were updated successfully

## Other responses

- `400`: The request is invalid
- `404`: The accountId or iban is unknown

---

[API](https://skmtc.dev/bcb/apis/payments-api.md) - [All operations](https://skmtc.dev/bcb/apis/payments-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bcb/apis/payments-api/revisions/5b9085573809?raw)
