{"repo":"rameerez/usage_credits","free":true,"listed":false,"github":"https://github.com/rameerez/usage_credits","clone":"git clone https://github.com/rameerez/usage_credits.git","description":"💳✨ Add usage-based credits to your Rails app","language":"Ruby","stars":165,"topics":["billing","braintree","business","credit","credits","gem","lemonsqueezy","payments","paypal","rails"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"💳✨ usage credits - Add usage-based credits to your Rails app [!TIP] 🚀 Ship your next Rails app 10x faster! I've built RailsFast , a production-ready Rails boilerplate template that comes with everything you need to launch a software business in days, not weeks. Go check it out! usage credits allows your users to have in-app credits / tokens they can use to perform operations. ✨ Perfect for SaaS, AI apps, games, API products, and marketplace wallets that want to implement usage-based pricing or track money-like balances. Not just for credits! While the gem is called \"usage credits\", it's built on a production-grade double-entry ledger with row-level locking, FIFO allocation, and full audit trails. You can use it for marketplace seller balances, in-app wallets, reward points, or any system that needs to track money-like assets with proper accounting. See the \"Beyond credits\" section for examples. 🟢 [Live interactive demo website ] 🎥 [Quick video overview ] Refill user credits with Stripe subscriptions, allow your users to top up by purchasing booster credit packs at any time, rollover unused credits to the next billing period, expire credits, implement PAYG (pay-as-you-go) billing, award free credits as bonuses (for referrals, giving feedback, etc.), get a detailed history and audit trail of every transaction for billing / reporting, and more! All with a simple DSL that reads just like English. Requirements - An ActiveJob backend (Sidekiq, solid queue , etc.) for subscripti","default_branch":null,"files":null,"tree":[],"storefront":"/r/rameerez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rameerez/usage_credits/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}