Accounts and portfolios
Accounts
Section titled “Accounts”An account is what a customer opens on IDEALX. It is owned by one holder (a person, or an organisation such
as a company, trust or fund), it is the tax unit, and it belongs to one country (jurisdiction, ISO 3166-1
alpha-2) with a main currency.
| Field | Meaning |
|---|---|
id |
acc_…, opaque |
name, nickname |
The holder’s name; an optional name the people on the account gave it |
accountTypeId, accountTypeLabel |
The generic type (individual, joint, company, trust, self_managed_retirement_fund, partnership, investment_fund, not_for_profit) and its label in the account’s country |
jurisdiction, currency |
Country and main currency, for example AU and AUD |
status |
open, frozen or closed |
myRoles |
Your roles on it (owner, controller, authorised_person, viewer…) with the country’s label |
portfolios |
Its portfolios |
People reach an account through an account role. A personal key sees the accounts you have a role on. A firm key sees the accounts its clients engaged the firm on, within each portfolio’s mandate (see Mandates and engagements).
Some accounts need more than one person to approve an action (an approval policy, for example two of three
controllers). Orders and transfers on such accounts wait in pending_approval and carry approvalsRequired,
approvals and approvedByMe.
Portfolios
Section titled “Portfolios”A portfolio is a container inside an account: the unit of management, mandate and performance. Every account has
exactly one Primary portfolio (isPrimary: true), which can never be closed and is the only one connected to the
outside world: bank deposits and withdrawals and digital assets in and out go through it. Extra portfolios are for
organising money (a Long term portfolio, one per strategy, one per adviser).
Money and investments move between portfolios of the same account with an internal transfer; never between accounts. See Money movements.
Endpoints
Section titled “Endpoints”- GET
/v1/accountsAccounts you have a role on - GET
/v1/accounts/{id}One account - GET
/v1/accounts/{id}/detailAn account with its portfolios and balances - GET
/v1/accounts/{id}/profileThe account's holder, the details given when it opened, and its tax details - POST
/v1/accounts/{id}/portfoliosOpen another portfolio - PATCH
/v1/accounts/{id}/portfolios/{portfolioId}Rename a portfolio - POST
/v1/accounts/{id}/portfolios/{portfolioId}/closeClose an empty extra portfolio (never the Primary)
A firm key does not list accounts with GET /v1/accounts (that lists a person’s own accounts). Firms start from
their clients: GET /v1/firms/{firmId}/clients/{clientId} returns each client’s engagements with the account ids.