AI-generated Key Takeaways
-
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.
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 |
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 ( |
Fields | |
---|---|
subscription |
The updated subscription resource. |