---
title: SKPayment
framework: storekit
role: symbol
role_heading: Class
path: storekit/skpayment
---

# SKPayment

A request to the App Store to process payment for additional functionality that your app offers.

## Declaration

```swift
class SKPayment
```

## Mentioned in

Promoting In-App Purchases Testing a payment request

## Overview

Overview A payment object identifies a product and the quantity of those items the user would like to purchase.

## Topics

### Creating Payments

- [init(product:)](storekit/skpayment/init(product:).md)

### Getting Payment Details

- [productIdentifier](storekit/skpayment/productidentifier.md)
- [quantity](storekit/skpayment/quantity.md)
- [requestData](storekit/skpayment/requestdata.md)
- [applicationUsername](storekit/skpayment/applicationusername.md)

### Simulating Purchases for Testing

- [simulatesAskToBuyInSandbox](storekit/skpayment/simulatesasktobuyinsandbox.md)

### Getting Discount Details

- [paymentDiscount](storekit/skpayment/paymentdiscount.md)
- [SKPaymentDiscount](storekit/skpaymentdiscount.md)

## Relationships

### Inherits From

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

### Inherited By

- [SKMutablePayment](storekit/skmutablepayment.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.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)
- [SKMutablePayment](storekit/skmutablepayment.md)
- [SKPaymentTransaction](storekit/skpaymenttransaction.md)
