PATCH
/
wallets
/
{wallet_id}
curl --request PATCH \
  --url https://api.live.paisr.tech/{version}/wallets/{wallet_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Acme Cash",
  "icon": "vault",
  "email": "notifications@acme.com"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

wallet_id
string
required

The Wallet ID.

Body

application/json
The details required to update a wallet.
title
string

Short title or name for the wallet.

Example:

"Acme Cash"

icon
enum<string>

Custom icon slug.

Available options:
bitcoin,
blend,
dollar-sign,
flame,
gem,
headset,
heart,
infinity,
landmark,
leaf,
piggy-bank,
pyramid,
snowflake,
sparkles,
tree-palm,
trophy,
vault,
wallet,
zap
Example:

"vault"

email
string

Email address for email notifications. (Only available on business wallets)

Example:

"notifications@acme.com"

Response

200
application/json
Successfully updated wallet.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.