Skip to main content
PATCH
Update Wallet
Endpoint: PATCH https://api.rebelfi.io/v1/wallets/:walletId
Update a wallet’s metadata fields. Only provided fields are updated.

Path Parameters

ParameterTypeRequiredDescription
walletIdnumberYesWallet ID

Request Body

FieldTypeRequiredDescription
userIdstringNoExternal user ID
orgMetadataobjectNoOrganization-specific metadata

Example Request

Example Response

orgMetadata Behavior

The 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.

Errors

CodeDescription
WALLET_NOT_FOUNDWallet with given ID doesn’t exist