purchases_subscriptions_v2_get
Retrieve the full state of a subscription purchase using package name and purchase token, including offer phase, order ID, price change state, and consent details.
Instructions
Get full state of a subscription purchase (SubscriptionPurchaseV2). Includes OfferPhase (2026), outOfAppPurchaseContext, latestSuccessfulOrderId, priceChangeState, priceStepUpConsentDetails.
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_get"
}
}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 |