get_payment_products
Get top products by kept revenue from provider-synced payment data.
Use this for "what sold the most", "top products", or "product breakdown"
questions -- do NOT eyeball get_payment_transactions for that. Returns the
top products (by kept revenue, each with count and share of revenue), a
rolled-up other_products line when there are more than limit, and a single
uncategorized bucket for charges the provider left unlabeled (mostly
one-off charges / payment links). Only kept charges count; failed, pending,
and fully refunded/disputed charges are excluded. Amounts are summed across
currencies without conversion; check the currencies field.
Only available to Creator, Manager and Finance roles.
Args: time_period: Time period to query. Defaults to this_month. limit: Max named products to list before rolling the rest into other_products (default 5, max 50).
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": "get_payment_products"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| time_period | No | this_month |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |