Money & Payments in Software
Handling money in code is its own skill - and getting it wrong costs real money and real trust. This course teaches the patterns that make money code correct: exact amounts (never floats), penny-perfect splitting, discounts and tax that reconcile, double-entry books, safe charging, and money-native settlement. Every idea has a readable Larz-stack library you can study.
About this course
Handling money in code is its own skill - and getting it wrong costs real money and real trust. This course teaches the patterns that make money code correct: exact amounts (never floats), penny-perfect splitting, discounts and tax that reconcile, double-entry books, safe charging, and money-native settlement. Every idea has a readable Larz-stack library you can study.
What you'll be able to do
- Represent money exactly as integer minor units and never as a float
- Split and allocate money so it always reconciles to the cent
- Compute a checkout total correctly - discount, then tax on the discounted amount, then shipping
- Handle inclusive vs exclusive tax, and keep books with double-entry so money can't drift
- Charge customers safely - idempotency, verified webhooks, and subscription lifecycles
- Understand money-native programming and pluggable settlement across fiat and on-chain rails
Syllabus
6 sessions, in order. Each has tables, charts, a worked example and hands-on tools.
| # | Session | |
|---|---|---|
| 1 | Money Is Not a Float The first rule of money in software: never store it as a floating-point number. $0.10 + $0.20 famously isn't $โฆ | โฑ 8 min |
| 2 | Splitting Money Fairly, to the Cent Divide $10.00 three ways and you get $3.33 x 3 = $9.99 - someone eats a cent. Splitting money so it always recโฆ | โฑ 8 min |
| 3 | Prices, Discounts & Tax A checkout total is a small pipeline that's easy to get subtly wrong: subtotal, then discount, then tax on theโฆ | โฑ 8 min |
| 4 | Keeping the Books: Double-Entry Once money moves, you need to record it so nothing is lost. Double-entry bookkeeping - every transaction touchโฆ | โฑ 8 min |
| 5 | Charging Customers Safely Taking a payment is more than calling an API. Idempotency, webhooks, subscription lifecycles and never trustinโฆ | โฑ 9 min |
| 6 | Money-Native Programming What if payments weren't a library you bolt on, but part of the language itself? Money-native programming makeโฆ | โฑ 9 min |
Coursework
Assignments
Problem sets with worked solutions to test what you learned.
๐ฏFinal project: Design the Money Layer of an App
Bring the whole course together: design (and optionally build) the money layer of a small app - a shop, a SaaS, or a bilโฆ
๐Certificate
Finish every session, the assignments and the project to unlock your certificate of completion.
More in Tech & Digital Skills
Code ยท Market ยท Design
Build employable skills โ web development, SEO/marketing and design, the realistic way.
Start course โAI & Productivity
Use AI like a pro โ what to automate, prompt craft, and getting real work done faster.
Start course โNo-Code & Automation
Build apps and automate work without writing code โ the modern maker's toolkit.
Start course โData & Analytics
Think clearly with numbers โ spreadsheets, reading charts, spotting bad stats and deciding with data.
Start course โCybersecurity & Privacy
Protect yourself online โ passwords, phishing, privacy and securing your devices.
Start course โCrypto & Web3
Start safely โ wallets, security, DeFi, and earning without getting rekt.
Start course โBuilding with the Larz Stack
Ship real software with zero third-party dependencies โ a tour of the 60+ pure-Python Larz libraries for money, data, security, web and AI, and how they click together with the Larz framework.
Start course โBuild a SaaS with Larz
Go end to end: build and ship a real money-native SaaS with the Larz framework - accounts and auth, plans and subscriptions, an admin dashboard, background jobs and email, and a production deploy.
Start course โUnderstanding & Building on LarzChain
Learn how a blockchain really works by studying a real one you can read: LarzChain, a fair-launch, proof-of-work, zero-dependency cryptocurrency. Blocks, mining, wallets, its smart-contract VM, and building on it responsibly.
Start course โData & Storage with the Larz Stack
Persist and query data without a database server - and safely. A deep dive on the stack's data family: the crash-safe embedded DB, injection-safe queries, migrations, caching, and every serialization format.
Start course โBuild CLI Tools with Larz
Command-line tools are the fastest way to automate your work and share utilities. Build beautiful, professional CLIs with the stack: a function becomes a command, with rich output, prompts and progress.
Start course โSecurity & Identity with the Larz Stack
Security is where mistakes are most costly - so it pays to use correct, standard tools. Hashing and encryption, secrets management, two-factor auth and decentralised identity, done right with the stack's RFC-verified libraries.
Start course โLearn to Code (from Zero)
Coding is one of the most valuable, empowering skills you can learn - and anyone can start. What programming really is, how programs think, writing your first one, how to learn effectively, and where it can take you.
Start course โPython Fundamentals (Hands-On)
Actually learn Python by writing it. The core building blocks - variables, decisions, loops, functions and collections - explained clearly and practised, then combined into a real little program.
Start course โData Structures & Algorithms
The ideas that separate a hobbyist from a real programmer: choosing the right way to store data, and knowing how fast your code is. Lists, dictionaries, stacks, queues, trees, graphs - and Big-O made simple.
Start course โIntermediate Python
You can write basic Python - now write it well. Organise code into functions and modules, work with files, handle errors gracefully, meet classes and objects, and learn the clean idioms that make Python a joy. The bridge from beginner to capable.
Start course โHow Computers Work
What's actually going on inside the machine - from a single on/off switch to a running app. Bits, how data is stored, what a CPU does, how your code becomes something the machine runs, and how computers talk to each other. No jargon, no maths degree required.
Start course โDebugging & Problem-Solving
The skill nobody teaches but everybody needs: finding and fixing bugs without panic, reading error messages, isolating problems, and thinking through hard things methodically. This is what actually separates people who can code from people who can't - and it's learnable.
Start course โVersion Control with Git
The tool every developer uses every day, and the one tutorials skip. Git remembers every version of your work, lets you experiment fearlessly, undo mistakes, and collaborate with others without chaos. Learn it early and the whole world of real software - and GitHub - opens up.
Start course โBuild Your First Real Project
The moment it all comes together: take everything you've learned - Python, debugging, Git, data - and build and ship a real project you're proud of. This is what turns 'someone learning to code' into 'a developer', and it's the bridge to building genuinely valuable software.
Start course โWeb Development Basics
Almost all the software people find valuable lives on the web. This is how it works and how you build it: the request-response dance, HTML and CSS, how servers generate pages, handling user input safely, and APIs. The bridge from 'I can code' to 'I can build web apps'.
Start course โTesting & Quality
The habit that separates hobby code from professional, trustworthy software: proving your code works with tests, and caring about quality. Testing gives you the confidence to change and grow a project without fear - the skill that lets software get big without falling apart.
Start course โDeploying & Running Your App
The last mile between 'it works on my machine' and 'real people are using it': getting your app online, configuring it for the real world, and keeping it healthy once it's running. This is what turns a project into a living service - and it's more approachable than it sounds.
Start course โWorking with Data
Real apps are mostly about data: storing it so it lasts, asking questions of it, structuring it well, and handling lots of it. This is the practical craft of application data - files vs databases, querying, modelling, and scale - the layer beneath almost every valuable piece of software.
Start course โSoftware Design & Architecture
The difference between code that works and code that lasts. As programs grow, how you structure them decides whether they stay a joy to change or turn into a tangle nobody dares touch. This is software design - separation of concerns, the right patterns, and building for change - the craft of the senior developer.
Start course โBecoming a Developer
You've learned to build, test, deploy and design real software. This is how you turn that into a life: a portfolio that proves you can build, contributing to open source, learning continuously, getting hired, and growing in the craft. The capstone that turns skills into a career.
Start course โHow Programming Languages Work
One of the most magical-seeming topics in software, demystified: how does a language turn text you type into a program that runs? You'll see the whole pipeline - tokenizing, parsing, interpreting - and even how to design your own small language. Deep, empowering, and more approachable than it sounds.
Start course โTrees, Heaps & Tries
The next data structures after the basics: trees that keep data sorted, heaps that always hand you the most important item, and tries that power autocomplete. These are the structures behind fast search, schedulers and real systems - and they're more approachable than their reputation.
Start course โ