get_payment_clients
Get per-client payment totals from provider-synced payment data.
Returns a summary (client count, matched/unmatched, average value, refunded total, churned count) and one row per paying client with gross, refunded and net values, payment counts, last payment date, products, providers, and the matched CRM lead with setter/closer when known.
Only available to Creator, Manager and Finance roles.
Args: time_period: Time period to query. Defaults to this_month. sort: One of name, -name, gross, -gross, refunded, -refunded, net, -net. search: Filter by client name, email, lead name or product. match: any | matched | unmatched (matched = linked to a CRM lead). limit: Max clients to return (default 20, 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_clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | -net | |
| limit | No | ||
| match | No | any | |
| search | No | ||
| time_period | No | this_month |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |