Returns transactions that match the provided transaction query.
- Parameter query: A ``TransactionQuery`` that describes the kinds of transactions to look
for.
- Returns: An array of ``Transaction`` records that match the provided `query`.
Returns a list of accounts a person added since a time specified by the provided financial
history token.
Use this method to list and monitor accounts present in a person's Wallet. If provided, the
framework uses the `since` history token as a starting point to evaluate which accounts
to return.
- Parameters:
- token: An optional `HistoryToken`.
- isMonitoring:A Boolean value that indicates if the framework should return a
`History` that indicates the changes to the accounts over time.
Defaults to `true.`
- Returns: A `History` that describes the accounts.
Returns a list of balances that meet the criteria in the provided account query.
- Parameters:
- query: An ``AccountQuery`` that describes the kinds of accounts to look for.
- Returns: An array of ``AccountBalance`` structures.
Returns the transactions for the specified account ID, optional starting time, and
monitoring indicator for long running transaction queries.
Use this method to search the finance store for transactions in a specific account and
receive updates as the framework enters new transactions into the finance store. You can,
optionally, specify a starting date and time by providing a `historyToken`.
- Parameters:
- accountID: an account identifier.
- token: An optional ``HistoryToken`` that describes a start time.
- isMonitoring: A Boolean value that indicates the method should return records
asynchronously as the system updates the FinanceStore.
- Returns: A ``History`` of transactions that match the provided `accountID`.
Checks the authorization status for the calling application.
- Returns: An ``AuthorizationStatus`` value that indicates the current state of
authorization.
Prompts a person to give FinanceKit authorization to access financial data.
If there are no accounts are available to display, the framework presents a "No Accounts"
screen and returns a status of ``AuthorizationStatus/authorized`` or
``AuthorizationStatus/denied`` depending on the state of a person's consent.
It's safe to call this method multiple times; the framework prompts a person only if necessary.
- Returns: An ``AuthorizationStatus`` value that indicates the current state of authorization.
Returns the account balance history since a time specified by the provided financial history
token.
Use this method to monitor the balance of a specific account. Provide a `historyToken`
to specify a starting data and time.
- Parameters:
- accountIDs: A list with <doc://com.apple.documentation/documentation/Foundation/UUID>
that identifies specific accounts a person has added to the finance store.
- token: An optional `HistoryToken` that defines the starting date
and time to return records from.
- isMonitoring: A Boolean value that indicates whether the framework should return a
`History` sequence that indicates the changes to the accounts over time.
Defaults to `true`.
- Returns: A `History` that describes the account balances.
Enables background delivery for the specified types and frequency.
The app's background delivery extension will receive updates at the specified
frequency when data of the given types change in the finance store.
> Note: Subsequent calls with the same type will update the delivery frequency.
- Parameters:
- types: The types of data to enable updates for.
- frequency: The frequency at which updates should occur.
Disables background delivery for the specified types.
The app's background delivery extension will no longer receive updates
when data of the given types change in the finance store.
- Parameter types: The types of data to disable updates for.
method · iOS 26.0+
disableAllBackgroundDelivery
TypeScript
disableAllBackgroundDelivery(): void
Swift declaration
func disableAllBackgroundDelivery()
Disables background delivery for all data types.
The app's background delivery extension will no longer receive updates
when data changes in the finance store.
get · iOS 17.0+
shared
TypeScript
static get shared(): FinanceStore
Swift declaration
static let shared: FinanceStore
The shared instance of the store that you make calls through.
Returns a list of accounts a person added to their Wallet that meet the criteria in the
provided account query.
- Parameters:
- query: An ``AccountQuery`` that describes the kinds of accounts to look for.
- Returns: An array of ``Account`` structures.