An account with its portfolios and balances
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/detail" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/detail", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/detail", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Console’s See as client: the actions are the client’s, not yours (a team member only; logged each time)
Console’s See as client: the actions are the client’s, not yours (a team member only; logged each time)
Responses
Section titled “Responses”OK
object
The account’s main currency, from its country
object
object
object
object
The value in disjoint parts, in the main currency; they add up to value exactly (D138). Cash is uninvested cash in every currency; strategies holds the positions of portfolios that follow a strategy and is listed only when one does.
object
Currencies (cash) or positions counted
What you may do here, from your account role or your firm’s role, kind and mandate. add_money, trade, transfer, withdraw, send_crypto, manage_payees, schedule, propose and decide_proposals move money or ask a client to; an approval policy may still apply when they run.
object
object
The value in disjoint parts, in the main currency; they add up to value exactly (D138). Cash is uninvested cash in every currency; strategies holds the positions of portfolios that follow a strategy and is listed only when one does.
object
Currencies (cash) or positions counted
What you may do here, from your account role or your firm’s role, kind and mandate. add_money, trade, transfer, withdraw, send_crypto, manage_payees, schedule, propose and decide_proposals move money or ask a client to; an approval policy may still apply when they run.
Example
{ "currency": "AUD", "status": "open", "portfolios": [ { "status": "open", "breakdown": [ { "bucket": "cash" } ], "actions": [ "add_money" ] } ], "breakdown": [ { "bucket": "cash" } ], "actions": [ "add_money" ]}See as client is for a firm’s team
object
object
object
Example
{ "error": { "code": "validation_failed" }}Not found
object
object
object
Example
{ "error": { "code": "validation_failed" }}