appstoreserverlibrary.models.CheckTestNotificationResponse module

class appstoreserverlibrary.models.CheckTestNotificationResponse.CheckTestNotificationResponse(signedPayload: str | None = None, sendAttempts: List[SendAttemptItem] | None = None)[source]

Bases: object

A response that contains the contents of the test notification sent by the App Store server and the result from your server.

https://developer.apple.com/documentation/appstoreserverapi/checktestnotificationresponse

sendAttempts: List[SendAttemptItem] | None

An array of information the App Store server records for its attempts to send the TEST notification to your server. The array may contain a maximum of six sendAttemptItem objects.

https://developer.apple.com/documentation/appstoreserverapi/sendattemptitem

signedPayload: str | None

A cryptographically signed payload, in JSON Web Signature (JWS) format, containing the response body for a version 2 notification.

https://developer.apple.com/documentation/appstoreservernotifications/signedpayload