Revenue
get_revenueGross, refunds, fees and net revenue with charge counts and the change against the previous window, in the site's reporting currency. show daily gives net revenue per day; show transactions lists the latest charges, refunds and disputes (a paid plan feature). Needs a connected payment provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, inclusive, YYYY-MM-DD; default today | |
| from | No | First day, YYYY-MM-DD; overrides period | |
| show | No | summary | |
| limit | No | Transactions to list, at most 100 | |
| period | No | Window ending now; days are whole days in the timezone. Ignored when from is set. | 30d |
| site_id | Yes | site_id from list_sites; a site name, slug or domain also resolves | |
| timezone | No | IANA zone for day boundaries; default the user's |