list-incoming-payments
Retrieve your Lightning incoming payments with filters by time, limit, offset, unpaid status, or external ID. Manage and review payment history programmatically.
Instructions
List the incoming payments
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": "list-incoming-payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | start timestamp in millis from epoch, default 0 | |
| to | No | end timestamp in millis from epoch, default now | |
| limit | No | number of payments in the page, default 20 | |
| offset | No | page offset, default 0 | |
| all | No | also return unpaid invoices | |
| externalId | No | external id of the bolt11 invoice |