An account for each organization’s default Investment Type is created when a customer is created.
There is a 1 to 1
mapping between investment types and accounts. Meaning, for each investment type that a customer can access,
there can only exist one account for it.
This document will guide you on how to create, update and get account details.
To create an account:
Make a POST
request to /accounts
Successfully creating an account will result in some side effects.
If you need to change an account’s details:
Make a PUT
request to /accounts
When requesting account details you can do so either by getting:
Make a GET
request to /accounts.
Make a GET
request to /accounts/{accountId}
When an account is created, the following resources are also created:
Property | Definition |
---|---|
accountId | Unique account identifier |
customerId | Unique customer identifier |
status | Current status of the account |
investmentType | Investment type associated with the account |
currency | Associated currency |
createdAt | Created at unix timestamp |
updatedAt | Updated at unix timestamp |
Name | Definition |
---|---|
ACTIVE | Account is currently active and able to trade |
SUSPENDED | Account has been temporarily suspended, and is unable to trade. |
CLOSED | Account has been permanently prevented from trading |
Subscription | Definition | Domain |
---|---|---|
ACCOUNT | Only events that deal with accounts | Accounts |
ACCOUNT.CREATED | Triggered when an account is created | Accounts |
ACCOUNT.UPDATED | Triggered when an account is updated | Accounts |
An account for each organization’s default Investment Type is created when a customer is created.
There is a 1 to 1
mapping between investment types and accounts. Meaning, for each investment type that a customer can access,
there can only exist one account for it.
This document will guide you on how to create, update and get account details.
To create an account:
Make a POST
request to /accounts
Successfully creating an account will result in some side effects.
If you need to change an account’s details:
Make a PUT
request to /accounts
When requesting account details you can do so either by getting:
Make a GET
request to /accounts.
Make a GET
request to /accounts/{accountId}
When an account is created, the following resources are also created:
Property | Definition |
---|---|
accountId | Unique account identifier |
customerId | Unique customer identifier |
status | Current status of the account |
investmentType | Investment type associated with the account |
currency | Associated currency |
createdAt | Created at unix timestamp |
updatedAt | Updated at unix timestamp |
Name | Definition |
---|---|
ACTIVE | Account is currently active and able to trade |
SUSPENDED | Account has been temporarily suspended, and is unable to trade. |
CLOSED | Account has been permanently prevented from trading |
Subscription | Definition | Domain |
---|---|---|
ACCOUNT | Only events that deal with accounts | Accounts |
ACCOUNT.CREATED | Triggered when an account is created | Accounts |
ACCOUNT.UPDATED | Triggered when an account is updated | Accounts |