GET
/api/Dashboard/revenue
const url = 'https://example.com/api/Dashboard/revenue';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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=7Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” MerchantId
string format: uuid
Days
integer format: int32
From
string format: date
To
string format: date
Responses
Section titled “ Responses ”Daily revenue points.
Media type application/json
object
currency
string
points
Array<object>
object
date
string format: date
amount
number format: double
Example generated
{ "currency": "example", "points": [ { "date": "2026-04-15", "amount": 1 } ]}