Payments Reseller Subscription API
Stay organized with collections
Save and categorize content based on your preferences.
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
The Service name paymentsresellersubscription.googleapis.com
is needed to create RPC client stubs.
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-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[[["\u003cp\u003eThe Payments Reseller Subscription API enables businesses to resell Google products like Stadia, Nest, and Google One to their customers.\u003c/p\u003e\n"],["\u003cp\u003eThis API allows for the activation and management of Google subscriptions, including creating, canceling, and extending them.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epaymentsresellersubscription.googleapis.com\u003c/code\u003e is the service name used to create RPC client stubs for interacting with the API.\u003c/p\u003e\n"],["\u003cp\u003ePartners can utilize various methods such as \u003ccode\u003eCreateSubscription\u003c/code\u003e, \u003ccode\u003eCancelSubscription\u003c/code\u003e, and \u003ccode\u003eListProducts\u003c/code\u003e to manage subscriptions and interact with Google's offerings.\u003c/p\u003e\n"],["\u003cp\u003eGoogle uses methods like \u003ccode\u003eAuthorizeSubscriptionSignup\u003c/code\u003e and \u003ccode\u003eAuthorizePurchaseOrderCharge\u003c/code\u003e to authorize transactions and ensure secure interactions between resellers and their customers.\u003c/p\u003e\n"]]],["The Payments Reseller Subscription API facilitates the resale of Google subscription products. Partners can use the API to create, provision, entitle, extend, and cancel subscriptions for their customers. They can also retrieve available products and promotions, and check eligibility for promotions. Google uses the API to authorize purchase order charges, subscription add-ons, and signups. `paymentsresellersubscription.googleapis.com` is needed for RPC client stubs. Partners can use user sessions instead of oauth for some actions.\n"],null,["# Payments Reseller Subscription API\n\nThe 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.\n\nService: paymentsresellersubscription.googleapis.com\n----------------------------------------------------\n\nThe Service name `paymentsresellersubscription.googleapis.com` is needed to create RPC client stubs.\n\n[google.cloud.payments.reseller.subscription.v1.PaymentsResellerOutboundService](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerOutboundService)\n-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|\n| [AuthorizePurchaseOrderCharge](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerOutboundService.AuthorizePurchaseOrderCharge) | Currently, it is used by only **YouTube** partners. |\n| [AuthorizeSubscriptionAddon](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerOutboundService.AuthorizeSubscriptionAddon) | Currently, it is used by only **YouTube** partners. |\n| [AuthorizeSubscriptionSignup](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerOutboundService.AuthorizeSubscriptionSignup) | Currently, this API is not yet enabled. |\n\n[google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService)\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| [CancelSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.CancelSubscription) | Cancels a subscription service either immediately or by the end of the current billing cycle for their customers. |\n| [CreateSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.CreateSubscription) | Used by partners to create a subscription for their customers. |\n| [EntitleSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.EntitleSubscription) | Entitles a previously provisioned subscription to the current end user. |\n| [ExtendSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.ExtendSubscription) | \\[Opt-in only\\] Most partners should be on auto-extend by default. |\n| [FindEligiblePromotions](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.FindEligiblePromotions) | Currently, it is only enabeld for **YouTube**. |\n| [GenerateUserSession](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.GenerateUserSession) | This API replaces user authorized OAuth consent based APIs (Create, Entitle). |\n| [GetSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.GetSubscription) | Gets a subscription by id. |\n| [ListProducts](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.ListProducts) | Currently, it doesn't support **YouTube** products. |\n| [ListPromotions](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.ListPromotions) | Currently, it doesn't support **YouTube** promotions. |\n| [ProvisionSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.ProvisionSubscription) | Used by partners to provision a subscription for their customers. |\n| [ResumeSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.ResumeSubscription) | Resumes a suspended subscription. |\n| [SuspendSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.SuspendSubscription) | Suspends a subscription. |\n| [UndoCancelSubscription](/payments/reseller/subscription/reference/rpc/google.cloud.payments.reseller.subscription.v1#google.cloud.payments.reseller.subscription.v1.PaymentsResellerSubscriptionService.UndoCancelSubscription) | Currently, it is used by **Google One, Play Pass** partners. |"]]