purchases_subscriptions_v2_revoke
Revoke a subscription to automatically refund the user and terminate their access. Optionally apply per-item refunds for granular control.
Instructions
Revoke a subscription (refund + terminate access). 2025-05 added itemBasedRefund option for per-item refunds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packageName": "<packageName>",
"token": "<token>"
},
"name": "purchases_subscriptions_v2_revoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Purchase token returned by the Play Billing library | |
| packageName | Yes | Android application package name, e.g. com.example.app | |
| revocationContext | No |