Specify your secure server's URL in App Store Connect.
- App Store Server-to-Server Notifications 1.0+
To receive server notifications from the App Store, configure your server URL in the Subscription Status URL field in App Store Connect for your app. For instructions, see Enable server notifications for auto-renewable subscriptions. Ensure that your server establishes a secure connection with the App Store as described in Preventing Insecure Network Connections.
Upon receiving a server notification, respond to the App Store with an HTTP status code of
200 if the post was successful. If the post was unsuccessful, send HTTP
40x to have the App Store retry the notification.