App Store Server Notifications V2 (ASN V2) are webhook notifications sent by Apple to your server endpoint whenever subscription or in-app purchase events occur. They're part of Apple's StoreKit 2 infrastructure and replace the older server-to-server notification system.
What events do they cover?
ASN V2 notifications cover the full lifecycle of auto-renewable subscriptions and in-app purchases:
- Subscription events: SUBSCRIBED, DID_RENEW, DID_FAIL_TO_RENEW, EXPIRED, GRACE_PERIOD_EXPIRED
- Renewal changes: DID_CHANGE_RENEWAL_STATUS, DID_CHANGE_RENEWAL_PREF
- Offers: OFFER_REDEEMED, PRICE_INCREASE
- Refunds: REFUND, REFUND_DECLINED, REFUND_REVERSED
- Revocations: REVOKE (Family Sharing changes, Apple revocations)
How do they work?
- You register a notification URL for each app in App Store Connect (or Yeethook does this automatically with Quick Start)
- Apple sends a POST request to your URL whenever an event occurs
- Your server validates the JWT signature and processes the event
- You respond with a 200 status code to acknowledge receipt
Why use Yeethook?
Processing ASN V2 notifications requires:
- A secure, publicly accessible HTTPS endpoint
- JWT signature validation
- Proper error handling and retry logic
- Integration with your notification system (Slack, email, etc.)
Yeethook handles all of this for you. Just connect your Slack channel and every subscription event arrives as a formatted message. No server code required.