Recover App Store server notification v1

We set up a server for the v1 endpoint. However, we experienced a server backend issue for several days and realized we lost several days' worth of notification data. It wasn't a server response failure but an issue on our end. So we tried to findout how to recover notification data.

Get All Subscription Statuses API and Get Refund History API require a transaction id, and I'm not sure how to retrieve the lost data.

And Get Notification History API this seems to only work for Notification V2. It only returns empty data when I request.

Is there any other way to recover App Store server notification v1?

Replies

For V1 notifications, the only recovery method is via the retry system detailed here:

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

If you missed all retries for a V1 notification, it is unfortunately otherwise unrecoverable. I recommend updating to V2 notifications so you can leverage the Get Notification History endpoint in the case of future outages.

For the purchase/subscription data itself, that's still available through the App Store Server API. I recommend using Get Transaction History and Get All Subscription Statuses:

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

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

You can use the App Store Server Library to make calling the API easier: https://developer.apple.com/documentation/appstoreserverapi/simplifying_your_implementation_by_using_the_app_store_server_library