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).
Query parameters
packageIdstringOptional
The id of the package.
subscriptionIdstringOptional
The id of the subscription type.
typestring · enumOptionalPossible values:
The type of the license.
statusstring · enumOptionalPossible values:
The status of the license.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-KeystringRequiredExample:
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
401
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
application/json
429
API call exceeded rate limit due to too many requests.
application/json
get
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-12",
"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?