Payments
by @ops Ledger & Double-Entry Accounting Starter
A Postgres-only backend built around double-entry bookkeeping — tracking balances and money movement correctly, not processing payments. Distinct from a Stripe/subscription starter: this is for internal ledgers, marketplaces splitting payouts, or anything that has to get "where did this dollar go" provably right.
Loads this recipe straight into the wizard — every setting stays editable before you generate anything.
The stack
Install
# pulls this exact recipe straight from the Vault $ npx stacktora install ledger-accounting-starter --remote $ stacktora sync # generate the files
What you get
More from the Vault
Digital Wallet / Stored Balance Backend
A stored-value balance (gift cards, in-app currency, prepaid credit) with Postgres as the source of truth and Redis for fast balance checks — distinct from the Ledger recipe (double-entry accounting) and Usage Metering (consumption billing): this is money already collected, sitting in an account, waiting to be spent.
Membership & Tiered Access Backend
Membership tiers gating feature/content access, Stripe-connected for the billing side, Redis for fast access checks on every request. Distinct from Usage Metering: that bills for consumption, this is a fixed tier granting or denying access.
Multi-currency & FX Conversion Service
Currency conversion with rate caching and a worker keeping exchange rates fresh — distinct from the Ledger recipe: that records transactions correctly, this is what makes cross-currency amounts comparable in the first place.
Node + Stripe SaaS Starter
A subscription SaaS backend: Node API, Postgres for customers/subscriptions, Redis for webhook idempotency, and a background worker for async Stripe event processing.