---
title: finish()
framework: storekit
role: symbol
role_heading: Instance Method
path: storekit/transaction/finish()
---

# finish()

Indicates to the App Store that the app delivered the purchased content or enabled the service to finish the transaction.

## Declaration

```swift
func finish() async
```

## Mentioned in

Supporting offer codes in your app Supporting subscription offer codes in your app Supporting win-back offers in your app Supporting promoted In-App Purchases in your app Testing at all stages of development with Xcode and the sandbox

## Discussion

Discussion Call finish() to complete a transaction after you deliver the purchased content or enable the purchased service. For on-demand resources, don’t finish the transaction until the app completes downloading the resource or you’ve otherwise delivered the resource.

## See Also

### Finishing the transaction

- [unfinished](storekit/transaction/unfinished.md)
