Google Play Android Developer API (androidpublisher:v3)

2023-03-14

1 new method

Additions

    Methods
  • androidpublisher.purchases.products.consume

      Path : androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume

      Description : Consumes a purchase for an inapp item.

      HTTP Method : POST

      Parameter Order :

    • packageName
    • productId
    • token
    • Scopes : https://www.googleapis.com/auth/androidpublisher

      Flat Path : androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume

      Parameters :

        productId

          Required : Yes

          Location : path

          Type : string

          Description : The inapp product SKU (for example, 'com.some.thing.inapp1').

        token

          Type : string

          Location : path

          Required : Yes

          Description : The token provided to the user's device when the inapp product was purchased.

        packageName

          Type : string

          Description : The package name of the application the inapp product was sold in (for example, 'com.some.thing').

          Location : path

          Required : Yes