<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/FinanceStore/accounts(query:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit0A5StoreC8accounts5querySayAA7AccountOGAA0F5QueryV_tYaKF"
  },
  "title" : "accounts(query:)"
}
-->

# accounts(query:)

Returns a list of accounts a person added to their Wallet that meet the criteria in the provided account query.

```
func accounts(query: AccountQuery) async throws -> [Account]
```

## Parameters

`query`

An [`AccountQuery`](/documentation/FinanceKit/AccountQuery) that describes the kinds of accounts to look for.

## Return Value

An array of [`Account`](/documentation/FinanceKit/Account) structures.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)