DevelopersAPIReferencewallets
Update wallet
Renaming the wallet or changing its base currency needs wallet:manage, which only the owner holds: in a signed-in session, through an API key whose…
PATCH
bearerAuthheader
Authorization<token>A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.
walletId*stringThe wallet row uuid
Format
uuidapplication/json- body
name?stringLength
1 <= lengthbaseCurrency?stringplanSettings?|nullThe updated wallet
application/json- response
id*stringFormat
uuidname*stringbaseCurrency*stringactive*booleanplanSettings*|nullimagePath*|Path of the image uploaded in the wallet settings, relative to the public assets host (https://assets.walletguide.com). Null when the wallet shows its default icon.
lastOverallUpdatedTime*|Format
date-timecurl -X PATCH 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "baseCurrency": "string", "active": true, "planSettings": { "levels": [ "string" ], "showPercentageForPastMonths": true }, "imagePath": "string", "lastOverallUpdatedTime": "2019-08-24T14:15:22Z"}