Skip to main content
GET
cURL

Query Parameters

since
string<date-time>

Start of the period, inclusive. Defaults to thirty days before until.

until
string<date-time>

End of the period, exclusive. Defaults to now.

timezone
string
default:UTC

The zone the day boundaries are computed in. "Sales on the third" means the operator's third, and a report bucketed in UTC puts an evening sale several hours east on the wrong day.

currency
string

ISO currency to restrict the report to. Omit for every currency.

Response

Sales report

since
string<date-time>
required
until
string<date-time>
required
timezone
string
required
byOperation
object[]
required
byPlan
object[]
required
byDay
object[]
required
refunds
object[]
required
trials
object
required
generatedAt
string<date-time>
required
currency
string