Method: monetization.subscriptions.get

  • Retrieves details for a single subscription within a specified app.

  • Requires providing the app's package name and the unique product ID of the subscription.

  • Utilizes an HTTP GET request and returns subscription data in the response body.

  • Needs authorization with the https://www.googleapis.com/auth/androidpublisher scope.

Reads a single subscription.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions/{productId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) of the subscription to get.

productId

string

Required. The unique product ID of the subscription to get.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Subscription.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher