Lago

Platform

Open-source metering and billing engine for usage-based and hybrid pricing

Fiyat
Free, open source; Cloud by quote
Erişim
API key

Hakkında

Open-source billing platform that turns usage events into invoices for usage-based, subscription and hybrid pricing. Self-host the AGPL-3.0 code with Docker, or use Lago Cloud in the US or EU. Payments go through connected providers such as Stripe or Adyen.

Neler yapabilirsin

  • Ingest usage events and aggregate them into billable metrics
  • Price plans with usage, seats, prepaid credits, commitments and fixed fees
  • Generate invoices and show customers their current usage in real time

Başlarken

  1. Self-host with Docker Compose or sign up for Lago Cloud
  2. Create an API key
  3. Create a billable metric, a plan and a subscription

Örnek kod

curl -X POST https://api.getlago.com/api/v1/events \
  -H "Authorization: Bearer $LAGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"event": {"transaction_id": "txn_0001", "external_subscription_id": "sub_1234567890", "code": "api_calls", "properties": {"custom_field": 12}}}'

Ayrıntılar

Barındırma
Hazır hizmet (bulut), Kendi sunucunda
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
JavaScript/TypeScript, Python, Ruby, Go
MCP sunucusu
Yerel sunucu

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .