list_voided_purchases
Lists cancelled, refunded, or charged-back purchases from the last 30 days, including order IDs and void reasons; optionally includes subscriptions and partial refunds.
Instructions
List purchases that were cancelled, refunded or charged back in the last 30 days. Each has orderId, purchaseToken, purchaseTimeMillis, voidedTimeMillis, voidedSource (0 user, 1 developer, 2 Google) and voidedReason (0 other, 1 remorse, 2 not received, 3 defective, 4 accidental purchase, 5 fraud, 6 friendly fraud, 7 chargeback, 8 unacknowledged purchase). By default only one-time product purchases are returned: pass include_subscriptions for subscriptions too. Returns tokenPagination.nextPageToken when there are more; pass it as token. Feed the orderIds to get_orders for details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_voided_purchases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | tokenPagination.nextPageToken from a previous call, to fetch the next page | |
| end_time | No | Newest voided time to include, in milliseconds since the Unix epoch (default: now) | |
| start_time | No | Oldest voided time to include, in milliseconds since the Unix epoch, e.g. '1764115200000'. At most 30 days back (the default). | |
| max_results | No | Max results per page | |
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) | |
| include_subscriptions | No | Also return voided subscription purchases, not only one-time products | |
| include_quantity_based_partial_refund | No | Also return partial refunds of multi-quantity purchases, with their voidedQuantity |