RubyGems Navigation menu

usage_credits 0.2.0

Add a usage-based credit system to your Rails app, easily. Let users buy and spend credits on usage-based actions. Refill Stripe subscriptions with credits, sell one-time booster credit packs, implement PAYG (pay-as-you-go) billing, award free credits as bonuses, manage prepaid credits / tokens. Your users will have wallet balances that they can spend on features, API calls, or other usage-based actions. Perfect for SaaS, AI apps, games, and API products with metered pricing / billing.

Gemfile:
=

install:
=

Versions:

  1. 0.4.0 January 16, 2026 (55 KB)
  2. 0.3.0 January 15, 2026 (53.5 KB)
  3. 0.2.1 January 15, 2026 (49.5 KB)
  4. 0.2.0 December 29, 2025 (48.5 KB)
  5. 0.1.1 February 14, 2025 (39 KB)
Show all versions (6 total)

Runtime Dependencies (2):

pay >= 8.3, < 12.0
rails >= 6.1

Development Dependencies (7):

bundler ~> 2.0
minitest ~> 5.0
rake ~> 13.0
rubocop ~> 1.0
sqlite3 ~> 2.1

Owners:

Pushed by:

Authors:

  • rameerez

SHA 256 checksum:

=

Total downloads 5,609

For this version 209

Version Released:

License:

MIT

Required Ruby Version: >= 3.1.0

New versions require MFA: true

Version published with MFA: true

Links: