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
Configure a default message for a specific product in a specific locale.
The product identifier for the default configuration.
The locale for the default configuration.
The request body that includes the message identifier to configure as the default message.
APIException If a response was returned indicating the request could not be processed Configure Default Message
Configures the URL for your Get Retention Message endpoint in the sandbox and production environments.
The request body that includes your endpoint’s URL.
APIException If a response was returned indicating the request could not be processed Configure Realtime URL
Delete a default message for a product in a locale.
The product ID of the default message configuration.
The locale of the default message configuration.
APIException If a response was returned indicating the request could not be processed Delete Default Message
Delete a previously uploaded image.
The identifier of the image to delete.
APIException If a response was returned indicating the request could not be processed Delete Image
Delete a previously uploaded message.
The identifier of the message to delete.
APIException If a response was returned indicating the request could not be processed Delete Message
Deletes the URL for your Get Retention Message endpoint, in the sandbox or production environments.
APIException If a response was returned indicating the request could not be processed Delete Realtime URL
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
Notifies the App Store server that your system has finished processing the customer's transaction.
The transaction identifier of the transaction to mark as finished.
APIException If a response was returned indicating the request could not be processed Finish Transaction
Get the statuses for all of a customer’s auto-renewable subscriptions in your app.
Any transactionId, originalTransactionId, or appTransactionId that belongs to the customer for your app.
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 customer's app transaction information for your app.
Any transactionId, originalTransactionId, or appTransactionId that belongs to the customer for your app.
A response that contains signed app transaction information for a customer.
APIException If a response was returned indicating the request could not be processed Get App Transaction Info
Gets the default message for a specific product in a specific locale, if it’s configured.
The product identifier of the message.
The locale of the message.
The response body that contains the default configuration information.
APIException If a response was returned indicating the request could not be processed Get Default Message
Get the image identifier and state for all uploaded images.
A response that contains status information for all images.
APIException If a response was returned indicating the request could not be processed Get Image List
Get the message identifier and state of all uploaded messages.
A response that contains status information for all messages.
APIException If a response was returned indicating the request could not be processed Get Message List
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
Gets the results of the performance test for the specified identifier.
The ID of the performance test to return, which you receive in the PerformanceTestResponse when you call Initiate Performance Test.
An object the API returns that describes the performance test results.
APIException If a response was returned indicating the request could not be processed Get Performance Test Results
Gets the URL for real-time messages that points to your Get Retention Message endpoint, which you previously configured.
The response body that contains the URL for your Get Retention Message endpoint.
APIException If a response was returned indicating the request could not be processed Get Realtime URL
Get a paginated list of all of a customer’s refunded in-app purchases for your app.
Any transactionId, originalTransactionId, or appTransactionId that belongs to the customer for your app.
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.
Any transactionId, originalTransactionId, or appTransactionId that belongs to the customer for your app.
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
Initiates a performance test of your Get Retention Message endpoint in the sandbox environment.
The request body which specifies a transaction identifier of an In-App Purchase to use for this test.
The performance test response object.
APIException If a response was returned indicating the request could not be processed Initiate Performance Test
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
ProtectedmakeProtectedmakeAsk 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.
Use sendConsumptionInformation instead Send Consumption Information
Send consumption information about an 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's App Store Server Notifications V2 endpoint.
The request body containing consumption information.
APIException If a response was returned indicating the request could not be processed Send Consumption Information
Sets the app account token value for a purchase the customer makes outside your app, or updates its value in an existing transaction.
The original transaction identifier of the transaction to receive the app account token update.
The request body that contains a valid app account token value.
APIException If a response was returned indicating the request could not be processed. Set App Account Token
Upload an image to use for retention messaging.
A UUID you provide to uniquely identify the image you upload. Must be lowercase.
The image file to upload.
OptionalimageSize: stringThe size of the image you upload.
APIException If a response was returned indicating the request could not be processed Upload Image
Upload a message to use for retention messaging.
A UUID you provide to uniquely identify the message you upload. Must be lowercase.
The message text to upload.
APIException If a response was returned indicating the request could not be processed Upload Message
Create an App Store Server API client