Get Product Purchase
get_product_purchaseRetrieve the purchase status of an in-app product using package name, product ID, and purchase token to verify transactions.
Instructions
Get the status of an in-app product 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>",
"product_id": "<product_id>",
"purchase_token": "<purchase_token>"
},
"name": "get_product_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | In-app product SKU | |
| package_name | Yes | App package name | |
| purchase_token | Yes | The purchase token from the client app |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||