<!--
{
  "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/VerificationResult/jwsRepresentation-21vgo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit18VerificationResultOA2A11TransactionVRszlE17jwsRepresentationSSvp"
  },
  "title" : "jwsRepresentation"
}
-->

# jwsRepresentation

The transaction signed by the App Store, in JWS Compact Serialization format.

```
var jwsRepresentation: String { get }
```

## Discussion

Use this JSON Web Signature (JWS) value to perform your own JWS verification on your server or on the device.

The [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-21vgo) is the same as the <doc://com.apple.documentation/documentation/AppStoreServerAPI/JWSTransaction> that the App Store Server API returns and the <doc://com.apple.documentation/documentation/AppStoreServerNotifications/JWSTransaction> that you receive from App Store Server Notifications. The [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-21vgo)’s decoded payload contains two additional fields: `deviceVerification` and `deviceVerificationNonce`. Use these fields on the device to verify that the JWS information belongs to the device. For more information, see [`deviceVerificationID`](/documentation/StoreKit/AppStore/deviceVerificationID).

To verify the [`jwsRepresentation`](/documentation/StoreKit/VerificationResult/jwsRepresentation-21vgo) on your server, consider using the App Store Server Library function `verifyAndDecodeTransaction`, available in each language the library supports. For more information, see <doc://com.apple.documentation/documentation/AppStoreServerAPI/simplifying-your-implementation-by-using-the-app-store-server-library>.

> Important:
> The decoded payloads of the ``doc://com.apple.storekit/documentation/StoreKit/VerificationResult/jwsRepresentation-21vgo`` and <doc://com.apple.documentation/documentation/AppStoreServerAPI/JWSTransaction> strings contain <doc://com.apple.documentation/documentation/AppStoreServerAPI/price> fields that are specified in *milliunits* of the currency;  StoreKit represents the `price`  in *units* of currency. Take care not to confuse these two representations when working with both APIs.

---

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)