Skip to main content
PATCH
/
v0
/
wallets
/
{wallet_id}
Update Wallet
curl --request PATCH \
  --url https://api.example.com/v0/wallets/{wallet_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_primary": true,
  "nickname": "Main Wallet"
}
'
{
  "_links": {
    "assets": {
      "href": "/v0/wallets/123/assets"
    },
    "self": {
      "href": "/v0/wallets/123"
    },
    "transactions": {
      "href": "/v0/transactions?wallet_id=123"
    },
    "user": {
      "href": "/v0/user/me"
    }
  },
  "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD78",
  "chain_id": 8453,
  "created_at": 1704067200000,
  "id": 123,
  "is_eoa": true,
  "is_primary": true,
  "nickname": "Main Wallet",
  "user_id": 456
}

Headers

x-sumvin-token
string | null
x-juno-jwt
string | null

Path Parameters

wallet_id
integer
required

Body

application/json

Request payload for updating wallet properties.

is_primary
boolean | null

Set to true to make this wallet the primary EOA. Only EOA wallets can be primary. May trigger async Safe creation (202 response).

nickname
string | null

Update the wallet's friendly name.

Maximum string length: 100
Example:

"Main Wallet"

Response

Wallet updated successfully (sync)

Response for single wallet operations.

HAL-style hypermedia links for navigation.

id
integer
required

Internal wallet ID.

user_id
integer
required

ID of the owning user.

address
string
required

Wallet address (EOA or Safe).

chain_id
integer
required

Blockchain chain ID where this wallet exists.

is_primary
boolean
required

True if this is the user's primary wallet for this type.

is_eoa
boolean
required

True for EOA (Externally Owned Account), false for Safe smart wallet.

created_at
integer
required

Wallet creation timestamp (epoch milliseconds).

nickname
string | null

User-defined friendly name for the wallet.

logo_uri
string | null

URI to the blockchain's logo image.

deleted_at
integer | null

Soft deletion timestamp (epoch milliseconds).

safe_creation_event_id
string | null

Event ID for tracking Safe creation. Only present in 202 Accepted responses when Safe creation is triggered.

cards
CardData · object[] | null

Linked payment cards. Only included when expand=cards is specified.