Update wallet
import requests
url = "https://api.example.com/api/v1/wallets/{wallet_uuid}"
payload = {
"name": "<string>",
"metadata": {}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)curl --request PATCH \
--url https://api.example.com/api/v1/wallets/{wallet_uuid} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"metadata": {}
}
'{
"result": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_type": "Custodial",
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cobo_wallet_id": "<string>",
"status": "preparing",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"main_node_id": "<string>"
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Wallets
Update wallet
This operation updates the name or metadata of a specific wallet. The wallet ID can be retrieved by calling the List all wallets operation. All fields are optional; only provided fields are updated.
Archived wallets cannot be updated.
PATCH
/
api
/
v1
/
wallets
/
{wallet_uuid}
Update wallet
import requests
url = "https://api.example.com/api/v1/wallets/{wallet_uuid}"
payload = {
"name": "<string>",
"metadata": {}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)curl --request PATCH \
--url https://api.example.com/api/v1/wallets/{wallet_uuid} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"metadata": {}
}
'{
"result": {
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_type": "Custodial",
"name": "<string>",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cobo_wallet_id": "<string>",
"status": "preparing",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"main_node_id": "<string>"
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Headers
Path Parameters
Body
application/json
Response
Successful Response
Wallet response payload.
Show child attributes
Show child attributes
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
Show child attributes