Your private key downloaded from App Store Connect
Your private key ID from App Store Connect
Your issuer ID from the Keys page in App Store Connect
Your app’s bundle ID
The environment to target
Uses a subscription’s product identifier to extend the renewal date for all of its eligible active subscribers.
The request body for extending a subscription renewal date for all of its active subscribers.
A response that indicates the server successfully received the subscription-renewal-date extension request.
APIException If a response was returned indicating the request could not be processed Extend Subscription Renewal Dates for All Active Subscribers
Extends the renewal date of a customer’s active subscription using the original transaction identifier.
The original transaction identifier of the subscription receiving a renewal date extension.
The request body containing subscription-renewal-extension data.
A response that indicates whether an individual renewal-date extension succeeded, and related details.
APIException If a response was returned indicating the request could not be processed Extend a Subscription Renewal Date
Get the statuses for all of a customer’s auto-renewable subscriptions in your app.
The identifier of a transaction that belongs to the customer, and which may be an original transaction identifier.
An optional filter that indicates the status of subscriptions to include in the response. Your query may specify more than one status query parameter.
A response that contains status information for all of a customer’s auto-renewable subscriptions in your app.
APIException If a response was returned indicating the request could not be processed Get All Subscription Statuses
Get a list of notifications that the App Store server attempted to send to your server.
An optional token you use to get the next set of up to 20 notification history records. All responses that have more records available include a paginationToken. Omit this parameter the first time you call this endpoint.
The request body that includes the start and end dates, and optional query constraints.
A response that contains the App Store Server Notifications history for your app.
APIException If a response was returned indicating the request could not be processed Get Notification History
Get a paginated list of all of a customer’s refunded in-app purchases for your app.
The identifier of a transaction that belongs to the customer, and which may be an original transaction identifier.
A token you provide to get the next set of up to 20 transactions. All responses include a revision token. Use the revision token from the previous RefundHistoryResponse.
A response that contains status information for all of a customer’s auto-renewable subscriptions in your app.
APIException If a response was returned indicating the request could not be processed Get Refund History
Checks whether a renewal date extension request completed, and provides the final count of successful or failed extensions.
The UUID that represents your request to the Extend Subscription Renewal Dates for All Active Subscribers endpoint.
The product identifier of the auto-renewable subscription that you request a renewal-date extension for.
A response that indicates the current status of a request to extend the subscription renewal date to all eligible subscribers.
APIException If a response was returned indicating the request could not be processed Get Status of Subscription Renewal Date Extensions
Check the status of the test App Store server notification sent to your server.
The test notification token received from the Request a Test Notification endpoint
A response that contains the contents of the test notification sent by the App Store server and the result from your server.
APIException If a response was returned indicating the request could not be processed Get Test Notification Status
Get a customer’s in-app purchase transaction history for your app.
The identifier of a transaction that belongs to the customer, and which may be an original transaction identifier.
A token you provide to get the next set of up to 20 transactions. All responses include a revision token. Note: For requests that use the revision token, include the same query parameters from the initial request. Use the revision token from the previous HistoryResponse.
The version of the Get Transaction History endpoint to use. V2 is recommended.
A response that contains the customer’s transaction history for an app.
APIException If a response was returned indicating the request could not be processed Get Transaction History
Get information about a single transaction for your app.
The identifier of a transaction that belongs to the customer, and which may be an original transaction identifier.
A response that contains signed transaction information for a single transaction.
APIException If a response was returned indicating the request could not be processed Get Transaction Info
Get a customer’s in-app purchases from a receipt using the order ID.
The order ID for in-app purchases that belong to the customer.
A response that includes the order lookup status and an array of signed transactions for the in-app purchases in the order.
APIException If a response was returned indicating the request could not be processed Look Up Order ID
Protected
makeProtected
makeAsk App Store Server Notifications to send a test notification to your server.
A response that contains the test notification token.
APIException If a response was returned indicating the request could not be processed Request a Test Notification
Send consumption information about a consumable in-app purchase to the App Store after your server receives a consumption request notification.
The transaction identifier for which you’re providing consumption information. You receive this identifier in the CONSUMPTION_REQUEST notification the App Store sends to your server.
The request body containing consumption information.
APIException If a response was returned indicating the request could not be processed Send Consumption Information
Create an App Store Server API client