list_payments
List payments with optional date range filters and field selection to minimize response size.
Instructions
List all payments with optional filters for date range. Supports field filtering to reduce response size. NOTE: this endpoint is filtered to the ACTIVE fiscal year, so payments made in a prior year do NOT appear here even if they are linked to documents. For cross-year payment audits, read a document's payments via get_document_payments (the document paymentsDetail).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (optional) | |
| limit | No | Maximum number of items to return (default: 50, max: 500) | |
| endtmp | No | Ending timestamp (Unix timestamp) for filtering payments by date | |
| fields | No | Select specific fields to return (e.g., ["id", "name", "days", "discount"]). Reduces response size by 70-90%. If not provided, returns default fields: id, name, days, discount | |
| summary | No | Return only count and pagination metadata without items (default: false) | |
| starttmp | No | Starting timestamp (Unix timestamp) for filtering payments by date |