Payments Reseller Subscription API

  • The Payments Reseller Subscription API enables third parties to resell Google subscription products like Stadia, Nest, and Google One to their customers.

  • The API provides functionalities for activating, managing, and authorizing Google subscriptions, including features such as cancellations, entitlements, and promotions.

  • Partners can utilize the API to provision, create, and manage customer subscriptions, as well as handle add-ons and cancellations.

  • Google provides client libraries for easy integration, and the API is accessible via a RESTful interface with a defined service endpoint.

  • The API offers various resources like products, promotions, purchase orders, subscriptions, and user sessions, each with dedicated methods for specific operations.

The Payments Reseller Subscription API enables a wholesale business-to-business platform for Google subscription products (such as Stadia, Nest, Google One), where third parties could resell these products to their customers. This API is used to activate and manage the Google subscriptions.

Service: paymentsresellersubscription.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://paymentsresellersubscription.googleapis.com

REST Resource: v1.partners.products

Methods
list GET /v1/{parent=partners/*}/products
Currently, it doesn't support YouTube products.

REST Resource: v1.partners.promotions

Methods
findEligible POST /v1/{parent=partners/*}/promotions:findEligible
Currently, it is only enabeld for YouTube.
list GET /v1/{parent=partners/*}/promotions
Currently, it doesn't support YouTube promotions.

REST Resource: v1.partners.purchaseorders

Methods
authorizeCharge POST /v1/{parent=partners/*}/purchaseorders:authorizeCharge
Currently, it is used by only YouTube partners.

REST Resource: v1.partners.subscriptions

Methods
authorizeAddon POST /v1/{name=partners/*/subscriptions/*}:authorizeAddon
Currently, it is used by only YouTube partners.
authorizeSignup POST /v1/{parent=partners/*}/subscriptions:authorizeSignup
Currently, this API is not yet enabled.
cancel POST /v1/{name=partners/*/subscriptions/*}:cancel
Cancels a subscription service either immediately or by the end of the current billing cycle for their customers.
create POST /v1/{parent=partners/*}/subscriptions
Used by partners to create a subscription for their customers.
entitle POST /v1/{name=partners/*/subscriptions/*}:entitle
Entitles a previously provisioned subscription to the current end user.
extend POST /v1/{name=partners/*/subscriptions/*}:extend
[Opt-in only] Most partners should be on auto-extend by default.
get GET /v1/{name=partners/*/subscriptions/*}
Gets a subscription by id.
provision POST /v1/{parent=partners/*}/subscriptions:provision
Used by partners to provision a subscription for their customers.
resume POST /v1/{name=partners/*/subscriptions/*}:resume
Resumes a suspended subscription.
suspend POST /v1/{name=partners/*/subscriptions/*}:suspend
Suspends a subscription.
undoCancel POST /v1/{name=partners/*/subscriptions/*}:undoCancel
Currently, it is used by Google One, Play Pass partners.

REST Resource: v1.partners.subscriptions.lineItems

Methods
patch PATCH /v1/{lineItem.name=partners/*/subscriptions/*/lineItems/*}
Updates a line item of a subscription.

REST Resource: v1.partners.userSessions

Methods
generate POST /v1/{parent=partners/*}/userSessions:generate
This API replaces user authorized OAuth consent based APIs (Create, Entitle).