appstoreserverlibrary.models.AdvancedCommerceRequestInfo module

class appstoreserverlibrary.models.AdvancedCommerceRequestInfo.AdvancedCommerceRequestInfo(requestReferenceId: UUID, appAccountToken: UUID | None = None, consistencyToken: str | None = None)[source]

Bases: object

The metadata to include in server requests.

https://developer.apple.com/documentation/advancedcommerceapi/requestinfo

appAccountToken: UUID | None

A UUID that represents an app account token, to associate with the transaction in the request.

consistencyToken: str | None

The value of the advancedCommerceConsistencyToken that you receive in the JWSRenewalInfo renewal information for a subscription. Don’t generate this value.

https://developer.apple.com/documentation/AppStoreServerAPI/advancedCommerceConsistencyToken

requestReferenceId: UUID

A UUID that you provide to uniquely identify each request. If the request times out, you can use the same requestReferenceId value to retry the request. Otherwise, provide a unique value.