Update Wallet Details
POST
/open-api/v1/wallet/updateWalletThis method allows you to update wallet attributes.
API Key permission group : Enable Wallet Management
Request
Header Params
open-apikey
string
required
OpenAPI key string
signature
string
required
Signature of the request
Body Params application/json
requestId
integer <int64>
Client provided unique Identifier
Example:
1640995200000
timestamp
integer <int64>
required
Current Timestamp in millisecond
Example:
1640995200000
walletId
string
required
Wallet id
walletName
string
Wallet name
Example:
Shared Wallet Example
Example
{
"requestId": 1640995200000,
"timestamp": 1640995200000,
"walletId": "string",
"walletName": "Shared Wallet Example"
}
Request samples
Responses
The operation succeeded(200)
Business error(200)
The client request is invalid(400)
Authentication failed (e.g., invalid token specified by the Authorization header)(401)
Authentication failed, but the operation is not allowed(403)
Requested resource does not exist(404)
Client request rate exceeded the limit(429)
System error(500)
The operation succeeded
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object | null
optional
response data, maybe null
walletId
integer
required
walletName
string
required
walletType
enum<integer>
required
Allowed values:
1011122021
code
string
required
'000000' indicates success, while any others indicate failure.
message
string
required
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
Example
{
"data": {
"walletId": 374671162262925300,
"walletName": "QW for test2",
"walletType": 20
},
"code": "000000",
"message": "Success"
}
Last modified: 9 months ago