# Update a wallet (/docs/api-reference/wallets/update)

`PATCH /v1/wallets/{id}`

Renames a wallet or changes its low-balance threshold.

Only the members in the body change; a member left out keeps its value. Send at least one member: an
empty body returns `400` with code `10001` and `REQUIRED` at `$`. `label` cannot
be `null` or blank (`INVALID_VALUE` at `label`); `lowBalanceThreshold: null` clears
the threshold. The wallet id comes from the route only: any other member, such as `walletId`, returns
`400` with code `10001` at its path. A label already used by another of the partner's wallets,
ignoring case, returns `400` with code `17001` (`WALLET_LABEL_ALREADY_EXISTS`); an unknown
wallet returns `404` with code `10004`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `id` | path | yes | `string` | Wallet id. |

## Request body

- `application/json`: `WalletUpdateRequest`
- `text/json`: `WalletUpdateRequest`
- `application/*+json`: `WalletUpdateRequest`

## Responses

### 204

No Content

### 400

Invalid partner request or model validation failure.

- `application/json`: `ErrorResponse`

### 403

Forbidden

- `text/plain`: `ErrorResponse`
- `application/json`: `ErrorResponse`
- `text/json`: `ErrorResponse`

### 429

Too many requests from this IP address. Wait for Retry-After seconds, then send the same request again; an order keeps its Idempotency-Key and body.

- `application/json`: `ErrorResponse`

The full schemas are in the OpenAPI specification at /openapi.json.