{"data":{"slug":"pay-rails","name":"Pay","tagline":"MIT payments engine for Ruby on Rails","category":"payments","categoryName":"Payments","url":"https://github.com/pay-rails/pay","github":"https://github.com/pay-rails/pay","pricing":"open-source","hook":"Pay is a Rails engine that gives your models one billing API on top of Stripe, Paddle, Braintree and Lemon Squeezy: customers, charges, subscriptions and webhooks stored in your own database.","whatsGood":"MIT (pay-rails/pay), release v12.3.0 (2026-10-06), maintained since 2017. One interface across Stripe (SCA-compatible), Paddle, Braintree and Lemon Squeezy, plus a fake processor for free plans and trials without cards. Syncs records through webhooks so you can query billing state with ActiveRecord. ★~2.3k.","theCatch":"Rails only. It wraps processor APIs instead of hiding them, so advanced Stripe features still need the Stripe gem directly. Switching processors later still involves real migration work.","verdict":"The obvious starting point for subscription billing in a Rails app.","addedAt":"2026-10-18","featured":false,"domain":"Payments","subSpecialty":"Payments","subcategory":"Payments","tags":["api","self-host","permissive","payments","active"],"capabilities":["api"],"surfaces":["API","Self-host"],"ecosystem":["Multi-platform"],"licenseModel":"OSS/MIT","githubStars":2262,"starsPerWeek":4,"access":"free","archived":false,"repo":{"createdAt":"2017-02-01","pushedAt":"2026-10-17","license":"MIT","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"stripe-cli","name":"Stripe CLI","tagline":"Official Stripe terminal for webhooks, events, and API objects"},{"slug":"polar","name":"Polar","tagline":"Apache-2.0 merchant-of-record billing for indie and AI products"},{"slug":"hyperswitch","name":"Hyperswitch","tagline":"Apache-2.0 payment orchestrator you can self-host"},{"slug":"killbill","name":"Kill Bill","tagline":"Apache-2.0 in-house subscriptions and payments, no % take-rate"},{"slug":"lago","name":"Lago","tagline":"AGPLv3 usage and entitlements metering you self-host"}],"links":{"self":"/api/gems/pay-rails","html":"/gems/pay-rails","markdown":"/gems/pay-rails.md","category":"/api/gems?category=payments","categoryPage":"/stacks/payments"}}