---
title: "didReceiveData(for:)"
framework: FinanceKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: "financekit/backgrounddeliveryextensionproviding/didreceivedata(for:)"
---

# didReceiveData(for:)

Handle changes to data within the finance store.

## Declaration

```swift
func didReceiveData(for types: [FinanceStore.BackgroundDataType]) async
```

## Parameters

- `types`: An array of BackgroundDataType that indicates which types of data have changed in the Finance Store.

## Discussion

Discussion The entry point of a BackgroundDeliveryExtension, called when data changes within the finance store. From here, use the FinanceKit API to query and process those changes. Before you can receive changes, enable them for your extension using enableBackgroundDelivery(for:frequency:). note: Returning from this function closes the extension, ending any ongoing operations.

## See Also

### Instance Methods

- [willTerminate()](financekit/backgrounddeliveryextensionproviding/willterminate().md)
