List transactions
list_transactionsRetrieve and filter Pirate Ship balance transactions—label purchases, payments, refunds, and adjustments—by date, type, or search, with newest first.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | newest | |
| type | No | Transaction types as the table shows them, e.g. Label, Payment, Refund. | |
| limit | No | ||
| offset | No | ||
| 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. |