Get Net Revenue

Retrieve the authenticated account's net revenue for a date window, its time series, and the comparison against the preceding window of equal length. Livemode is derived from the authenticating secret key, so a test key returns test-mode figures. Returns 204 when the window has no activity.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Start of the window, YYYY-MM-DD

string
required

End of the window, YYYY-MM-DD

string
enum
required

Granularity of the time series

Allowed:
string
enum

Compare against the preceding window

Allowed:
Responses

204

No analytics data for the window

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json