Skip to main content

Update User Wallet

Updates wallet information for a specific user by their ID.

Request

PUT /v2/users/users/{user_id}/wallet

Parameters

NameTypeInDescription
user_idstringpathRequired. The ID of the user whose wallet to update

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication
Content-TypeRequired. Must be application/json
User-AgentOptional. Client application identifier

Request Body

FieldTypeDescription
wallet_addressstringRequired. The new wallet address
signaturestringRequired. Digital signature for verification

Example

curl --request PUT \
--url '\{\{baseUrl\}\}/v2/users/users/680c02896d91ca0145cfeb81/wallet' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJRCI6IjMxYzU4ZGI4LTQ4MmMtNDhiNS04Yzg0LTg4MDBjNzIwMDFhZCIsImV4cGlyYXRpb24iOjE3NTcwNzc0OTksInN1cGVydmlzb3JFbWFpbCI6InViZXJAYXBleC5jb20iLCJzdXBlcnZpc29ySUQiOiI2NjViMzcyZjNhNzJkN2QwNzkxNTk2YmEiLCJzdXBlcnZpc29yTm9kZUlEIjoiNjY1YWU1MzZhNjM5MmI3NWNmZDQwMzUyIiwic3VwZXJ2aXNvck5vZGVJbnRJRCI6MSwic3VwZXJ2aXNvck5vZGVQYXRoIjoiMSIsInN1cGVydmlzb3JSb2xlSUQiOiI2NjVhZTc5NjEwY2UyMTZkYmMzNWM5M2IiLCJzdXBlcnZpc29yUm9sZVByaW9yaXR5IjoxMDB9.BiBDnRfdsP-3MSMYR81sPeFXu7oqG-PtbPcEGGIB8Fo' \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/11.5.0' \
--data '{
"wallet_address": "0x111111111111111",
"signature": "123jfghea"
}'

Response

A successful response returns no content:

Status Code: 200 OK

Response Body: No content

Status Codes

Status CodeDescription
200Success - User wallet information updated successfully
400Bad Request - Invalid request parameters or body
401Unauthorized - Invalid or missing authentication token
404Not Found - User ID does not exist
500Internal Server Error