responseBodyV2DecodedPayload
A decoded payload that contains the version 2 notification data.
Declaration
object responseBodyV2DecodedPayloadProperties
| Name | Type | Description |
|---|---|---|
notificationType | notificationType | The in-app purchase event for which the App Store sends this version 2 notification. |
subtype | subtype | Additional information that identifies the notification event. The |
data | data | The object that contains the app metadata and signed renewal and transaction information. The |
summary | summary | The summary data that appears when the App Store server completes your request to extend a subscription renewal date for eligible subscribers. For more information, see Extend Subscription Renewal Dates for All Active Subscribers. The |
externalPurchaseToken | externalPurchaseToken | This field appears when the The |
appData | appData | The object that contains the app metadata and signed app transaction information. This field appears when the notificationType is The |
version | version | The App Store Server Notification version number, |
signedDate | signedDate | The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data. |
notificationUUID | notificationUUID | A unique identifier for the notification. Use this value to identify a duplicate notification. |
Mentioned in
Discussion
The responseBodyV2DecodedPayload is the Base64URL-decoded notification information from the JWS payload portion of the signedPayload. Use the notificationType and subtype to understand the event that led to this notification.
The payload can contain only one of the following four fields:
A data object, which contains details including the environment, the app metadata, and the signed transaction and subscription renewal information.
An appData object, which contains details including the environment, the app metadata, and the signed app transaction information.
A summary object, which contains information only when the notification is a
RENEWAL_EXTENSIONwith aSUMMARYsubtype. For more information, see Extend Subscription Renewal Dates for All Active Subscribers.An externalPurchaseToken object, which contains an external purchase token only when the notification is
EXTERNAL_PURCHASE_TOKEN. For more information about this notification, see externalPurchaseToken.