For a list of methods for this resource, see the end of this page.

Resource representations

A Purchase resource indicates the status of a user's subscription purchase.

  "kind": "androidpublisher#subscriptionPurchase",
  "initiationTimestampMsec": long,
  "validUntilTimestampMsec": long,
  "autoRenewing": boolean
Property name Value Description Notes
autoRenewing boolean Whether the subscription will automatically be renewed when it reaches its current expiry time.
initiationTimestampMsec long Time at which the subscription was granted, in milliseconds since Epoch.
kind string Set to the fixed string 'androidpublisher#subscriptionPurchase'.
validUntilTimestampMsec long Time at which the subscription will expire, in milliseconds since Epoch.


Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
Checks whether a user's subscription purchase is valid and returns its expiry time.