---
# @generated by sylphx-gen. Do not edit.
title: "Update a bank transfer account"
description: "`money.bank_transfer_accounts.update` (PATCH /v1/{bank_transfer_account.name}): UpdateBankTransferAccount through the project-scoped bank transfer API."
type: reference
product: payments
summary: "UpdateBankTransferAccount through the project-scoped bank transfer API."
updated: 2026-09-28
nav: false
---

UpdateBankTransferAccount through the project-scoped bank transfer API.

- **Path** `PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account`
- **Scope** `billing:bank_accounts:write`
- **Effect** `write` — a successful call changes state.
- **Collection** [bank_transfer_accounts](/docs/api/bank_transfer_accounts)
- **Query** `update_mask`, `allow_missing`

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `bank_transfer_account` | `BankTransferAccount` | Account configuration. Required. |
| `update_mask` | `field_mask` | Fields to change; empty replaces all writable fields. |
| `allow_missing` | `bool` | Create the singleton if absent. |

### BankTransferAccount

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Resource name. |
| `account_holder` | `string` | Verified beneficiary name. Required. |
| `bank_name` | `string` | Receiving bank name. Required. |
| `bank_code` | `string` | Receiving bank routing or clearing code. Required. |
| `account_number` | `string` | Receiving account number, including branch digits. Required. |
| `fps_id` | `string` | Verified FPS identifier displayed to the payer. |
| `fps_qr_payload` | `string` | Original bank-issued FPS Common QR payload; never an invented account template. |
| `currency_code` | `string` | ISO 4217 receiving account currency. Required. |
| `enabled` | `bool` | Whether new bank-transfer checkouts may be created. |
| `region_code` | `string` | ISO 3166-1 alpha-2 country of the receiving bank. Required. |
| `qr_profile` | `string` | Optional EMV merchant-presented QR country profile: hk_fps. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Resource name. |
| `uid` | `string` | Stable resource identity. Output only. |
| `meta` | `ResourceMeta` | Resource metadata. Output only. |
| `account_holder` | `string` | Verified beneficiary name. Required. |
| `bank_name` | `string` | Receiving bank name. Required. |
| `bank_code` | `string` | Receiving bank routing or clearing code. Required. |
| `account_number` | `string` | Receiving account number, including branch digits. Required. |
| `fps_id` | `string` | Verified FPS identifier displayed to the payer. |
| `fps_qr_payload` | `string` | Original bank-issued FPS Common QR payload; never an invented account template. |
| `currency_code` | `string` | ISO 4217 receiving account currency. Required. |
| `enabled` | `bool` | Whether new bank-transfer checkouts may be created. |
| `region_code` | `string` | ISO 3166-1 alpha-2 country of the receiving bank. Required. |
| `qr_profile` | `string` | Optional EMV merchant-presented QR country profile: hk_fps. |

### ResourceMeta

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as `If-Match` or `etag` to make Update and Delete conditional; a mismatch fails with ABORTED / 409 `ETAG_MISMATCH`. Output only. |
| `create_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.
- [`INVALID_STATE`](/docs/api/errors/INVALID_STATE) — The Resource is in a state that forbids the call.
- [`ETAG_MISMATCH`](/docs/api/errors/ETAG_MISMATCH) — The etag sent does not match the Resource's current etag.
- [`UNAVAILABLE`](/docs/api/errors/UNAVAILABLE) — The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

```curl
curl -X PATCH "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account_holder":"…","account_number":"…","bank_code":"…","bank_name":"…","currency_code":"…","name":"orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account","region_code":"…"}'
```

**TypeScript**

```ts
const response = await sylphx.money.bankTransferAccounts.update({ bankTransferAccount: { accountHolder: '…', accountNumber: '…', bankCode: '…', bankName: '…', currencyCode: '…', name: 'orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account', regionCode: '…' } })
```

**Rust**

```rust
let mut req = sylphx::money::UpdateBankTransferAccountRequest::default();
req.bank_transfer_account = Some(sylphx::money::BankTransferAccount {
    account_holder: "…".to_string(),
    account_number: "…".to_string(),
    bank_code: "…".to_string(),
    bank_name: "…".to_string(),
    currency_code: "…".to_string(),
    name: "orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account".to_string(),
    region_code: "…".to_string(),
    ..Default::default()
});
let response = sx.money().bank_transfer_accounts().update(req).await?;
```

**CLI**

```bash
sylphx money bank-transfer-accounts update orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account --account-holder … --bank-name … --bank-code … --account-number … --currency-code … --region-code …
```

**MCP**

```json
{ "method_id": "money.bank_transfer_accounts.update", "args": {"bank_transfer_account":{"account_holder":"…","account_number":"…","bank_code":"…","bank_name":"…","currency_code":"…","name":"orgs/acme/projects/shop/envs/production/bank_transfer_accounts/bank-transfer-account","region_code":"…"}} }
```
