Configs2026年7月1日·1 分钟阅读

Kill Bill — Open-Source Subscription Billing and Payment Platform

Java-based billing platform for managing subscriptions, invoicing, payments, and revenue recognition with a plugin architecture.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Kill Bill
先审查命令
npx -y tokrepo@latest install 45faa85a-754d-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

Kill Bill is an open-source billing and payment platform built in Java. It handles the full lifecycle of subscription management, invoicing, payment processing, and revenue recognition. Originally developed at Groupon to handle millions of transactions, it provides a plugin-based architecture that integrates with any payment gateway or business workflow.

What Kill Bill Does

  • Manages subscription plans with trials, add-ons, upgrades, and downgrades
  • Generates invoices automatically based on subscription events and usage
  • Processes payments through pluggable payment gateway integrations
  • Tracks entitlements to control feature access based on active subscriptions
  • Provides dunning management for failed payment retry and recovery

Architecture Overview

Kill Bill is a Java application running on an embedded Jetty server with a MySQL or PostgreSQL database. The core platform handles the subscription state machine, invoice generation, and payment orchestration. Business logic is extended through an OSGI-based plugin framework. A REST API exposes all operations, and Kaui (Kill Bill Admin UI) provides a web dashboard for operations teams.

Self-Hosting & Configuration

  • Run via Docker or deploy the WAR file on any Java servlet container
  • Requires MySQL or PostgreSQL as the backing database
  • Install payment plugins for Stripe, PayPal, Adyen, or custom gateways
  • Configure catalog XML files to define products, plans, and pricing rules
  • Deploy Kaui alongside Kill Bill for a visual admin interface

Key Features

  • Flexible catalog system supporting flat, tiered, usage-based, and hybrid pricing
  • Plugin architecture with payment, notification, and analytics extension points
  • Multi-tenancy support for SaaS platforms serving multiple organizations
  • Audit trail and timeline APIs for compliance and debugging
  • Built-in support for proration, credits, refunds, and chargebacks

Comparison with Similar Tools

  • Stripe Billing — Managed SaaS billing; Kill Bill is self-hosted with full data ownership
  • Lago — Open-source usage-based billing; Kill Bill covers broader subscription lifecycle
  • Chargebee — SaaS subscription management; Kill Bill is self-hosted and more customizable
  • Recurly — SaaS recurring billing; Kill Bill offers plugin-based extensibility
  • Zuora — Enterprise billing platform; Kill Bill is open source and avoids vendor lock-in

FAQ

Q: What payment gateways does Kill Bill support? A: Kill Bill supports Stripe, PayPal, Adyen, Braintree, and more through its plugin system. You can also write custom payment plugins.

Q: Can Kill Bill handle usage-based billing? A: Yes. Kill Bill supports usage-based pricing with metered billing records submitted via the API.

Q: Is Kill Bill suitable for high-volume billing? A: Yes. Kill Bill was built at Groupon to process millions of transactions and is designed for horizontal scaling.

Q: Does Kill Bill provide an admin UI? A: Yes. Kaui is a companion Rails application that provides a web-based admin dashboard for managing accounts, subscriptions, and payments.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产