Method: partners.subscriptions.get
Stay organized with collections
Save and categorize content based on your preferences.
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-12 UTC.
[null,null,["Last updated 2025-03-12 UTC."],[],["Partners use a GET request to retrieve a subscription by ID. The request URL is `https://paymentsresellersubscription.googleapis.com/v1/{name=partners/*/subscriptions/*}`, adhering to gRPC Transcoding. The `name` path parameter, formatted as \"partners/{partner_id}/subscriptions/{subscriptionId}\", is mandatory. The request body must be empty. A successful response will return a Subscription resource instance within the response body. The service accounts will call it directly.\n"],null,[]]