---
title: requestBody
framework: appstorereceipts
role: symbol
role_heading: Object
path: appstorereceipts/requestbody
---

# requestBody

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

## Declaration

```data
object requestBody
```

## Properties

receipt-data: The Base64-encoded receipt data. password: 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: 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

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

- [verifyReceipt](appstorereceipts/verify-receipt.md)
- [responseBody](appstorereceipts/responsebody.md)
- [error](appstorereceipts/error.md)
