stripe

Get Company Earnings

Sales per UTC day over a trailing 7- or 30-day window.

Feeds the Money hero's sparkline and week total. Distinct from /stripe/revenue (an all-time scalar) and from the transactions list (capped, so it cannot be summed into a trustworthy total).

Returns no previous-window figure — see EarningsSeriesResponse for why the obvious definition of one is time-of-day biased.

get/companies/{company_id}/earnings

Request

  • Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
  • URL: https://api.nanocorp.so/companies/{company_id}/earnings
  • Auth: HTTP bearer

Path parameters

company_idstring uuid required

Query parameters

window'7d' | '30d'

Response

Successful Response

window'7d' | '30d' required
total_centsinteger required
payment_countinteger required

Changes

No recorded changes to this operation across all 39 revisions of this API.