Skip to content

Dashboard Charts

Daily time series for a dashboard metric: completed-payment revenue per day, or licenses created per day.

GET /v1/dashboard/charts/revenue
GET /v1/dashboard/charts/licenses

Query Parameters

ParameterDefaultDescription
days30Window length in days.

Response

json
{
  "data": [
    { "date": "2026-06-10", "value": 240.00 },
    { "date": "2026-06-11", "value": 99.00 }
  ]
}
FieldDescription
dateDay, YYYY-MM-DD.
valueRevenue (revenue chart) or license-creation count (licenses chart). Days with no activity are omitted.

Example

bash
curl -X GET "https://api.packedge.dev/v1/dashboard/charts/revenue?days=90" \
  -H "Authorization: Bearer pk_your_api_key"