GET
/api/Dashboard/summary
const url = 'https://example.com/api/Dashboard/summary';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/summary \ --header 'Authorization: Bearer <token>'Returns the KPI tiles shown at the top of the dashboard: monthly revenue, active members, processing amount, top product.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” MerchantId
string format: uuid
Responses
Section titled “ Responses ”Dashboard KPIs.
Media type application/json
object
monthlyRevenue
number format: double
activeMembers
integer format: int32
processingAmount
number format: double
topProductName
string
topProductSubscriberCount
integer format: int32
currency
string
Example generated
{ "monthlyRevenue": 1, "activeMembers": 1, "processingAmount": 1, "topProductName": "example", "topProductSubscriberCount": 1, "currency": "example"}