billing

Get Cycles

List billing cycles: the current one, then up to 12 historical ones.

The 12 historical cycles are the first 12 distinct periods found in Stripe's invoice-creation order (up to 500 invoices), sorted newest-first for display. That is not guaranteed to be the 12 most recent periods: a late-finalized or reissued invoice for a recent period can sit beyond the 12th distinct period and be omitted.

get/api/billing/{team_key}/cycles

Request

  • Base URL
    https://api.superit.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

team_keystring required

Response

Successful Response

cycleKeystring required
periodStartstring date-time required
periodEndstring date-time required
isCurrentboolean required
cycleSource'stripe' | 'calendar' required
pricing'per_flow' | 'credits' required

Changes

No recorded changes to this operation across all 1 revision of this API.