PATCH /v1/wallets/:walletId — Update wallet metadata
PATCH https://api.rebelfi.io/v1/wallets/:walletId| Parameter | Type | Required | Description |
|---|---|---|---|
walletId | number | Yes | Wallet ID |
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | No | External user ID |
orgMetadata | object | No | Organization-specific metadata |
orgMetadata 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.
| Code | Description |
|---|---|
WALLET_NOT_FOUND | Wallet with given ID doesn’t exist |