If your bank account or credit card has multiple card holders, each with their own card, Plaid will not return sub-accounts separately via the /accounts/get
endpoint, as these accounts are considered to be part of the primary account.
However, you can use the account_owner
field from the /transactions/get
endpoint to filter for transactions posted to individual sub-accounts. Some more context on this field:
-
account_owner
is not typically populated, and only relevant when dealing with sub-accounts. - There isn't a uniform standard for how the
account_owner
information is formatted. It might be just the last 4 digits, last name and mask, full name, etc. It shows in the format that is sent to us by the bank (i.e. "O. Winfrey - 0000", "Winfrey - 0000", "0000", "Oprah Winfrey", or some other format.). - Generally, primary account transactions will have a null
account_owner
value.
Our docs provide more info on the account owner field.