One Logo Pool Ball
FinanceKit · IOS API REFERENCE

FinanceStore

class · iOS 17.0+ · SDK 27.1

class FinanceStore

Secure storage for Apple Wallet orders and financial data.

Members (15)

method · iOS 17.4+

transactions

TypeScript
transactions(query: TransactionQuery): Promise<Array<Transaction>>
Swift declaration
func transactions(query: TransactionQuery) async throws -> [Transaction]

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`.

method · iOS 17.0+

containsOrder

TypeScript
containsOrder(fqoid: FullyQualifiedOrderIdentifier, updatedDate?: (globalThis.Date) | null): Promise<FinanceStore_ContainsOrderResult>
Swift declaration
func containsOrder(matching fqoid: FullyQualifiedOrderIdentifier, updatedDate: Date? = nil) async throws -> FinanceStore.ContainsOrderResult

Checks whether the finance store contains an order. This returns `.notFound` for any orders that the process isn't entitled to access.

method · iOS 17.4+

accountHistory

TypeScript
accountHistory(token?: (FinanceStore_HistoryToken) | null, isMonitoring?: boolean): FinanceStore_History<Account>
Swift declaration
func accountHistory(since token: FinanceStore.HistoryToken? = nil, isMonitoring: Bool = true) -> FinanceStore.History<Account>

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.

method · iOS 17.4+

accountBalances

TypeScript
accountBalances(query: AccountBalanceQuery): Promise<Array<AccountBalance>>
Swift declaration
func accountBalances(query: AccountBalanceQuery) async throws -> [AccountBalance]

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.

static · iOS 17.0+

isDataAvailable

TypeScript
static isDataAvailable(type: FinanceStore_DataType): boolean
Swift declaration
static func isDataAvailable(_ type: FinanceStore.DataType) -> Bool

Returns a Boolean value that indicates if data that represents the provided type is available in the finance store.

method · iOS 17.4+

transactionHistory

TypeScript
transactionHistory(accountID: string, token?: (FinanceStore_HistoryToken) | null, isMonitoring?: boolean): FinanceStore_History<Transaction>
Swift declaration
func transactionHistory(forAccountID accountID: UUID, since token: FinanceStore.HistoryToken? = nil, isMonitoring: Bool = true) -> FinanceStore.History<Transaction>

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`.

method · iOS 17.4+

authorizationStatus

TypeScript
authorizationStatus(): Promise<AuthorizationStatus>
Swift declaration
func authorizationStatus() async throws -> AuthorizationStatus

Checks the authorization status for the calling application. - Returns: An ``AuthorizationStatus`` value that indicates the current state of authorization.

method · iOS 17.4+

requestAuthorization

TypeScript
requestAuthorization(): Promise<AuthorizationStatus>
Swift declaration
func requestAuthorization() async throws -> AuthorizationStatus

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.

method · iOS 17.4+

accountBalanceHistory

TypeScript
accountBalanceHistory(accountID: string, token?: (FinanceStore_HistoryToken) | null, isMonitoring?: boolean): FinanceStore_History<AccountBalance>
Swift declaration
func accountBalanceHistory(forAccountID accountID: UUID, since token: FinanceStore.HistoryToken? = nil, isMonitoring: Bool = true) -> FinanceStore.History<AccountBalance>

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.

method · iOS 26.0+

enableBackgroundDelivery

TypeScript
enableBackgroundDelivery(types: Array<FinanceStore_BackgroundDataType>, frequency: FinanceStore_UpdateFrequency): void
Swift declaration
func enableBackgroundDelivery(for types: [FinanceStore.BackgroundDataType], frequency: FinanceStore.UpdateFrequency)

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.

method · iOS 26.0+

disableBackgroundDelivery

TypeScript
disableBackgroundDelivery(types: Array<FinanceStore_BackgroundDataType>): void
Swift declaration
func disableBackgroundDelivery(for types: [FinanceStore.BackgroundDataType])

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.

method · iOS 17.4+

accounts

TypeScript
accounts(query: AccountQuery): Promise<Array<Account>>
Swift declaration
func accounts(query: AccountQuery) async throws -> [Account]

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.

method · iOS 17.0+

saveOrder

TypeScript
saveOrder(signedArchive: ArrayBuffer): Promise<FinanceStore_SaveOrderResult>
Swift declaration
func saveOrder(signedArchive: Data) async throws -> FinanceStore.SaveOrderResult

Adds an order to the store or updates an existing order. `Data` must be the archive data of a valid, signed order.

Skipped declarations

No declarations were skipped in this snapshot.

All FinanceKit types →