Revoke Subscription Purchase
revoke_subscription_purchaseRevoke a subscription purchase to issue a full or prorated refund using the package name and purchase token. This action reverses the transaction and restores the user's payment.
Instructions
Revoke (refund) a subscription purchase.
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": {
"package_name": "<package_name>",
"purchase_token": "<purchase_token>"
},
"name": "revoke_subscription_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| refund_type | No | "full" or "prorated" (default: full) | full |
| package_name | Yes | App package name | |
| purchase_token | Yes | The purchase token from the client app | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||