Skip to main content
Glama

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
NameRequiredDescriptionDefault
pageNo
per_pageNo

Implementation Reference

  • 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"])

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlexlaGuardia/MCP-Freshbooks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server