curl --request POST \
--url https://api.enterprise.sandbox.uphold.com/core/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"label": "My BTC account",
"asset": "BTC"
}'
{
"account": {
"id": "555a99a1-620d-4431-a0ac-b43e1aad2bdc",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My BTC account",
"asset": "BTC",
"balance": {
"total": "0",
"available": "0"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
}
}
Create a new account.
curl --request POST \
--url https://api.enterprise.sandbox.uphold.com/core/accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"label": "My BTC account",
"asset": "BTC"
}'
{
"account": {
"id": "555a99a1-620d-4431-a0ac-b43e1aad2bdc",
"ownerId": "1e32fca3-23f7-40ed-bc1b-de10c790182d",
"label": "My BTC account",
"asset": "BTC",
"balance": {
"total": "0",
"available": "0"
},
"createdAt": "2024-06-01T00:00:00Z",
"updatedAt": "2024-07-15T00:00:00Z"
}
}
OAuth 2.0 authentication.
Account created.
The response is of type object
.