Stay organized with collections
Save and categorize content based on your preferences.
Overview
To streamline the user experience, we offer a unified user interface (UI) that allows users to log in to their Google Accounts and complete subscription creation or entitlement processes. Unlike OAuth consent, which requires you to manage the user journeys yourself, the Google-managed signup integration simplifies the process.
Furthermore, we've tailored the user experience for various Google products, making it action-oriented, and engaging for users.
Please note the following caveats when generating the user session:
A user session token should be generated dynamically for an authenticated user. You should refrain from sharing a token directly with a user in an unauthenticated context, such as SMS, or email.
You can re-generate new session tokens repeatedly for same generate request if necessary, regardless of the previous tokens being expired or not. You don't need to worry about multiple sessions resulting in duplicate fulfillments as guaranteed by the same subscription id.
Upon the user successfully activating the subscription with Google, we will notify your system via subscription Pub/Sub notifications, where you should see the subscription resource have endUserEntitled = true.
[null,null,["Last updated 2025-05-16 UTC."],[[["\u003cp\u003eGoogle provides a unified user interface (UI) that streamlines the subscription and entitlement process by enabling users to utilize their Google accounts for seamless completion.\u003c/p\u003e\n"],["\u003cp\u003eThis integrated approach simplifies user journeys by handling the complexities of user management and providing a tailored, context-aware experience that enhances user engagement.\u003c/p\u003e\n"],["\u003cp\u003ePartners need to generate a dynamic, short-lived user session token for authenticated users to initiate the activation process through the provided endpoints.\u003c/p\u003e\n"],["\u003cp\u003eGoogle utilizes Pub/Sub notifications to inform partner systems about successful subscription activations, enabling them to track the status and manage user entitlements.\u003c/p\u003e\n"],["\u003cp\u003eThis flow is currently in limited preview, and interested partners should consult their integration teams for availability and further guidance.\u003c/p\u003e\n"]]],["Users can log into Google accounts via a unified UI to complete subscriptions or entitlements. A short-lived user session token is required, generated dynamically for each authenticated user, and can be re-generated repeatedly. This token directs users to the Google Activation UI, with specific endpoints for creating or entitling subscriptions. Successful activation triggers Pub/Sub notifications indicating the subscription's `endUserEntitled` status.\n"],null,["# Google Managed Signup\n\n\u003cbr /\u003e\n\nOverview\n--------\n\nTo streamline the user experience, we offer a unified user interface (UI) that allows users to log in to their Google Accounts and complete subscription creation or entitlement processes. Unlike OAuth consent, which requires you to manage the user journeys yourself, the Google-managed signup integration simplifies the process.\n\nFurthermore, we've tailored the user experience for various Google products, making it action-oriented, and engaging for users.\n\n\u003cbr /\u003e\n\n| This flow is live for Google One, and in limited preview for YouTube. Please consult with your integration team to learn more about the availability.\n\n\u003cbr /\u003e\n\n### Generate a User Session\n\nTo guide the user to the activation UI, you'll need to create a short-lived [user session](/payments/reseller/subscription/reference/rest/v1/partners.userSessions). The intent parameters in the request matches exactly a [partners.subscriptions.create](/payments/reseller/subscription/reference/rest/v1/partners.subscriptions/create) request, or a [partners.subscriptions.entitle](/payments/reseller/subscription/reference/rest/v1/partners.subscriptions/entitle) request.\n\nPlease note the following caveats when generating the user session:\n\n- A user session token should be generated dynamically for an authenticated user. You should refrain from sharing a token directly with a user in an unauthenticated context, such as SMS, or email.\n- You can re-generate new session tokens repeatedly for same generate request if necessary, regardless of the previous tokens being expired or not. You don't need to worry about multiple sessions resulting in duplicate fulfillments as guaranteed by the same subscription id.\n\n### Redirect to Google Activation UI\n\n\u003cbr /\u003e\n\n| Do not load the UI in a WebView from your app.\n| Always open the web page in a standalone browser, or an [Android Custom tab](https://developer.chrome.com/docs/android/custom-tabs).\n\n\u003cbr /\u003e\n\nSandbox endpoints:\n\n- Create Intent: \u003chttps://serviceactivation.sandbox.google.com/subscription/new/$user_session_token\u003e\n- Entitle Intent: \u003chttps://serviceactivation.sandbox.google.com/subscription/entitle/$user_session_token\u003e\n\nProduction endpoints:\n\n- Create Intent: \u003chttps://serviceactivation.google.com/subscription/new/$user_session_token\u003e\n- Entitle Intent: \u003chttps://serviceactivation.google.com/subscription/entitle/$user_session_token\u003e\n\n### Listen to Pub/Sub notifications\n\nUpon the user successfully activating the subscription with Google, we will notify your system via subscription Pub/Sub notifications, where you should see the subscription resource have `endUserEntitled = true`."]]