Android · JSON Structure

Google Play Developer Product Purchase Structure

Type: object Properties: 15
AIAndroidAutomotiveGoogleMachine LearningMobile DevelopmentSDKTVWearables

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

Properties

kind purchaseTimeMillis purchaseState consumptionState developerPayload orderId purchaseType acknowledgementState purchaseToken productId quantity obfuscatedExternalAccountId obfuscatedExternalProfileId regionCode refundableQuantity

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "ProductPurchase",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string"
    },
    "purchaseTimeMillis": {
      "type": "string"
    },
    "purchaseState": {
      "type": "integer"
    },
    "consumptionState": {
      "type": "integer"
    },
    "developerPayload": {
      "type": "string"
    },
    "orderId": {
      "type": "string"
    },
    "purchaseType": {
      "type": "integer"
    },
    "acknowledgementState": {
      "type": "integer"
    },
    "purchaseToken": {
      "type": "string"
    },
    "productId": {
      "type": "string"
    },
    "quantity": {
      "type": "integer"
    },
    "obfuscatedExternalAccountId": {
      "type": "string"
    },
    "obfuscatedExternalProfileId": {
      "type": "string"
    },
    "regionCode": {
      "type": "string"
    },
    "refundableQuantity": {
      "type": "integer"
    }
  }
}