List active subscriptions for the account, each with any change scheduled for the end of its billing period.
GET
/billing/subscriptions
const url = 'https://api.siteqwality.com/billing/subscriptions';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://api.siteqwality.com/billing/subscriptions \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Active subscriptions
Media type application/json
object
subscriptions
required
Array<object>
object
id
required
string
pack_id
required
string
quantity
required
integer format: int32
status
required
string
billing_interval
required
string
billing_cycle_start
required
string format: date-time
billing_cycle_end
required
string format: date-time
stripe_subscription_id
string | null
complimentary
required
True when this plan is covered by the account’s complimentary grant: Stripe bills it at $0, so the UI shows the list price struck through.
boolean
scheduled_change
One of:
null
A downgrade (or removal) Stripe will apply at the end of the current
billing period, or null when nothing is scheduled.
object
pack_id
The pack it changes to, or null when the product returns to its
free tier.
string | null
billing_interval
"month" or "year" when pack_id is set.
string | null
effective_at
required
string format: date-time
Example generated
{ "subscriptions": [ { "id": "example", "pack_id": "example", "quantity": 1, "status": "example", "billing_interval": "example", "billing_cycle_start": "2026-04-15T12:00:00Z", "billing_cycle_end": "2026-04-15T12:00:00Z", "stripe_subscription_id": "example", "complimentary": true, "scheduled_change": { "pack_id": "example", "billing_interval": "example", "effective_at": "2026-04-15T12:00:00Z" } } ], "complimentary": { "products": [ "example" ], "granted_at": "2026-04-15T12:00:00Z", "ends_at": "2026-04-15T12:00:00Z" }}Missing or invalid authentication
Internal server error