responseBodyV1
The response body containing JSON data that the App Store sends in a version 1 server notification.
Declaration
object responseBodyV1Properties
| Name | Type | Description |
|---|---|---|
auto_renew_adam_id | string | An identifier that App Store Connect generates and the App Store uses to uniquely identify the auto-renewable subscription that the user’s subscription renews. Treat this value as a 64-bit integer. |
auto_renew_product_id | string | The product identifier of the auto-renewable subscription that the user’s subscription renews. |
auto_renew_status | string | The current renewal status for an auto-renewable subscription product. Note that these values are the strings |
auto_renew_status_change_date | string | The time at which the user turned on or off the renewal status for an auto-renewable subscription, in a date-time format similar to the ISO 8601 standard. |
auto_renew_status_change_date_ms | string | The time at which the user turned on or off the renewal status for an auto-renewable subscription, in UNIX time, in milliseconds. Use this time format to process dates. |
auto_renew_status_change_date_pst | string | The time at which the user turned on or off the renewal status for an auto-renewable subscription, in Pacific standard time. |
bid | string | A string that contains the app bundle ID. |
bvrs | string | A string that contains the app bundle version. |
deprecation | string | The date that App Store Server Notifications V1 are deprecated. For more information, see App Store Server Notifications changelog. |
environment | string | The environment for which the App Store generated the receipt. |
expiration_intent | integer | The reason a subscription expired. This field is only present for an expired auto-renewable subscription. See expiration_intent for more information. |
notification_type | notification_type | The subscription event that triggered the notification. See notification_type for the complete list of version 1 notification types. |
original_transaction_id | long | The original transaction identifier for which App Store Server Notifications sends the notification. |
password | string | The same value as the shared secret you submit in the |
unified_receipt | unified_receipt | An object that contains information about the most recent in-app purchase transactions for the app. |
Mentioned in
Discussion
Use the information in the response body to react quickly to changes in your users’ subscription states. The fields available in a notification sent to your server depend on the notification_type, which indicates the event that triggered the notification.