List payments
teachworks_list_paymentsRead-only
List customer payments (amount, method, date, refunds, invoice allocations). Filter by customer and date range. GET /payments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default 1). | |
| date_to | No | Payment date on or before. | |
| per_page | No | Records per page (default 20, max 50). | |
| date_from | No | Payment date on or after. | |
| direction | No | Sort by id ascending (default) or descending (newest first). | |
| customer_id | No | Only payments of this customer. |