get_organization_earnings
Gym earnings statement for a period: total, per-coach totals, and each payment with who sold it and who coaches that client now, plus the payout mode. Amounts are in the smallest currency unit. Payouts are settled outside the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| organizationId | Yes |