<!--
{
  "availability" : [
    "iOS: 12.2.0 - 18.0.0",
    "iPadOS: 12.2.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.14.4 - 15.0.0",
    "tvOS: 12.2.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKPaymentDiscount/init(identifier:keyIdentifier:nonce:signature:timestamp:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKPaymentDiscount(im)initWithIdentifier:keyIdentifier:nonce:signature:timestamp:"
  },
  "title" : "init(identifier:keyIdentifier:nonce:signature:timestamp:)"
}
-->

# init(identifier:keyIdentifier:nonce:signature:timestamp:)

Initializes the payment discount with a signature and the parameters used by the signature.

```
init(identifier: String, keyIdentifier: String, nonce: UUID, signature: String, timestamp: NSNumber)
```

---

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)