Method: partners.subscriptions.get

  • This endpoint enables partners to retrieve a specific subscription by its ID.

  • Partners must utilize service accounts for direct invocation.

  • The request necessitates using the GET method with a structured URL containing the partner and subscription IDs.

  • An empty request body is mandatory, and the response delivers a Subscription object upon successful execution.

Gets a subscription by id. It should be called directly by the partner using service accounts.

HTTP request

GET https://paymentsresellersubscription.googleapis.com/v1/{name=partners/*/subscriptions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the subscription resource to retrieve. It will have the format of "partners/{partner_id}/subscriptions/{subscriptionId}"

Request body

The request body must be empty.

Response body

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