Update Wallet
Wallets
Update Wallet
PATCH /v1/wallets/:walletId — Update wallet metadata
PATCH
Update Wallet
Documentation Index
Fetch the complete documentation index at: https://docs.rebelfi.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint:
PATCH https://api.rebelfi.io/v1/wallets/:walletIdPath Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
walletId | number | Yes | Wallet ID |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | No | External user ID |
orgMetadata | object | No | Organization-specific metadata |
Example Request
Example Response
orgMetadata Behavior
TheorgMetadata field performs a full replace of existing metadata. To preserve existing keys, include all desired keys in the request. Setting orgMetadata to {} clears all metadata.
Errors
| Code | Description |
|---|---|
WALLET_NOT_FOUND | Wallet with given ID doesn’t exist |