List payments
merit_list_paymentsRead-only
List payments (customer and vendor receipts and payouts) of a period, with the documents they paid. The period may span at most 3 months (Merit limit); for longer spans make several calls. POST /api/v2/getpayments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank_id | No | Only this bank account (BankId from merit_list_banks). | |
| date_type | No | Which date the period filters: 0 = document date (default), 1 = date of last change. | |
| period_end | Yes | Last day of the period, yyyy-mm-dd (max 3 months after the start). | |
| max_results | No | Show at most this many rows (default 100, max 1000); the reply says how many there are in total. | |
| payment_type | No | Merit payment type filter (see merit_list_payment_types). | |
| period_start | Yes | First day of the period, yyyy-mm-dd. |