curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/accounts \
--header 'Authorization: Bearer <token>'
{
"accounts": [
{
"id": "555a99a1-620d-4431-a0ac-b43e1aad2bdc",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My BTC account",
"asset": "BTC",
"balance": {
"total": "0.0015",
"available": "0.0015"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
},
{
"id": "38778db4-7ad5-4353-88b8-07e93eb1e02e",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My ETH account",
"asset": "ETH",
"balance": {
"total": "0.04",
"available": "0.039"
},
"createdAt": "2024-07-01T00:00:00Z",
"updatedAt": "2024-07-10T00:00:00Z"
}
],
"pagination": {
"next": "https://api.uphold.com/accounts?page=2&perPage=1"
}
}
List accounts owned by a user.
curl --request GET \
--url https://api.enterprise.sandbox.uphold.com/core/accounts \
--header 'Authorization: Bearer <token>'
{
"accounts": [
{
"id": "555a99a1-620d-4431-a0ac-b43e1aad2bdc",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My BTC account",
"asset": "BTC",
"balance": {
"total": "0.0015",
"available": "0.0015"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
},
{
"id": "38778db4-7ad5-4353-88b8-07e93eb1e02e",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My ETH account",
"asset": "ETH",
"balance": {
"total": "0.04",
"available": "0.039"
},
"createdAt": "2024-07-01T00:00:00Z",
"updatedAt": "2024-07-10T00:00:00Z"
}
],
"pagination": {
"next": "https://api.uphold.com/accounts?page=2&perPage=1"
}
}
OAuth 2.0 authentication.
The number of items per page.
1 <= x <= 100
Accounts retrieved.
The response is of type object
.