---
title: promotionalOfferSignatureV2
framework: retentionmessaging
role: symbol
role_heading: Type
path: retentionmessaging/promotionaloffersignaturev2
---

# promotionalOfferSignatureV2

The promotional-offer signature you generate in a JSON Web Signature (JWS) format.

## Declaration

```data
string promotionalOfferSignatureV2
```

## Discussion

Discussion To provide a promotional-offer retention message, you need to cryptographically sign the offer and include it in the promotionalOffer parameter of your RealtimeResponseBody response. To generate the promotional-offer signature in a JWS format, see Generating JWS to sign App Store requests, and follow the instructions for promotional-offer signatures, including the custom claims. important: The transactionId parameter of the signature is required. Use the originalTransactionId you receive in DecodedRealtimeRequestBody. The App Store Server Library provides functions that simplify generating this signature. For more information, see Simplifying your implementation by using the App Store Server Library.
