Notification History doesn't include "subtype" in signedPayload

Notification History doesn't include "subtype" in signedPayload

We've implemented Apple Server v2 Notifications on our BE to cover our subscriptions logic. Now we want to implement Log system for our customer service, where we can see the notifications history

When we call POST https://api.storekit-sandbox.itunes.apple.com/inApps/v1/notifications/history

we receive NotificationHistoryResponse with notificationHistoryResponseItem[]

Within notificationHistoryResponseItem we retrieve "signedPayload" To read the notification response body, we Base64 URL-decode the "signedPayload". In payload we see "notificationType" but "subtype" is missing

Thank you for the feedback. Can you please share what the notificationType is that you are experiencing this with?

Hi, thank you for quick response, basically for non of the notificationType which can have notificationSubType

DID_CHANGE_RENEWAL_STATUS => subtypes [AUTO_RENEW_ENABLED, AUTO_RENEW_DISABLED] EXPIRED => subtypes [VOLUNTARY, BILLING_RETRY] SUBSCRIBED => subtypes [INITIAL_BUY, RESUBSCRIBE] DID_FAIL_TO_RENEW => subtype [GRACE_PERIOD], DID_RENEW => subtype [BILLING_RECOVERY],

We receive all subtypes correctly using App Store Server Notifications V2 but not from App Store Server Api (https://developer.apple.com/documentation/appstoreserverapi/get_notification_history)

Notification History doesn't include "subtype" in signedPayload
 
 
Q