<!--
{
  "availability" : [
    "iOS: 6.0.0 - 16.0.0",
    "iPadOS: 6.0.0 - 16.0.0",
    "macCatalyst: 13.1.0 - 16.0.0",
    "macOS: 10.11.0 - 13.0.0",
    "tvOS: 9.0.0 - 16.0.0",
    "watchOS: 6.2.0 - 9.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKDownload/transaction",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKDownload(py)transaction"
  },
  "title" : "transaction"
}
-->

# transaction

The transaction associated with the downloadable file.

```
var transaction: SKPaymentTransaction { get }
```

## Discussion

A download object is always associated with a payment transaction. The download object may only be queued after payment is processed and before the transaction is finished.

---

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)