Menu
Platform
AI
App store purchases
Credits
Database
Flags
Generated Assets
Localization
Monitoring
Notifications
Payments
- Checkout policies
- Checkout sessions
- Customer subscriptions
- Entitlement grants
- Exchange rates
- Licence keys
- Licence tokens
- Merchant accounts
- Portal sessions
- Price catalogs
- Revenue
- Revenue facts
- Revenue sources
- Tax threshold statuses
- Usage events
- Usage invoices
- Usage meter prices
- Usage meters
- Usage reservations
- Usage settings
- Usage tiers
Sandboxes
Webhooks
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
On this page
sylphx money revenue
Every sylphx money revenue command: its argument, its flags and a run line.
The revenue commands of Sylphx Money, as the CLI spells them: the same
calls as the revenue API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
#summary
Gets the org's revenue over a period: totals by day or month, split by source or product, gross or net, in one reporting currency, with the basis of each bucket, the sources that report late, and what has no rate yet. Reads only the daily roll-up, bounded by a 5 second statement timeout. For example sylphx money revenue summary --period mtd --split source.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx money revenue summary orgs/acme/revenueGET https://api.sylphx.com/v1/orgs/acme/revenue · scope revenue:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--period | string | today, mtd (month to date, the default), month (with month), or range (with start_day and end_day). Days are UTC. |
--month | string | The month of a month period, YYYY-MM. |
--start-day | string | The first day of a range, YYYY-MM-DD. |
--end-day | string | The last day of a range, inclusive; at most 400 days after the first. |
--group-by | string | day (the default) or month. |
--by | string | none (the default), source or product. |
--amount | string | net (the default) or gross. |
--currency | string | The reporting currency, ISO 4217; default USD. |