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",
  "startTimeMillis": long,
  "expiryTimeMillis": long,
  "autoRenewing": boolean
Property name Value Description Notes
autoRenewing boolean Whether the subscription will automatically be renewed when it reaches its current expiry time.
expiryTimeMillis long Time at which the subscription will expire, in milliseconds since Epoch.
kind string This kind represents a subscriptionPurchase object in the androidpublisher service.
startTimeMillis long Time at which the subscription was granted, in milliseconds since Epoch.


Cancels a user's subscription purchase. The subscription remains valid until its expiration time.
Defers a user's subscription purchase until a specified future expiration time.
Checks whether a user's subscription purchase is valid and returns its expiry time.
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.