list_payments
Retrieve payment records from FreshBooks to track transactions, monitor cash flow, and manage financial data for accounting purposes.
Instructions
List all payments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| per_page | No |
Implementation Reference
- src/mcp_freshbooks/server.py:320-326 (handler)The implementation of the list_payments MCP tool which fetches a list of payments via the Freshbooks client and returns a summarized string.
async def list_payments( page: int = 1, per_page: int = 25, ) -> str: """List all payments.""" result = await client.accounting_list("payments/payments", page, per_page) return _summarize_list(result, "payments", ["id", "invoiceid", "amount", "date", "type"])