Billing
Get the Stripe net revenue time series
Returns Stripe net revenue over time (admin only), bucketed by UTC day, week or month using bucket. Narrow with from (inclusive) and to (exclusive) in RFC 3339, currency and attribution_model (first_touch_v1 or last_touch_v1). Each point has net, new-customer and renewal revenue, refunds, paid customers and paid invoices. Currencies are never merged.
get/admin/billing/analytics/revenue/timeseries
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/admin/billing/analytics/revenue/timeseries
- Auth: API key in header x-api-key
Query parameters
fromstring
Inclusive lower bound in RFC3339 format
tostring
Exclusive upper bound in RFC3339 format
attribution_model'first_touch_v1' | 'last_touch_v1'
Signup attribution model
currencystring
Lowercase ISO 4217 currency code
bucket'day' | 'week' | 'month'
UTC time bucket
Headers
x-api-keystring required
Admin API key required unless an Admin JWT is already present
Response
Revenue analytics time series
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.