22:20:20
« Wallet
»
edit
wallet/edit
- Edits an existing wallet.
Method parameters:
id
- The ID of the wallet to edit.
name
- The new name of the wallet.
Returns a JSON document of the following format:
<boolean> - Always
true
.
Expected errors:
WALLET_NOT_FOUND
- A wallet with the ID doesn't exist.
ENTER_NAME
- The new name is empty.