Contents

responseBody.Receipt

The decoded version of the encoded receipt data that you send with the request to the App Store.

Declaration

object responseBody.Receipt

Properties

NameTypeDescription
adam_idnumber

See app_item_id.

app_item_idnumber

Generated by App Store Connect and used by the App Store to uniquely identify the app purchased. Apps are assigned this identifier only in production. Treat this value as a 64-bit long integer.

application_versionstring

The app’s version number. The app’s version number corresponds to the value of CFBundleVersion (in iOS) or CFBundleShortVersionString (in macOS) in the Info.plist. In production, this value is the current version of the app on the device based on the receipt_creation_date_ms. In the sandbox, the value is always "1.0".

bundle_idstring

The bundle identifier for the app to which the receipt belongs. You provide this string on App Store Connect. This corresponds to the value of CFBundleIdentifier in the Info.plist file of the app.

download_idlong

A unique identifier for the app download transaction.

expiration_datestring

The time the receipt expires for apps purchased through the Volume Purchase Program, in a date-time format similar to the ISO 8601.

expiration_date_msstring

The time the receipt expires for apps purchased through the Volume Purchase Program, in UNIX epoch time format, in milliseconds. If this key is not present for apps purchased through the Volume Purchase Program, the receipt does not expire. Use this time format for processing dates.

expiration_date_pststring

The time the receipt expires for apps purchased through the Volume Purchase Program, in the Pacific Time zone.

in_app[responseBody.Receipt.In_app]

An array that contains the in-app purchase receipt fields for all in-app purchase transactions.

original_application_versionstring

The version of the app that the user originally purchased. This value does not change, and corresponds to the value of CFBundleVersion (in iOS) or CFBundleShortVersionString (in macOS) in the Info.plist file of the original purchase. In the sandbox environment, the value is always "1.0".

original_purchase_datestring

The time of the original app purchase, in a date-time format similar to ISO 8601.

original_purchase_date_msstring

The time of the original app purchase, in UNIX epoch time format, in milliseconds. Use this time format for processing dates.

original_purchase_date_pststring

The time of the original app purchase, in the Pacific Time zone.

preorder_datestring

The time the user ordered the app available for pre-order, in a date-time format similar to ISO 8601.

preorder_date_msstring

The time the user ordered the app available for pre-order, in UNIX epoch time format, in milliseconds. This field is only present if the user pre-orders the app. Use this time format for processing dates.

preorder_date_pststring

The time the user ordered the app available for pre-order, in the Pacific Time zone.

receipt_creation_datestring

The time the App Store generated the receipt, in a date-time format similar to ISO 8601.

receipt_creation_date_msstring

The time the App Store generated the receipt, in UNIX epoch time format, in milliseconds. Use this time format for processing dates. This value does not change.

receipt_creation_date_pststring

The time the App Store generated the receipt, in the Pacific Time zone.

receipt_typestring

The type of receipt generated. The value corresponds to the environment in which the app or VPP purchase was made.

request_datestring

The time the request to the verifyReceipt endpoint was processed and the response was generated, in a date-time format similar to ISO 8601.

request_date_msstring

The time the request to the verifyReceipt endpoint was processed and the response was generated, in UNIX epoch time format, in milliseconds. Use this time format for processing dates.

request_date_pststring

The time the request to the verifyReceipt endpoint was processed and the response was generated, in the Pacific Time zone.

version_external_identifierinteger

An arbitrary number that identifies a revision of your app. In the sandbox, this key’s value is “0”.

Topics

Objects

See Also

Objects