---
title: jwsRepresentation
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/verificationresult/jwsrepresentation-178oj
---

# jwsRepresentation

The subscription renewal information signed by the App Store, in JWS Compact Serialization format.

## Declaration

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

## 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 JWSRenewalInfo that the App Store Server API returns, and the JWSRenewalInfo 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 verifyAndDecodeRenewalInfo, 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 JWSRenewalInfo strings contain renewalPrice fields that are specified in milliunits of the currency; StoreKit represents the renewalPrice in units of currency. Take care not to confuse these two representations when working with both APIs.

## See Also

### Getting properties for subscription renewal information

- [deviceVerification](storekit/verificationresult/deviceverification-5hvi9.md)
- [deviceVerificationNonce](storekit/verificationresult/deviceverificationnonce-6mzfc.md)
- [signedDate](storekit/verificationresult/signeddate-3tvo5.md)
- [headerData](storekit/verificationresult/headerdata-3be0o.md)
- [payloadData](storekit/verificationresult/payloaddata-abfv.md)
- [signedData](storekit/verificationresult/signeddata-1t80n.md)
- [signatureData](storekit/verificationresult/signaturedata-9uw8c.md)
- [signature](storekit/verificationresult/signature-95r7x.md)
