Web Store API:Payments

A Payments resource represents an existing payment made by the user for an in-app product, Chrome App, or Chrome Extension.

Payment Representation

{
  "response": {
    "details": [
      {
        "kind": "chromewebstore#payment",
        "itemId": "hgmipfdefoffjahnoanffggdklnoojan",
        "sku": "giant_tv",
        "createdTime": "1387221267248",
        "state": "ACTIVE"
      }
    ]
  }
} 
Property name Value Description
kind string Identifies this resource as a payment. Value: the fixed string "chromewebstore#payment".
item_id string Unique identifier for a Chrome App, Chrome Extension, or Chrome Theme.
sku string Unique identifer (Product ID) for an individual In-App Product (IAP). Product IDs must start with a lowercase letter or number and can only contain lowercase letters(a-z), numbers(0-9), dots(.) and underscores(_).
Created long Creation time of the payment in Unix time stamp format.
state string Will be one of the following payment states: ACTIVE, PAYMENT_DECLINED, EXPIRED, CANCELLED, REJECTED, PENDING, CANCELLED_BY_DEVELOPER, DISABLED

Methods

list
Lists the in-app products that the user has purchased.