Apple App Store Server API https://developer.apple.com/documentation/appstoreserverapi

Features

App Store API

  • Get Transaction History
  • Get All Subscription Statuses
  • Send Consumption Information
  • Look Up Order ID
  • Get Refund History
  • Extend a Subscription Renewal Date

iTunes API

  • Verify receipt

Getting started

Follow the instructions here to create API keys to use with the App Store Server API

Guide to validating receipts with the App Store here

Usage

Check out the Examples and API docs

Additional information

Please raise issues on GitHub. Pull requests always welcome.

Buy Me A Coffee

Libraries

app_store_server_sdk
The App Store Server API is a REST API that you call from your server to request and provide information about your customers' in-app purchases. The App Store signs the transaction and subscription renewal information that this API returns using the JSON Web Signature (JWS) specification. App Store Server API is independent of the app’s installation status on the customer’s devices. The App Store server returns information based on the customer’s in-app purchase history regardless of whether the customer installed, removed, or reinstalled the app on their devices. To request transaction and subscription status information with this API, provide any original transaction identifier that belongs to the customer. The transaction history API responds with a complete list of transactions, 20 at a time, starting with the oldest first. The subscription status API returns the status for all of the customer’s subscriptions, organized by their subscription group identifier. Use the Send Consumption Information endpoint to send information to the App Store when customers request a refund for a consumable in-app purchase, after you receive the CONSUMPTION_REQUEST App Store server notification. Your data helps inform refund decisions.