<!--
{
  "availability" : [
    "iOS: 3.0.0 - 18.0.0",
    "iPadOS: 3.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.7.0 - 15.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKPaymentTransaction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKPaymentTransaction"
  },
  "title" : "SKPaymentTransaction"
}
-->

# SKPaymentTransaction

An object in the payment queue.

```
class SKPaymentTransaction
```

## Overview

A payment transaction is created whenever a payment is added to the payment queue. The system delivers transactions to your app when the App Store finishes processing the payment. Completed transactions provide a receipt and transaction identifier that your app can use to save a permanent record of the processed payment.

## Topics

### Getting Transaction Information

[`payment`](/documentation/StoreKit/SKPaymentTransaction/payment)

The payment for the transaction.

[`transactionIdentifier`](/documentation/StoreKit/SKPaymentTransaction/transactionIdentifier)

A string that uniquely identifies a successful payment transaction.

[`transactionDate`](/documentation/StoreKit/SKPaymentTransaction/transactionDate)

The date the transaction was added to the App Store’s payment queue.

[`original`](/documentation/StoreKit/SKPaymentTransaction/original)

The transaction that was restored by the App Store.

[`error`](/documentation/StoreKit/SKPaymentTransaction/error)

An object describing the error that occurred while processing the transaction.

[`transactionReceipt`](/documentation/StoreKit/SKPaymentTransaction/transactionReceipt)

A signed receipt that records all information about a successful payment transaction.

### Getting Downloads

[`downloads`](/documentation/StoreKit/SKPaymentTransaction/downloads)

An array of download objects representing the downloadable content associated with the transaction.

### Getting Transaction State

[`transactionState`](/documentation/StoreKit/SKPaymentTransaction/transactionState)

The current state of the transaction.

[`SKPaymentTransactionState`](/documentation/StoreKit/SKPaymentTransactionState)

Values representing the state of a transaction.



---

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)