Organization API: Billing & Payouts: Stats
The 1 Organization API operations for stats.
Part of Billing & Payouts.
Operations
Section titled Operations| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/orgs/{org_slug}/stats/revenue |
The same figures the admin console shows for this organization |
The same figures the admin console shows for this organization
Section titled The same figures the admin console shows for this organizationGET /api/v1/orgs/{org_slug}/stats/revenue
The same figures the admin console shows for this organization.
total_revenue is what the gateways took net of refunds, from the
ledger, not the sum of paid invoices: wallet credit and invoices marked
paid by staff settle an invoice without anyone being charged.
outstanding_amount adds up open invoice totals across currencies and
stays for older clients; outstanding_by_currency is the balance still
owed, one row per currency.
Parameters
Section titled Parameters| Name | In | Type | Required |
|---|---|---|---|
org_slug |
path | string | yes |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |