requestBody
The JSON contents you submit with the request to the App Store.
Declaration
object requestBodyProperties
| Name | Type | Description |
|---|---|---|
receipt-data Required | byte | The Base64-encoded receipt data. |
password | string | 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-transactions | boolean | Set this value to |
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.