Walletguide
DevelopersAPIReferencewallets

Update image

Sets the image the wallet is shown with in place of its icon, until you delete it again. Send a PNG of at most 1024×1024 pixels and 512 KB as base64 in…

PUT
/wallets/{walletId}/image

Authorization

bearerAuth
headerAuthorization<token>

A Walletguide API key (wg_…) or an OAuth bearer token. Paste the value only. Create a key under Wallet settings → API keys.

Path Parameters

walletId*string

The wallet row uuid

Formatuuid

Request Body

application/json
  1. body
imageBase64*string

The PNG image, standard padded base64.

Length1 <= length

Response Body

The updated wallet

application/json
  1. response
id*string
Formatuuid
name*string
baseCurrency*string
active*boolean
planSettings*|null
imagePath*|

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*|
Formatdate-time
curl -X PUT 'https://api.walletguide.com/wallets/497f6eca-6276-4993-bfeb-53cbbbba6f08/image' \  -H 'Content-Type: application/json' \  -d '{  "imageBase64": "string"}'
{  "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"}