Contents

responseBodyV1

The response body containing JSON data that the App Store sends in a version 1 server notification.

Declaration

object responseBodyV1

Properties

NameTypeDescription
auto_renew_adam_idstring

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_idstring

The product identifier of the auto-renewable subscription that the user’s subscription renews.

auto_renew_statusstring

The current renewal status for an auto-renewable subscription product. Note that these values are the strings “true” and “false”, and not the strings “0” or “1” that appear in auto_renew_status in the receipt.

auto_renew_status_change_datestring

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_msstring

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_pststring

The time at which the user turned on or off the renewal status for an auto-renewable subscription, in Pacific standard time.

bidstring

A string that contains the app bundle ID.

bvrsstring

A string that contains the app bundle version.

deprecationstring

The date that App Store Server Notifications V1 are deprecated. For more information, see App Store Server Notifications changelog.

environmentstring

The environment for which the App Store generated the receipt.

expiration_intentinteger

The reason a subscription expired. This field is only present for an expired auto-renewable subscription. See expiration_intent for more information.

notification_typenotification_type

The subscription event that triggered the notification. See notification_type for the complete list of version 1 notification types.

original_transaction_idlong

The original transaction identifier for which App Store Server Notifications sends the notification.

passwordstring

The same value as the shared secret you submit in the password field of the App Store Receipt requestBody when validating receipts.

unified_receiptunified_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.

Topics

Unified receipt object

See Also

Version 1 notifications