appstoreserverlibrary.models.ResponseBodyV2DecodedPayload module¶
- class appstoreserverlibrary.models.ResponseBodyV2DecodedPayload.ResponseBodyV2DecodedPayload(notificationType: NotificationTypeV2 | None = None, subtype: Subtype | None = None, notificationUUID: str | None = None, data: Data | None = None, version: str | None = None, signedDate: int | None = None, summary: Summary | None = None, externalPurchaseToken: ExternalPurchaseToken | None = None, *, rawNotificationType: str | None = None, rawSubtype: str | None = None)[source]¶
Bases:
AttrsRawValueAware
A decoded payload containing the version 2 notification data.
https://developer.apple.com/documentation/appstoreservernotifications/responsebodyv2decodedpayload
- data: Data | None¶
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.
https://developer.apple.com/documentation/appstoreservernotifications/data
- externalPurchaseToken: ExternalPurchaseToken | None¶
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.
https://developer.apple.com/documentation/appstoreservernotifications/externalpurchasetoken
- notificationType: NotificationTypeV2 | None¶
The in-app purchase event for which the App Store sends this version 2 notification.
https://developer.apple.com/documentation/appstoreservernotifications/notificationtype
- notificationUUID: str | None¶
A unique identifier for the notification.
https://developer.apple.com/documentation/appstoreservernotifications/notificationuuid
- rawNotificationType: str | None¶
See notificationType
- rawSubtype: str | None¶
See subtype
- signedDate: int | None¶
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.
https://developer.apple.com/documentation/appstoreserverapi/signeddate
- subtype: Subtype | None¶
Additional information that identifies the notification event. The subtype field is present only for specific version 2 notifications.
https://developer.apple.com/documentation/appstoreservernotifications/subtype
- summary: Summary | None¶
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.
https://developer.apple.com/documentation/appstoreservernotifications/summary
- version: str | None¶
A string that indicates the notification’s App Store Server Notifications version number.
https://developer.apple.com/documentation/appstoreservernotifications/version