merit_get_customer_payments_report
Retrieve customer payments report for a specified date range, with optional filters by customer and currency. Automatically handles pagination to deliver complete results.
Instructions
Customer payments report (POST /api/v2/getcustpaymrep). Paginated via HasMore/Id4More; this tool follows getmoredata automatically. periodStart/periodEnd required. Note the wire typo CurrncyCode.
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": {
"periodStart": "<periodStart>",
"periodEnd": "<periodEnd>"
},
"name": "merit_get_customer_payments_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periodEnd | Yes | Period end (YYYY-MM-DD, required) | |
| customerId | No | Customer GUID (wire field CustId) | |
| periodStart | Yes | Period start (YYYY-MM-DD, required) | |
| currencyCode | No | Currency code (wire field CurrncyCode) | |
| customerName | No | Customer name (wire field CustName) |