A decoded payload containing the version 2 notification data.

ResponseBodyV2DecodedPayload

interface ResponseBodyV2DecodedPayload {
    data?: Data;
    externalPurchaseToken?: ExternalPurchaseToken;
    notificationType?: string;
    notificationUUID?: string;
    signedDate?: number;
    subtype?: string;
    summary?: Summary;
    version?: string;
}

Hierarchy (view full)

Properties

data?: Data

The object that contains the app metadata and signed renewal and transaction information. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.

data

externalPurchaseToken?: ExternalPurchaseToken

This field appears when the notificationType is EXTERNAL_PURCHASE_TOKEN. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.

externalPurchaseToken

notificationType?: string

The in-app purchase event for which the App Store sends this version 2 notification.

notificationType

notificationUUID?: string

A unique identifier for the notification.

notificationUUID

signedDate?: number

The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.

signedDate

subtype?: string

Additional information that identifies the notification event. The subtype field is present only for specific version 2 notifications.

subtype

summary?: Summary

The summary data that appears when the App Store server completes your request to extend a subscription renewal date for eligible subscribers. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.

summary

version?: string

A string that indicates the notification’s App Store Server Notifications version number.

version