List payments
codat_list_paymentsList a company's payments received (money in against invoices) — id, customerRef, date, currency, totalAmount, lines/allocations. Codat API: GET /companies/{companyId}/data/payments. Returns the paged envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1). | |
| query | No | Codat query filter string, e.g. "status=Paid" or "modifiedDate>2026-01-01". See docs.codat.io/using-the-api/querying. | |
| orderBy | No | Field to order results by, e.g. "-modifiedDate" (leading "-" for descending). | |
| pageSize | No | Records per page (1-2000, default 100). | |
| companyId | Yes | The Codat companyId (UUID). |