app_store_server_sdk library
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.
Classes
- ApiError
- Errors returned by App Store Server API responses.
- AppStoreEnvironment
- Live or sandbox environment
- AppStoreServerAPI
- Manage your customers’ App Store transactions from your server.
- AppStoreServerHttpClient
- App store HTTP Client for making authenticated calls to App Store Server API
- ConsumptionRequest
- The request body containing consumption information.
- ExtendRenewalDateRequest
- The request body containing subscription-renewal-extension data.
- ExtendRenewalDateResponse
- A response that indicates whether the renewal-date extension succeeded and related details.
- HistoryResponse
- A response that contains the customer’s transaction history for an app.
- ITunesApi
- iTunes API
- ITunesEnvironment
- Live or sandbox environment
- ITunesHttpClient
- iTunes HTTP Client for making authenticated calls to iTunes API
- JWSRenewalInfoDecodedPayload
- A decoded payload containing subscription renewal information.
- JWSTransactionDecodedPayload
- A decoded payload containing transaction information.
- LastTransactionsItem
- OrderLookupResponse
- A response that includes the order lookup status and an array of signed transactions for the in-app purchases in the order.
- PendingRenewalInfo
- Receipt
- ReceiptInfo
- RefundLookupResponse
- A response that contains an array of signed JSON Web Signature (JWS) transactions.
- StatusResponse
- A response that contains status information for all of a customer’s subscriptions in your app.
- SubscriptionGroupIdentifierItem
- VerifyReceiptRequest
- VerifyReceiptResponse
Constants
- accountNotFoundError → const int
- accountNotFoundRetryableError → const int
- appNotFoundError → const int
- appNotFoundRetryableError → const int
- generalBadRequestError → const int
- generalInternalError → const int
- generalInternalRetryableError → const int
- invalidAppIdentifierError → const int
- invalidExtendByDaysError → const int
- invalidExtendReasonCodeError → const int
- invalidOriginalTransactionIdError → const int
- invalidRequestIdentifierError → const int
- invalidRequestRevisionError → const int
- originalTransactionIdNotFoundError → const int
- originalTransactionIdNotFoundRetryableError → const int
- subscriptionExtensionIneligibleError → const int
- subscriptionMaxExtensionError → const int