...
The accounts resource is used by an AISP to retrieve full list of accounts and account information that the user/customer has authorised to access.
...
An AISP will be given the full list of accounts (the AccountId(s)) that the user/customer has authorised the AISP to access. The AccountId(s) returned may then be used to retrieve other resources for a specific AccountId. The selection of authorised accounts happens only at the ASPSP's interface.
...
These objects must not be returned without the ReadAccountsDetail permission:
OBReadAccount/Data/Account/Account
OBReadAccount/Data/Account/Servicer
If the ReadAccountsDetail is granted by the user/customer:
OBReadAccount/Data/Account/Account must be returned (1..n)
OBReadAccount/Data/Account/Servicer may be returned if applicable to the account and ASPSP (0..1)
If the ReadPAN permission is granted by the user/customer, the ASPSP may choose to populate the OBReadAccount/Data/Account/Account/Identification with the unmasked PAN (if the PAN is being populated in the response).
...