curl --request GET \
--url https://api.tradearies.dev/v1/users/me/accounts \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'{
"accounts": [
{
"id": 123,
"fdid": "<string>",
"apex_id": "<string>",
"apex_account_id": "<string>",
"sterling_account_id": "<string>",
"status": "<string>",
"apex_status": "<string>",
"is_sim": true,
"primary_user_id": 123,
"account_number": "<string>",
"type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Retrieve all trading accounts for the currently authenticated user
curl --request GET \
--url https://api.tradearies.dev/v1/users/me/accounts \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'{
"accounts": [
{
"id": 123,
"fdid": "<string>",
"apex_id": "<string>",
"apex_account_id": "<string>",
"sterling_account_id": "<string>",
"status": "<string>",
"apex_status": "<string>",
"is_sim": true,
"primary_user_id": 123,
"account_number": "<string>",
"type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Show child attributes
Was this page helpful?