---
title: jwsRepresentation
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/verificationresult/jwsrepresentation-21vgo
---

# jwsRepresentation

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

## Declaration

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

## Mentioned in

Supporting offer codes in your app Supporting subscription offer codes in your app

## Discussion

Discussion Use this JSON Web Signature (JWS) value to perform your own JWS verification on your server or on the device. The jwsRepresentation is the same as the JWSTransaction that the App Store Server API returns and the JWSTransaction that you receive from App Store Server Notifications. The jwsRepresentation’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. To verify the jwsRepresentation on your server, consider using the App Store Server Library function verifyAndDecodeTransaction, available in each language the library supports. For more information, see Simplifying your implementation by using the App Store Server Library. important: The decoded payloads of the jwsRepresentation and JWSTransaction strings contain 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.

## See Also

### Getting properties for transactions

- [deviceVerification](storekit/verificationresult/deviceverification-69lvx.md)
- [deviceVerificationNonce](storekit/verificationresult/deviceverificationnonce-9dfrn.md)
- [signedDate](storekit/verificationresult/signeddate-8x9bg.md)
- [headerData](storekit/verificationresult/headerdata-9egfp.md)
- [payloadData](storekit/verificationresult/payloaddata-uyle.md)
- [signedData](storekit/verificationresult/signeddata-56usp.md)
- [signatureData](storekit/verificationresult/signaturedata-4pyv8.md)
- [signature](storekit/verificationresult/signature-7t1ne.md)
