Checks the purchase and consumption status of an inapp item.
Request
HTTP request
GET https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/products/productId/tokens/token
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
packageName |
string |
The package name of the application the inapp product was sold in (for example, 'com.some.thing'). |
productId |
string |
The inapp product SKU (for example, 'com.some.thing.inapp1'). |
token |
string |
The token provided to the user's device when the inapp product was purchased. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/androidpublisher |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a Purchases.products resource in the response body.