Statistics licenses monthly
This endpoint returns a breakdown of license data grouped by date, including totals for licenses created, active, expired, used, unused, and financial details such as total amount, refund, and postpaid billing.
Filters can be applied to narrow the result set by package, subscription type,
license type (e.g., Prepaid/Postpaid), and license status (e.g., Active, Inactive).
The id of the package.
The id of the subscription type.
This enum is used to check which type of delivery is used for the license.
This enum is used to map the status of License.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYThe request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
GET /api/v1/licenses/statistics/monthly HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"totalRemaining": 150,
"totalLimit": 500,
"totalLicenses": 350,
"days": [
{
"date": "2025-09-19",
"items": [
{
"packageId": "sApKpllz4sAplsmzha",
"subscriptionTypeId": "sApKpllz4sAplsmzha",
"totalLicenses": 50,
"totalAmount": 1500,
"currency": "USD",
"usedLicenses": 30,
"unusedLicenses": 20,
"totalNormalAmount": 1800,
"totalRefundAmount": 100,
"totalPostpaidAmount": 200,
"totalMailDeliveryAmount": 20,
"notStartedLicenses": 5,
"inactiveLicenses": 3,
"activeLicenses": 40,
"expiredLicenses": 2
}
]
}
]
},
"errors": []
}Last updated
Was this helpful?