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

Resource representations

A SubscriptionPurchase 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 This kind represents a subscriptionPurchase object in the androidpublisher service.
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.