partners
POST /v1/partners/{partnersId}/userSessions:generate
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Issues a timed session token for the given user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for the same request if necessary, regardless of the previous tokens being expired or not. By default, the session token is valid for 1 hour.
Request
- Base URLhttps://paymentsresellersubscription.googleapis.com
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/sdm.serviceAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/sdm.service
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
partnersIdstring required
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 4 revisions of this API.