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 nameValueDescription
kindstringIdentifies this resource as a payment. Value: the fixed string "chromewebstore#payment".
item_idstringUnique identifier for a Chrome App, Chrome Extension, or Chrome Theme.
skustringUnique 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(_).
CreatedlongCreation time of the payment in Unix time stamp format.
statestringWill 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.

Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.