Skip to content

Get Revenue Chart

GET
/api/Dashboard/revenue
curl --request GET \
--url https://example.com/api/Dashboard/revenue \
--header 'Authorization: Bearer <token>'

Returns daily approved-transaction totals for the trailing window. Used to draw the revenue-growth bar chart on the dashboard. Defaults to 7 days; max 90.

GET /api/dashboard/revenue?merchantId=...&days=7
MerchantId
string format: uuid
Days
integer format: int32
From
string format: date
To
string format: date

Daily revenue points.

Media type application/json
object
currency
string
nullable
points
Array<object>
nullable
object
date
string format: date
amount
number format: double
Example generated
{
"currency": "example",
"points": [
{
"date": "2026-04-15",
"amount": 1
}
]
}