Skip to main content
GET
/
api
/
accounts
/
get-accounts
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"
    }
  ]
}
Authorization
string
required
Bearer token: Bearer YOUR_ACCESS_TOKEN
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"
    }
  ]
}