Fintech and payments teams
Wallets, payouts, payment provider integrations and ledgers. Before a funding round or bank or partner due diligence, before launching in a new market, after an incident, or after a fast build.
Payments architecture review
I review ledgers, wallets and payment integrations for fintech teams. Within two weeks you get it in writing: what will break, what an auditor will flag, and what to fix first.
Money systems are what I build.
15+ years in software. Card-present payments include in-store terminals over three undocumented protocols, which I reverse-engineered. More about me.
Wallets, payouts, payment provider integrations and ledgers. Before a funding round or bank or partner due diligence, before launching in a new market, after an incident, or after a fast build.
Technical due diligence on a payments company: whether its money handling holds up, and what it will cost to fix what doesn’t.
Much of your money-handling code was written by coding agents, and you need a straight answer to one question: is this safe to put real money through?
Ledger design, balance integrity, idempotency, reversals, rounding and reconciliation.
Provider callbacks and retries, unknown outcomes, payout safety and provider failover.
Locking, race conditions, queue and retry behaviour, and partial failures.
Secrets handling, signed requests, admin and back-office access, and the audit trail.
KYC, sanctions screening and limits.
Observability, alerting, runbooks, incident response, deploys and rollback.
The patterns coding agents get wrong around money, such as silent retries, missing constraints and untested edge cases, and guard rails for the agent work that follows.
What I look for first. Each one is common, quiet, and expensive when real money finds it.
A timeout, an automatic retry, a second payout. Idempotency keys scoped per operation, stored with the response and replayed on a repeat, and carried through to the provider’s own idempotency key, not just a unique index at the API edge.
A timeout is not a decline. The payment needs an explicit unknown state with the funds held, resolved only by a callback or a status query, never by a reversal on a timer.
Late, duplicated, out of order (a refund before its capture) or forged. Verify the signature and timestamp, de-duplicate by event id, apply events through a state machine that rejects illegal transitions, and re-fetch the payment from the provider before moving money.
UPDATE.A mutable balance column drifts. Double-entry, append-only postings; balances derived or updated in the same transaction; corrections by reversal, never by edits.
Amounts as integers in minor units (ISO 4217 has currencies with 0, 2 and 3 decimals); token decimals per chain (USDT has 6 on Ethereum and Tron, 18 on BNB Chain); FX and fee splits allocated so the parts always sum to the whole.
Under the default isolation level, two concurrent withdrawals both pass the balance check. Row locks taken in a fixed order, a database rule that makes a negative balance impossible, or serializable transactions with retries.
The transaction commits and the event is lost, or the event goes out and the transaction rolls back. A transactional outbox, idempotent consumers, and a sweeper for whatever slips through.
Totals match while two errors cancel out; fees and FX netted in settlement never reach the ledger. Match every transaction three ways (ledger, provider settlement report, bank statement), with aged breaks owned and alerted.
Manual adjustments without maker-checker approval, payee bank details that support can change, no segregation of duties, no tamper-evident audit trail.
Client timeouts longer than the provider’s, retries without a budget, no circuit breaker, no health-based routing to a second provider, and no rule for in-flight payments when traffic switches.
Every transaction’s postings sum to zero; funds held at each provider match the ledger’s clearing account. Checked continuously, not discovered at month-end close or by a customer.
The provider is mocked, so timeouts, duplicates and partial failures never run. Fault injection, replayed real callbacks and property-based tests on ledger invariants: the gap AI-written code most often has.
Your goals, stack and deadline. We pick the package together.
To the repository, architecture docs, and staging if you have it. Nothing is copied out of your environment.
5 to 10 working days, depending on the package.
Findings ranked by money and regulatory risk, each with its evidence and a fix. A verdict for each area (ship, fix first, or rebuild this part) and a 30/60/90-day plan.
A 60-minute call with your team, then two weeks of follow-up questions by email.
$3,000
5 days
One area, for example the ledger and payments.
$6,000
8–10 days
Areas 1 to 6: the full review of your money paths.
$9,000–12,000
2 weeks
Standard plus the AI-built code check.
Fixed prices. 50% on booking and 50% on delivery, invoiced by my company.
It isn’t a penetration test, a certification, an audit opinion or legal advice. And I don’t change your code during the review: you get findings and fixes, and your team stays in charge of the code.
Thirty minutes on your goals, stack and deadline. You’ll know which package fits, or whether you need one at all.
Book a free 30-minute scoping callOr email [email protected]