@apple/app-store-server-library
    Preparing search index...

    Interface PromotionalOfferSignatureV1

    The promotional offer signature you generate using an earlier signature version.

    promotionalOfferSignatureV1

    interface PromotionalOfferSignatureV1 {
        appAccountToken?: string;
        encodedSignature: string;
        keyId: string;
        nonce: string;
        offerIdentifier: string;
        productId: string;
        timestamp: number;
    }
    Index

    Properties

    appAccountToken?: string

    A UUID that you provide to associate with the transaction if the customer accepts the promotional offer.

    Note: Use lowercase.

    encodedSignature: string

    The Base64-encoded cryptographic signature you generate using the offer parameters.

    keyId: string

    A string that identifies the private key you use to generate the signature.

    keyId

    nonce: string

    A one-time-use UUID antireplay value you generate.

    Note: Use lowercase.

    offerIdentifier: string

    The subscription offer identifier that you set up in App Store Connect.

    productId: string

    The subscription's product identifier.

    productId

    timestamp: number

    The UNIX time, in milliseconds, when you generate the signature.