quotastack Docs

Concepts

How credits, entitlements, metering, reservations and the rest work under the hood. Every page ships a .md twin for your agent.

Credits

How QuotaStack stores, grants, debits, and tracks credits using millicredits, credit blocks, and an append-only ledger.

Read →

Entitlement Management

Entitlement management for usage-based products — check whether a customer can perform an action with sub-millisecond, cached checks on the hot path.

Read →

Metering

How to define billable metrics, configure metering rules with flat/per-unit/tiered pricing, and record usage events that debit credits.

Read →

Reservations

How to hold credits during long-running operations using the reserve/commit/release lifecycle, with TTL-based auto-expiry and concurrency safety.

Read →

Topups and Wallets

How to grant credits after payment, model wallets and credit packs, configure topup packages, and control burn order with priority.

Read →

Subscriptions

Optional recurring billing state management with prepaid and postpaid modes, credit grants on renewal, rollover, and contract lifecycle.

Read →

Idempotency

How QuotaStack prevents duplicate operations using the Idempotency-Key header, server-side locks, and deterministic key conventions.

Read →

Webhooks

Event delivery from QuotaStack to your application, with HMAC-SHA256 signing, retry schedule, and event catalog.

Read →

Customer Identification

Two identifier types and two URL forms for customers — when to use each, and how to avoid mixing them.

Read →

API Conventions

Environments, authentication, rate limits, pagination, error format, and retention — the cross-cutting details every integration needs.

Read →

Plan-Variant Entitlements

How to attach billable metrics to plan variants with type-shaped values, giving each tier different feature access, caps, and configurations.

Read →