partners
POST /v1/partners/{partnersId}/subscriptions
Used by partners to create a subscription for their customers. The created subscription is associated with the end user inferred from the end user credentials. This API must be authorized by the end user using OAuth.
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
Query parameters
subscriptionIdstring
Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII characters at the maximum. If a subscription with the same ID already exists, the creation fails with an ALREADY_EXISTS error.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 4 revisions of this API.