Resources
A sub-account is an account associated to a user, it allows to isolate transactions on an account. Sub-accounts have their own balance.
Access to sub-accounts:
Access to sub-accounts of the connected user
/api/subaccounts/
or
Access to sub-account of the user belonging to the connected third-party application
/api/[domaine_partenaire]/users/appuserid/subaccounts/
Property | Type | Example | Description |
---|---|---|---|
id | Long | 225 | Account identifier |
AppAccountId | String | “123” | Account identifier of the third-party application |
DisplayName | String | “Sous compte” | Display name |
Amount | Int | 100 | Account name (in cents) |
isDefault | Bool | False | Indicate if it is the main account of the user |
CreationDate | DateTime | 2013-09-29T00:00:00 | Account creation date |