---
updatedAt: 2025-11-28T22:30:14.000Z
agentTools:
  projectIndex: https://docs.bcb.group/llms.txt
---

# Update Owner Bank Details

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

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Payments API",
    "description": "This is the api documentation for the BCB Group Payments API",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.bcb.group",
      "description": "Production"
    },
    {
      "url": "https://api.uat.bcb.group",
      "description": "Sandbox"
    }
  ],
  "paths": {
    "/v1/accounts/{accountId}/virtual/{iban}/owner-bank-details": {
      "put": {
        "summary": "Update Owner Bank Details",
        "description": "Updates the owner bank details for the virtual account with the given IBAN",
        "operationId": "VirtualAccounts_UpdateOwnerBankDetailsV1",
        "parameters": [
          {
            "name": "accountId",
            "required": true,
            "in": "path",
            "description": "The account id for the segregated account",
            "schema": {
              "example": 123,
              "type": "number"
            }
          },
          {
            "name": "iban",
            "required": true,
            "in": "path",
            "description": "The IBAN of the virtual account",
            "schema": {
              "example": "GB33BUKB20201555555555",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/UpdateEUROwnerBankDetailsRequest"
                  },
                  {
                    "$ref": "#/components/schemas/UpdateGBPOwnerBankDetailsRequest"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The owner bank details were updated successfully"
          },
          "400": {
            "description": "The request is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The accountId or iban is unknown",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "tags": [
          "Virtual Accounts"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "The description of the error."
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP Status code representing the error."
          }
        },
        "required": [
          "message",
          "statusCode"
        ]
      },
      "UpdateEUROwnerBankDetailsRequest": {
        "type": "object",
        "properties": {
          "iban": {
            "type": "string",
            "description": "The IBAN of the virtual account owner's bank account - mandatory for EUR accounts",
            "example": "GB33BUKB20201555555555"
          },
          "bicSwift": {
            "type": "string",
            "description": "The BIC of the virtual account owner's bank account - mandatory for EUR accounts",
            "example": "BARCGB22XXX"
          }
        },
        "required": [
          "iban",
          "bicSwift"
        ]
      },
      "UpdateGBPOwnerBankDetailsRequest": {
        "type": "object",
        "properties": {
          "iban": {
            "type": "string",
            "description": "The IBAN of the virtual account owner's bank account - optional for GBP accounts",
            "example": "GB33BUKB20201555555555"
          },
          "accountNumber": {
            "type": "string",
            "description": "The 8-digit account number of the virtual account owner's bank account - mandatory for GBP accounts",
            "example": "12345678"
          },
          "sortCode": {
            "type": "string",
            "description": "The 6-digit sort code of the virtual account owner's bank account - mandatory for GBP accounts",
            "example": "000000"
          },
          "bicSwift": {
            "type": "string",
            "description": "The BIC of the virtual account owner's bank account - optional for GBP accounts",
            "example": "BARCGB22XXX"
          }
        },
        "required": [
          "accountNumber",
          "sortCode"
        ]
      }
    }
  }
}
```