Real-time payβasβyouβgo subscriptions where users pay only while consuming a service.
Web UI β Billing API β Pricing Engine β Stellar Network
payflow/
βββ web/
βββ api/
βββ billing-engine/
βββ workers/
βββ database/
βββ docs/
βββ tests/
βββ README.md
- Node.js β₯ 18
- PostgreSQL β₯ 14
- Redis β₯ 6
git clone https://github.com/your-org/payflow.git
cd payflow
npm installPORT=3000
DATABASE_URL=postgres://localhost/payflow
REDIS_URL=redis://localhost:6379
STELLAR_NETWORK=testnet
HORIZON_URL=https://horizon-testnet.stellar.org
JWT_SECRET=super_secret
npm run start:api
npm run start:workers
cd web && npm run devCreate plan β Share link β Users subscribe β Billing streams live
Clean architecture, REST APIs, β₯80% test coverage.
Feature branch, passing CI, updated docs.
Q1: Core engine
Q2: Coupons & team plans
Q3: Marketplace integrations
Apache 2.0