purchases
Deprecated: Use purchases.subscriptionsv2.cancel instead. Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support.
post/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel
Path parameters
packageNamestring required
The package name of the application for which this subscription was purchased (for example, 'com.some.thing').
subscriptionIdstring required
Note: Since May 21, 2025, subscription_id is not required, and not recommended for subscription with add-ons. The purchased subscription ID (for example, 'monthly001').
tokenstring required
The token provided to the user's device when the subscription was purchased.
Response
Successful response