Contents

requestBody

The JSON contents you submit with the request to the App Store.

Declaration

object requestBody

Properties

NameTypeDescription
receipt-data Requiredbyte

The Base64-encoded receipt data.

passwordstring

Your app’s shared secret, which is a hexadecimal string. The password is required for receipts that include subscriptions, and strongly recommended otherwise. For more information about the shared secret, see Generate a shared secret to verify receipts.

exclude-old-transactionsboolean

Set this value to true for the response to include only the latest renewal transaction for any subscriptions. Use this field only for app receipts that contain auto-renewable subscriptions.

Discussion

To receive a decoded receipt for validation, send a request with the encoded receipt data and app password to the App Store. For receipts that contain auto-renewable subscriptions, optionally include an exclusion flag. Send this JSON data using the HTTP POST request method.

See Also

Deprecated