How to add rollover logic to a metered feature
Current status of rollover behavior.
Portcall stores a rollover field on plan features, but rollover carry-over behavior is not exposed as a configurable public v1 API workflow yet.
What to do today
- Use quota + interval as the primary control.
- Evaluate remaining balance via entitlement reads.
- If you need custom rollover now, apply it in your own app logic and write usage through meter events.
Suggested pattern
- Read entitlement near period boundary.
- Compute carry-over amount in your app.
- Apply your policy in next-cycle usage or credits logic.
For most integrations, monthly reset + explicit quotas is the cleanest starting point.