Three steps from configuration to settlement. No custom billing code.
Set up rate plans with cash credits, bonus units, and waterfall priority. Choose PREPAID, HYBRID, or POSTPAID billing mode per offering.
When a customer subscribes, their wallet is created automatically and topped up with initial credits from the plan. Zero manual work.
At each billing cycle, the pipeline deducts from credits in priority order: promotional → bonus units → cash balance. Overages go to invoice.
Aforo Waterfall Settlement: Automatically prioritizing promo burn before cash depletion.
Nine capabilities. Three stakeholders. One platform.
Prepaid credits are liabilities, not revenue. Aforo's immutable ledger tracks every burn and breakage (expiration) with exact timestamps, giving your CFO journal-entry-ready data for audit season.
Track credit utilization, wallet balances, waterfall allocation breakdowns. Dashboard KPIs for your finance team.
Stop manually writing scripts to deduct free tokens before cash. Configure strict burn orders (Promo → Bonus → Cash) and let the settlement pipeline handle the math.
Launch "10,000 free tokens expiring in 14 days" campaigns without filing a Jira ticket. Product teams can structure complex promotional mechanics entirely through configuration.
PREPAID, POSTPAID, or HYBRID per offering. Wallet covers what it can, overage goes to invoice automatically.
Per-unit, flat rate, tiered, graduated, included quota with block pricing, percentage. All work with credits.
When an AI agent makes 50 concurrent API calls, homegrown wallets break. Aforo uses pessimistic DB locking to reserve funds before processing, guaranteeing you never give away free compute.
curl -X POST https://api.aforo.io/v1/wallets/debit \
-H "Authorization: Bearer sk_live_..." \
-d '{
"customer_id": "cust_8923",
"amount": 50,
"strategy": "WATERFALL",
"idempotency_key": "req_9982"
}'Per-customer wallets with real-time balance tracking. Auto-provisioned on subscription, manual top-up, auto-refill.
Unit wallets track per-metric quotas (API calls, tokens, sessions). Each with independent balance, expiry, and rollover.
From API metering to LLM token burn — every billing pattern, handled.
Get ASC 606 compliance, pessimistic locking, and real-time waterfall deduction out of the box. Start testing in your sandbox today.
Credits billing is one piece. Explore the full platform.
Turn every API call into a revenue event. Gateway metering, rate limiting, and tiered pricing for developer platforms.
Meter LLM tokens, agent sessions, and tool invocations. Built for the scale and concurrency of AI-native products.
Six pricing models, rate plan versioning, M:N metric configs. The calculation layer behind every invoice.
10-stage settlement pipeline — from quota check to tax routing. Handles prepaid, postpaid, and hybrid in one flow.