Method: partners.subscriptions.undoCancel
Stay organized with collections
Save and categorize content based on your preferences.
Currently, it is used by Google One, Play Pass partners.
Revokes the pending cancellation of a subscription, which is currently in STATE_CANCEL_AT_END_OF_CYCLE
state. If the subscription is already cancelled, the request will fail.
It should be called directly by the partner using service accounts.
HTTP request
POST https://paymentsresellersubscription.googleapis.com/v1/{name=partners/*/subscriptions/*}:undoCancel
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the subscription resource whose pending cancellation needs to be undone. It will have the format of "partners/{partner_id}/subscriptions/{subscriptionId}"
|
Request body
The request body must be empty.
Response body
Response that contains the updated subscription resource.
If successful, the response body contains data with the following structure:
JSON representation |
{
"subscription": {
object (Subscription )
}
} |
Fields |
subscription |
object (Subscription )
The updated subscription resource.
|
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-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-12 UTC."],[[["This API revokes a subscription's pending cancellation, applicable only to subscriptions in the `STATE_CANCEL_AT_END_OF_CYCLE` state and excluding YouTube subscriptions."],["It must be called directly by the partner using service accounts and requires an empty request body."],["The API utilizes a `POST` request to a specific endpoint with the subscription's name as a path parameter."],["A successful response returns the updated subscription resource in JSON format."]]],["This API revokes a pending subscription cancellation in the `STATE_CANCEL_AT_END_OF_CYCLE` state, excluding YouTube subscriptions. Partners use service accounts to call this API directly. The `POST` request, with the subscription's `name` in the URL, is sent to `https://paymentsresellersubscription.googleapis.com/v1/{name=partners/*/subscriptions/*}:undoCancel`. The request body must be empty. A successful response returns an updated subscription resource in JSON format. If the subscription is already canceled, the request will fail.\n"]]