V2
Retrieve a sub-account
If the AppAccountId was provided at the creation of the sub-account, the AppAccountId alone can be used to refer to a particular sub-account.
Otherwise, the ID can be used as well. To do it, please have a look at the example in the right margin of this page.