AutumnA
Autumn3mo ago
65 replies
jennmueng

hey! I'm going through integrating

hey! I'm going through integrating autumn rn,

I have a continuous use item published_projects that has 4 included free and paid onwards, and I call .usage to set the value of publushed projects at multiple given points throughout my app

as you can see in the screenshot I have usage being set to 6 in the events

however, the balance for the feature is listed as 0 (i'd kind of expect -2 or maybe a separate way to track overage of the included free allowance?)

but more importantly, my .check call for it returns
{
    "allowed": true,
    "feature_id": "published_projects",
    "customer_id": "org_31aqmkjSNSvIpaoc0CgOpq2nzxG",
    "required_balance": 1,
    "id": "published_projects",
    "type": "continuous_use",
    "name": "Published Projects",
    "interval": "lifetime",
    "interval_count": 1,
    "unlimited": false,
    "balance": 0,
    "usage": 4,
    "included_usage": 4,
    "next_reset_at": null,
    "overage_allowed": true
}

where usage is 4 instead of the expected 6?
CleanShot_2025-10-19_at_17.45.012x.png
Was this page helpful?