Your private key downloaded from App Store Connect
Your private key ID from App Store Connect
Your issuer ID from the Keys page in App Store Connect
Your app's bundle ID
Create a promotional offer V2 signature.
The unique identifier of the product
The promotional offer identifier that you set up in App Store Connect
The unique identifier of any transaction that belongs to the customer. You can use the customer's appTransactionId, even for customers who haven't made any In-App Purchases in your app. This field is optional, but recommended.
The signed JWS. Generating JWS to sign App Store requests
Protected
internal
Create a PromotionalOfferV2SignatureCreator