Acknowledge Subscription Purchase
acknowledge_subscription_purchaseAcknowledge subscription purchases to avoid automatic refund and revocation within three days.
Instructions
Acknowledge a subscription purchase.
Google automatically refunds and revokes any subscription purchase that is not acknowledged within three days, so this must run for every new 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>",
"subscription_id": "<subscription_id>",
"purchase_token": "<purchase_token>"
},
"name": "acknowledge_subscription_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | App package name (e.g., com.example.myapp) | |
| purchase_token | Yes | Purchase token from the client | |
| subscription_id | Yes | Subscription product ID | |
| developer_payload | No | Optional payload to store with the purchase |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||