---
title: SKPaymentTransaction
framework: storekit
role: symbol
role_heading: Class
path: storekit/skpaymenttransaction
---

# SKPaymentTransaction

An object in the payment queue.

## Declaration

```swift
class SKPaymentTransaction
```

## Mentioned in

Implementing promotional offers in your app Restoring purchased products

## Overview

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](storekit/skpaymenttransaction/payment.md)
- [transactionIdentifier](storekit/skpaymenttransaction/transactionidentifier.md)
- [transactionDate](storekit/skpaymenttransaction/transactiondate.md)
- [original](storekit/skpaymenttransaction/original.md)
- [error](storekit/skpaymenttransaction/error.md)
- [transactionReceipt](storekit/skpaymenttransaction/transactionreceipt.md)

### Getting Downloads

- [downloads](storekit/skpaymenttransaction/downloads.md)

### Getting Transaction State

- [transactionState](storekit/skpaymenttransaction/transactionstate.md)
- [SKPaymentTransactionState](storekit/skpaymenttransactionstate.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Purchases

- [Requesting a payment from the App Store](storekit/requesting-a-payment-from-the-app-store.md)
- [Processing a transaction](storekit/processing-a-transaction.md)
- [SKPayment](storekit/skpayment.md)
- [SKMutablePayment](storekit/skmutablepayment.md)
