GET
/statistics/transactions/revenue
Get gross revenue by day
Statistics
Description
Retrieve daily gross revenue for your merchant business.
Gross revenue is the accepted basket value before affiliate commissions.
Parameters
merchant_id
integer
query
required
The merchant ID to get gross revenue statistics for.
start_date
string
query
Start date for the statistics range (ISO 8601 format). Defaults to 30 days ago.
end_date
string
query
End date for the statistics range (ISO 8601 format). Defaults to current time.
reward_status
string
query
Filter transactions by reward status. When omitted, all reward statuses are included.
product_id
integer
query
Filter revenue to transactions attributed to one product.
Responses
200
Successful response with daily gross revenue
application/jsonstatusstring
Example:
successdataarray [object]
datestring (date)
Example:
2024-01-01revenuenumber (float)
Example:
145.9gross_revenuenumber (float)
Example:
145.9