List transactions
list_transactionsRetrieves Pirate Ship balance transactions—label purchases, payments, refunds, and carrier adjustments—with filters for date range, type, and search, plus sorting and pagination.
Instructions
Every charge, payment and refund on the Pirate Ship balance, newest first.
The Reports, Transaction History table: each label purchase, payment, refund and carrier adjustment with its amount in US dollars (negative takes from the balance) and the balance after it. from_date and to_date narrow by day, type by the table's transaction types, search works like its search box.
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 |
|---|---|---|---|
| sort | No | Order by date. | newest |
| type | No | Transaction types as the table shows them, e.g. Label, Payment, Refund. | |
| limit | No | Rows per page, 1 to 100. | |
| offset | No | Rows to skip: the next page starts at offset + limit while it is below total. | |
| search | No | Free text, as in the report's search box. | |
| to_date | No | Last day, YYYY-MM-DD, included. | |
| from_date | No | First day, YYYY-MM-DD, in your timezone. |