<!--
{
  "availability" : [
    "App Store Server Notifications: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerNotifications",
  "identifier" : "/documentation/AppStoreServerNotifications/responseBodyV2",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "App Store Server Notifications"
    ],
    "preciseIdentifier" : "data:store_s2s:responseBodyV2"
  },
  "title" : "responseBodyV2"
}
-->

# responseBodyV2

The response body the App Store sends in a version 2 server notification.

```
object responseBodyV2
```

## Discussion

The `signedPayload` object is a JWS representation. To get the transaction and subscription renewal details from the notification payload, process the `signedPayload` as follows:

1. Parse `signedPayload` to identify the JWS header, payload, and signature representations.
2. Base64URL-decode the payload to get the [`responseBodyV2DecodedPayload`](/documentation/AppStoreServerNotifications/responseBodyV2DecodedPayload). The decoded payload contains details of the notification such as the notification type and  data.
3. The `data` object contains a `signedTransactionInfo` (<doc://com.apple.documentation/documentation/AppStoreServerAPI/JWSTransaction>) and based on the notification type, a `signedRenewalInfo` ([`JWSRenewalInfo`](/documentation/AppStoreServerNotifications/JWSRenewalInfo)). Parse and Base64URL-decode these signed JWS representations to get transaction and subscription renewal details.

Each of the signed JWS representations, `signedPayload`, `signedTransactionInfo`, and `signedRenewalInfo`, have a JWS signature that you can validate on your server. Use the algorithm specified in the header’s [`alg`](/documentation/AppStoreServerNotifications/alg) parameter to validate the signature. For more information about validating signatures, see the JSON Web Signature (JWS) [IETF RFC 7515](https://datatracker.ietf.org/doc/html/rfc7515) specification.

## Topics

### Response body payload

[`signedPayload`](/documentation/AppStoreServerNotifications/signedPayload)

A cryptographically signed payload, in JSON Web Signature (JWS) format, that contains the response body for a version 2 notification.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)