<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FinanceKit",
  "identifier" : "/documentation/FinanceKit/FinanceStore",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "FinanceKit"
    ],
    "preciseIdentifier" : "s:10FinanceKit0A5StoreC"
  },
  "title" : "FinanceStore"
}
-->

# FinanceStore

Secure storage for Apple Wallet orders.

```
class FinanceStore
```

## Topics

### Retrieving the shared instance

[`static let shared: FinanceStore`](/documentation/FinanceKit/FinanceStore/shared)

The shared instance of the store that you make calls through.

### Determining data availability

[`static func isDataAvailable(FinanceStore.DataType) -> Bool`](/documentation/FinanceKit/FinanceStore/isDataAvailable(_:))

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

### Checking authorization status and requesting authorization

[`func authorizationStatus() async throws -> AuthorizationStatus`](/documentation/FinanceKit/FinanceStore/authorizationStatus())

Checks the authorization status for the calling application.

[`func requestAuthorization() async throws -> AuthorizationStatus`](/documentation/FinanceKit/FinanceStore/requestAuthorization())

Prompts a person to give FinanceKit authorization to access financial data.

### Finding accounts

[`func accountHistory(since: FinanceStore.HistoryToken?, isMonitoring: Bool) -> FinanceStore.History<Account>`](/documentation/FinanceKit/FinanceStore/accountHistory(since:isMonitoring:))

Returns a list of accounts a person added since a time specified by the provided financial history token.

[`func accounts(query: AccountQuery) async throws -> [Account]`](/documentation/FinanceKit/FinanceStore/accounts(query:))

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

### Getting account balances

[`func accountBalances(query: AccountBalanceQuery) async throws -> [AccountBalance]`](/documentation/FinanceKit/FinanceStore/accountBalances(query:))

Returns a list of balances that meet the criteria in the provided account query.

[`func accountBalanceHistory(forAccountID: UUID, since: FinanceStore.HistoryToken?, isMonitoring: Bool) -> FinanceStore.History<AccountBalance>`](/documentation/FinanceKit/FinanceStore/accountBalanceHistory(forAccountID:since:isMonitoring:))

Returns the account balance history since a time specified by the provided financial history token.

### Searching for a specific order

[`func containsOrder(matching: FullyQualifiedOrderIdentifier, updatedDate: Date?) async throws -> FinanceStore.ContainsOrderResult`](/documentation/FinanceKit/FinanceStore/containsOrder(matching:updatedDate:))

Checks whether the finance store contains an order.

### Saving or updating orders

[`func saveOrder(signedArchive: Data) async throws -> FinanceStore.SaveOrderResult`](/documentation/FinanceKit/FinanceStore/saveOrder(signedArchive:))

Adds an order to the store or updates an existing order.

### Monitoring transactions

[`func transactionHistory(forAccountID: UUID, since: FinanceStore.HistoryToken?, isMonitoring: Bool) -> FinanceStore.History<Transaction>`](/documentation/FinanceKit/FinanceStore/transactionHistory(forAccountID:since:isMonitoring:))

Returns the transactions for the specified account ID, optional starting time, and monitoring indicator for long running transaction queries.

[`func transactions(query: TransactionQuery) async throws -> [Transaction]`](/documentation/FinanceKit/FinanceStore/transactions(query:))

Returns transactions that match the provided transaction query.

### Enumerations

[`enum ContainsOrderResult`](/documentation/FinanceKit/FinanceStore/ContainsOrderResult)

Result type for queries against the finance store’s orders.

[`enum DataType`](/documentation/FinanceKit/FinanceStore/DataType)

Values that describe the kinds of data in the finance store.

[`enum SaveOrderResult`](/documentation/FinanceKit/FinanceStore/SaveOrderResult)

Result type for the finance store’s save order method.

[`enum BackgroundDataType`](/documentation/FinanceKit/FinanceStore/BackgroundDataType)

Types of data in the finance store supported by background delivery.

[`enum UpdateFrequency`](/documentation/FinanceKit/FinanceStore/UpdateFrequency)

Frequencies of background delivery updates.

### Structures

[`struct Changes`](/documentation/FinanceKit/FinanceStore/Changes)

A structure that records changes to the finance store.

[`struct History`](/documentation/FinanceKit/FinanceStore/History)

A structure the framework uses to collect and iterate over finance store model objects.

[`struct HistoryToken`](/documentation/FinanceKit/FinanceStore/HistoryToken)

A structure that describes the starting point to use for financial data queries.

### Instance Methods

[`func disableAllBackgroundDelivery()`](/documentation/FinanceKit/FinanceStore/disableAllBackgroundDelivery())

Disables background delivery for all data types.

[`func disableBackgroundDelivery(for: [FinanceStore.BackgroundDataType])`](/documentation/FinanceKit/FinanceStore/disableBackgroundDelivery(for:))

Disables background delivery for the specified types.

[`func enableBackgroundDelivery(for: [FinanceStore.BackgroundDataType], frequency: FinanceStore.UpdateFrequency)`](/documentation/FinanceKit/FinanceStore/enableBackgroundDelivery(for:frequency:))

Enables background delivery for the specified types and frequency.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)