Android · JSON Structure

Google Play Developer Subscription Purchase Structure

Type: object Properties: 20
AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearables

SubscriptionPurchase is a JSON Structure definition published by Android, describing 20 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

kind startTimeMillis expiryTimeMillis userCancellationTimeMillis autoRenewing priceCurrencyCode priceAmountMicros countryCode developerPayload paymentState cancelReason linkedPurchaseToken purchaseType orderId acknowledgementState externalAccountId promotionType promotionCode obfuscatedExternalAccountId obfuscatedExternalProfileId

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "SubscriptionPurchase",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string"
    },
    "startTimeMillis": {
      "type": "string"
    },
    "expiryTimeMillis": {
      "type": "string"
    },
    "userCancellationTimeMillis": {
      "type": "string"
    },
    "autoRenewing": {
      "type": "boolean"
    },
    "priceCurrencyCode": {
      "type": "string"
    },
    "priceAmountMicros": {
      "type": "string"
    },
    "countryCode": {
      "type": "string"
    },
    "developerPayload": {
      "type": "string"
    },
    "paymentState": {
      "type": "integer"
    },
    "cancelReason": {
      "type": "integer"
    },
    "linkedPurchaseToken": {
      "type": "string"
    },
    "purchaseType": {
      "type": "integer"
    },
    "orderId": {
      "type": "string"
    },
    "acknowledgementState": {
      "type": "integer"
    },
    "externalAccountId": {
      "type": "string"
    },
    "promotionType": {
      "type": "integer"
    },
    "promotionCode": {
      "type": "string"
    },
    "obfuscatedExternalAccountId": {
      "type": "string"
    },
    "obfuscatedExternalProfileId": {
      "type": "string"
    }
  }
}