Habify BaseHabify Base
Non-Custodial BillingHabify Base · Billing & Ledger Engineering2026-11-19 (updated 2026-11-28)7 min read

Designing Automated Subscription Wallets Without Custodial Risk

Inside Habify Base's Project Billing Kit: strict BYO merchant isolation, append-only PostgreSQL wallet ledgers, and flexible VAT or sales receipt profiles.

Billing KitSePay QRVietnam E-InvoiceAppend-Only Ledger

Building recurring VN SaaS billing from scratch takes weeks: reconciling SePay QR and Visa/Mastercard/JCB card payments, preventing double-credit race conditions, issuing tax-compliant e-invoices at collection time, and running renewal dunning reminders.

Worse, if a platform collects funds on behalf of app creators before settling payouts, it creates custodial and payment-intermediary exposure.

Project Billing Kit solves both challenges starting right on Starter ($9/mo): end-user checkouts route strictly through your own merchant credentials with 0% platform commission.

Append-Only Wallet Ledgers & 4-Stage Renewal Dunning

Your end-user plans, prepaid balances, and audit logs live strictly inside the habify_sys schema of your project's dedicated database.

  • Concurrency-safe PostgreSQL row locking with immutable ledger triggers and non-negative balance CHECK constraints.
  • Automated reminders dispatched 7d, 3d, 1d before expiry and on due date.
  • Supports corporate VAT (0/5/8/10%/exempt) plus household business sales receipts & POS series M.

Frequently Asked Questions

Does Habify Base take a transaction cut on Project Billing Kit payments?

No. Habify Base takes 0% commission — all funds settle directly into your own BYO SePay or PayPal merchant account.

Need a SePay Merchant Account?

Customer VietQR transfers and Visa/Mastercard/JCB card payments settle directly into your own bank account. Register with SePay before connecting credentials in your project.

Related Documentation & Guides

Launch This Architecture in Free Sandbox in 3 Minutes

Spin up an isolated PostgreSQL 18 database, grab your hb_pk_* / hb_sk_* keys, and wire @habifybase/sdk.

More Engineering Articles & Use Cases