The Allowed Accounts Object in Detail
{
"account_types": ?Array<Enum<'DEFAULT', 'SAVING', 'CREDITCARD', 'DEPOT'>>,
"account_ids": ?Array<String>,
"currencies": ?Array<String>
}
An array of account types that should stay in the filtered account list.
This array needs at least one element.
Possible values are:
DEFAULT
- A regular account.SAVING
- A savings account.CREDITCARD
- A credit card account.DEPOT
- A depot for broking or similar.
The filtering by account type will not be done if account_types
or the whole allowed_accounts
object is not provided.
Additionally to the allowed_accounts
filter the accounts are always also filtered by the capability to perform the requested flow.
An array of account ids that should stay in the filtered account list.
This array needs at least one element.
Keep in mind that account ids are only stable throughout a session and therefore filtering with account_ids
in a fresh session will result in no accounts fitting the filter.
An array of currencies, at least one of which should be supported by the accounts in the filtered list.
This array needs at least one element. The values must adhere to the ISO-4217 format.
Example
{
"account_types": ["DEFAULT", "SAVING"],
"account_ids": ["NDIwNWE3YjAtZTU4OC00Y2JhjKASFUtYWUyOTQwNmQzYTMx", "xMTYzQmNwQTOyUWYtUFSAKjhJ2Y00CO4UTZtAjY3EWNwIDN"],
"currencies": ["EUR", "USD"]
}