Guide · For developers

Tracking App Store subscriptions on your server: notifications, keys and creator codes

To pay creators on App Store subscriptions you need Apple’s own record of each payment. Apple gives you two: App Store Server Notifications, which it sends to your URL as things happen, and the App Store Server API, which you call with an In-App Purchase key to read a subscriber’s history. Both return data signed by Apple, so you can verify it before any money moves.

Updated 18 October 2026 · 3 min read · By the AppCut team

App Store Server Notifications

You set a notification URL per app in App Store Connect (your app → App Information → App Store Server Notifications), one for production and one for sandbox. Apple then posts a signed payload, a JWS, for every subscription event. You verify it with the certificate chain inside the payload, which must lead back to Apple’s root certificate (Apple Root CA - G3).

NotificationWhat it means for commission
SUBSCRIBEDA new subscriber, or one who came back: the first commission, pending
DID_RENEWA renewal: another commission inside the offer’s period
OFFER_REDEEMEDAn offer code was redeemed: useful when creators have their own offer codes
REFUNDApple refunded a payment: reverse that commission
REFUND_REVERSEDThe refund was undone: reinstate the commission
DID_CHANGE_RENEWAL_STATUS, EXPIREDAuto-renew turned off, or the subscription ended: no money moves

There is one notification URL per environment. If your own server or a subscription service already uses it, don’t replace it: read the same events through the App Store Server API, or forward the notifications.

The App Store Server API and the In-App Purchase key

The App Store Server API lets your server ask Apple for a subscriber’s transaction history and for past notifications. You sign each request with an In-App Purchase key: App Store Connect → Users and Access → Integrations → In-App Purchase → Generate. Only the Account Holder or an Admin can create one, and the .p8 file can be downloaded only once, so store it safely. You also need the Issuer ID shown on that page and your app’s bundle ID.

Apple’s answers are signed too. A transaction tells you the product, the price and currency, whether an offer was used, and the original transaction ID that ties every renewal to the first purchase.

Connecting a purchase to a creator

Apple’s data says who paid, not who sent them. You add that link yourself:

  • appAccountToken. When your app starts a purchase it can pass a UUID, and Apple returns it in every transaction for that subscription. Map that UUID to the creator code you stored at signup.
  • Offer codes. The signed transaction says which offer was redeemed, so a per-creator offer code proves the credit on its own.
  • Your own claim. Your backend records “this user came via creator X” at signup and sends it along with the payments.

Already using appAccountToken for your own IDs? Keep it. Map your existing token to the creator instead of replacing it.

Testing without real money

TestFlight and sandbox purchases arrive marked as Sandbox, and purchases made with StoreKit testing in Xcode never reach Apple’s servers. Keep test events in a separate test ledger and never pay commission on them.

What not to pay on

  • Clicks, installs and free trials: nobody has paid yet.
  • Anything your app reports about a purchase without Apple’s signature.
  • Modelled or estimated conversions. Show them in a report if you like, but bill only on signed payments.

In AppCut this is the App Store setup on the developers page: upload the key file with your Issuer ID and App Store link, and AppCut checks the key with Apple, reads the last 30 days and verifies every notification against Apple’s root certificate. Nothing in your app changes.

Questions

Do I need the App Store Server API if I already get notifications?

Not strictly. Notifications cover what happens from now on. The API adds history, for example the last 30 days, and lets you check a notification you missed.

Can an App Manager create the In-App Purchase key?

No. Apple requires the Account Holder or an Admin. If that isn’t you, ask the Account Holder to create a key and send you the .p8 file and the Issuer ID.

Is a receipt sent by my app enough?

Use it as a hint at most. Pay on what Apple signs: server notifications or App Store Server API answers.

Sources

Let creators sell it. Pay when it sells.

Free for your first 2 creators. Connect the App Store, Google Play or Stripe, publish an offer, and pay only on real revenue.

Run your app’s affiliate program · Creator payouts for apps