ProfileWallet
AccountProfileWallet contains the wallet settings per profile that exist in the system. All such settings are defined in AccountProfileWalletSetting. AccountProfileWallet has the following attributes and can be accessed via pending config or real-time config:
| attributes | required | default settings | attribute type | description |
|---|---|---|---|---|
| id | Y | – | INT | The ID of the profile; generated. |
| name | Y | – | STRING | The name of the profile. |
| description | N | n/a | STRING | Free text. |
AccountProfileWalletSetting
AccountProfileWalletSetting defines reusable wallet names and automatic settlement destinations. Accounts using the same profile keep independent balances. A named wallet can hold separate balances in multiple currencies, such as Cash/USD and Cash/EUR; each booking or settlement selects its currency. Assigning the profile makes these wallet names available, while balances and ledger records are created when used or restored.
AccountProfileWalletSetting has the below attributes:
| attributes | required | default settings | description |
|---|---|---|---|
| profile | Y | – | The name of the profile |
| id | Y | – | The ID of the wallet setting; generated. |
| name | Y | – | The wallet name. It identifies the wallet in bookings and ledger records. |
| description | N | n/a | Free text |
| swap | N | – | Selects this wallet as the destination for automatic swap settlements. |
| pl | N | – | Selects this wallet as the destination for automatic P&L settlements. |
| dividend | N | – | Selects this wallet as the destination for automatic dividend settlements. |
| dividend tax | N | – | Selects this wallet as the destination for automatic dividend-tax settlements. |
Each automatic role can have at most one destination within a profile and becomes required when its corresponding feature is configured. Several roles may share one wallet. A defined wallet without an automatic role can still receive explicit bookings.