<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/AppStore/deviceVerificationID",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit03AppA0O20deviceVerificationID10Foundation4UUIDVSgvpZ"
  },
  "title" : "deviceVerificationID"
}
-->

# deviceVerificationID

The device verification identifier to use to verify whether signed information is valid for the current device.

```
static var deviceVerificationID: UUID? { get }
```

## Discussion

Use this property to verify whether an App Store-signed JSON Web Signature (JWS) is valid for the current device. The JWS may be one of the following:

- A [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-21vgo) representing a signed transaction
- A [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-178oj) representing a signed subscription renewal information
- A [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-6ma59) representing a signed app transaction.

To verify that the JWS is valid for the current device, follow these steps:

1. Append the lowercased UUID string representation of this property, [`deviceVerificationID`](/documentation/StoreKit/AppStore/deviceVerificationID), after the lowercased UUID string representation of the device verification nonce. For a transaction, the nonce is [`deviceVerificationNonce`](/documentation/StoreKit/Transaction/deviceVerificationNonce). For subscription renewal information, the nonce is [`deviceVerificationNonce`](/documentation/StoreKit/Product/SubscriptionInfo/RenewalInfo/deviceVerificationNonce). For an app transaction, the nonce is [`deviceVerificationNonce`](/documentation/StoreKit/AppTransaction/deviceVerificationNonce).
2. Compute the SHA-384 hash of the appended UUID strings.
3. Verify that the SHA-384 digest is equal to the device verification property. For a transaction, the device verification property is [`deviceVerification`](/documentation/StoreKit/Transaction/deviceVerification). For subscription renewal information, the device verification property is [`deviceVerification`](/documentation/StoreKit/Product/SubscriptionInfo/RenewalInfo/deviceVerification). For an app transaction, the device verifcation property is [`deviceVerification`](/documentation/StoreKit/AppTransaction/deviceVerification).

---

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)