Get Product Purchase V2
get_product_purchase_v2Retrieve the status of an in-app product purchase using only the purchase token. Returns line items and acknowledgement state without requiring a product ID.
Instructions
Get the status of an in-app product purchase using the v2 API.
Unlike get_product_purchase, this identifies the purchase by token alone (no product ID) and returns line items and acknowledgement state.
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": "get_product_purchase_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | App package name | |
| purchase_token | Yes | The purchase token from the client app |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||