Skip to content

Collected revenue over time

GET
/v1/revenue/series

Paid-invoice revenue per bucket, per currency, with empty buckets filled with zero. Up to 90 days is daily, up to a year is ISO weeks, beyond that monthly. A range longer than the plan’s history is shortened and clamped_to_plan is true. Amounts are in the smallest currency unit, reported per currency, and never converted or added together. Every response includes sync (status, last_synced_at, livemode): backfilling means the first import is still running, revoked or error means the numbers are as of the last successful sync.

Auth: Secret key only. Indie or Builder.

range
string
default: 30d
Allowed values: 30d 90d 12m all

Revenue series

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties

Error envelope. See error.code for the discriminator.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties

STRIPE_NOT_CONNECTED: connect Stripe in the dashboard first.

object
data
required
null
error
required
object
code
required
string
message
required
string
remediation
required
string
doc_url
string format: uri
param
string
request_id
string
meta
object
key
additional properties