list_transactions
Retrieve a list of transactions with optional filters by customer, invoice, status, type, date range, and gateway. Sort and paginate results for efficient transaction management.
Instructions
List transactions. GET /transactions. Optional: customerId, invoiceId, status (settled|authorized|declined|error|voided|requiresPaymentMethod|awaitingForSettlement|authorizeAndHold), type (sale|refund), dateFrom, dateTo, companyGatewayId, orderBy, sortBy, itemPerPage, pageNo.
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_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | No | Filter by customer ID | |
| invoiceId | No | Filter by invoice ID | |
| status | No | Filter by transaction status | |
| type | No | Filter by transaction type | |
| dateFrom | No | Filter by date from (YYYY-MM-DD) | |
| dateTo | No | Filter by date to (YYYY-MM-DD) | |
| companyGatewayId | No | Filter by company gateway ID | |
| orderBy | No | Sort column | |
| sortBy | No | Sort direction | |
| itemPerPage | No | Items per page | |
| pageNo | No | Page number |