curl -X GET 'https://crypto-api.yativo.com/api/accounts/get-accounts' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"message": "Accounts retrieved successfully",
"data": [
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E5",
"account_name": "Main Treasury",
"account_type": "business",
"created_at": "2026-03-26T12:00:00Z"
},
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E6",
"account_name": "Customer Pool",
"account_type": "customer",
"created_at": "2026-03-26T13:00:00Z"
}
]
}
Retrieve all accounts associated with the authenticated user
curl -X GET 'https://crypto-api.yativo.com/api/accounts/get-accounts' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"message": "Accounts retrieved successfully",
"data": [
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E5",
"account_name": "Main Treasury",
"account_type": "business",
"created_at": "2026-03-26T12:00:00Z"
},
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E6",
"account_name": "Customer Pool",
"account_type": "customer",
"created_at": "2026-03-26T13:00:00Z"
}
]
}
Bearer YOUR_ACCESS_TOKENcurl -X GET 'https://crypto-api.yativo.com/api/accounts/get-accounts' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
{
"status": "success",
"message": "Accounts retrieved successfully",
"data": [
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E5",
"account_name": "Main Treasury",
"account_type": "business",
"created_at": "2026-03-26T12:00:00Z"
},
{
"account_id": "acc_01HX9KZMB3F7VNQP8R2WDGT4E6",
"account_name": "Customer Pool",
"account_type": "customer",
"created_at": "2026-03-26T13:00:00Z"
}
]
}