v2
latestOpenAPI 3.0.02026-08-0688139156.5 KBBilling
List subscriptions and licenses
Returns licensed service instances for the authenticated account, newest first. Each item has quantity one and can be grouped by SKU to calculate license counts.
get/v1/billing/subscription
Query parameters
offsetinteger
Starting index for pagination
limitinteger
Number of items to return for pagination
Response
OK
Example response
{
"data": [
{
"currency": "usd",
"device_id": "d_0123456789ab",
"fto": {
"applied_months": 7,
"required_months": 36
},
"quantity": 1,
"sku": "sm_p0000z1s1cr1",
"subscription_id": "si_0123456789ab",
"unit_amount": 5000
}
],
"pagination": {
"next_offset": 10
}
}