AI-generated Key Takeaways
-
This API call checks the purchase and consumption status of an in-app item.
-
The HTTP request uses a GET method with specific path parameters for the package name and purchase token.
-
The request body for this API call must be empty.
-
A successful response will contain an instance of
ProductPurchaseV2
. -
Authorization requires the
https://www.googleapis.com/auth/androidpublisher
OAuth scope.
Checks the purchase and consumption status of an inapp item.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
The package name of the application the inapp product was sold in (for example, 'com.some.thing'). |
token |
The token provided to the user's device when the inapp product was purchased. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ProductPurchaseV2
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher