List payments
lw_payment_listList account payments for reconciliation, including ID, date, remaining balance, bill ID, closed and receipt flags; void payments are hidden unless include_void is true.
Instructions
List payments applied to the account (bleed Billing/Payment/list) for reconciliation: id, created date, remaining balance on the payment, bill id, closed and receipt flags. Void payments are hidden unless include_void=true. Payment source and card details are always removed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lw_payment_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort direction (default desc). | |
| extra | No | Advanced: extra API params passed through as-is. Typed params win on conflict. Check lw_api_path_details first. | |
| context | No | Auth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them. | |
| verbose | No | Return raw API objects instead of the compact summary. | |
| order_by | No | Sort field (default created_date). | |
| max_items | No | Return at most this many items (default LW_MAX_ITEMS, 500). When more remain, the result says truncated and gives next_page if the cut fell on a 100-item page boundary; otherwise raise max_items. | |
| start_page | No | Resume from this page (use next_page from a previous call). | |
| include_void | No | Include void payments (API default hides them). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | Yes | ||
| context | No | ||
| preview | No | ||
| summary | Yes | ||
| warnings | No | ||
| next_page | No | ||
| next_step | No | ||
| truncated | No | ||
| expires_at | No | ||
| confirm_token | No |