Skip to content

An account with its portfolios and balances

GET
/v1/accounts/{id}/detail
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/detail" \
-H "Authorization: Bearer $IDEALX_API_KEY"
id
required
string
as

Console’s See as client: the actions are the client’s, not yours (a team member only; logged each time)

string
Allowed values: client

Console’s See as client: the actions are the client’s, not yours (a team member only; logged each time)

OK

Media typeapplication/json
object
id
required
string
name
required
string
nickname
required
string | null
accountTypeId
required
string
accountTypeLabel
required
string
jurisdiction
required
string
currency
required

The account’s main currency, from its country

string
status
required
string
Allowed values: open frozen closed
myRoles
required
Array<object>
object
role
required
string
label
required
string
portfolios
required
Array<object>
object
id
required
string
name
required
string
isPrimary
required
boolean
status
required
string
Allowed values: open closed
balances
required
Array<object>
object
instrumentId
required
string
amount
required
string
currency
required
string
value
required
object
amount
required
string
currency
required
string
approximate
required
boolean
complete
required
boolean
breakdown
required

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.

Array<object>
object
bucket
required
string
Allowed values: cash yield markets digital_assets strategies
amount
required
string
count
required

Currencies (cash) or positions counted

integer
actions
required

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.

Array<string>
Allowed values: add_money trade transfer withdraw send_crypto manage_payees schedule propose decide_proposals message keep_records manage_people open_portfolio close_account documents reports
totals
required
Array<object>
object
instrumentId
required
string
amount
required
string
currency
required
string
value
required
object
amount
required
string
currency
required
string
approximate
required
boolean
complete
required
boolean
breakdown
required

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.

Array<object>
object
bucket
required
string
Allowed values: cash yield markets digital_assets strategies
amount
required
string
count
required

Currencies (cash) or positions counted

integer
actions
required

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.

Array<string>
Allowed values: add_money trade transfer withdraw send_crypto manage_payees schedule propose decide_proposals message keep_records manage_people open_portfolio close_account documents reports
openedAt
required
string

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

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}

Not found

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties

Example

{
"error": {
"code": "validation_failed"
}
}