

You should now see a new Linked Project and a few new sections, in the the Service Account section, click the Create service account button. To get started with a service account first go to the Google play Developer console API access settings page and click the Create new project button: You also need an access_token which you can get by creating a Google API service account. To use either endpoint you must know the packageName, productId, purchaseToken all of these can be found in the payload you received on purchase.

Purchases.products: get can be used to verify a non-auto-renewing product purchase, where Purchases.subscriptions: get is for verifying and re-verifying auto-renewing product subscriptions. Google provides receipt validation through the Google Play Developer API, within the API are two endpoints you will be most interested in: Purchases.products: get and Purchases.subscriptions: get.
