Developer
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/json
statusstring
Example: success
dataarray [object]
datestring (date)
Example: 2024-01-01
revenuenumber (float)
Example: 145.9
gross_revenuenumber (float)
Example: 145.9