I'm a backend engineer who makes sure every payment is counted, booked and reconciled.

Shen Zhiyuan builds payment gateways, reconciliation platforms and order systems in Hangzhou. After nine years, the systems he runs carry 3.2 million transactions a day, and his favourite number is still zero: zero unmatched rows at the end of the day.

Recently: a cross-border payment gateway and an order system split that nobody noticed, which was the point.

Teams I have shipped with

  • Luming Retail
  • Qingwu Mobility
  • Xiyun Health

Selected work

Three projects, all about money moving correctly: a gateway, a reconciliation platform and an order system split.

All projects

Experience

Nine years across three teams, mostly payments, orders and the reconciliation that keeps finance calm.

Read the résumé

Open source, in small useful pieces

Libraries pulled out of payment work, each doing one thing. Most of them are finished, not abandoned.

6libraries
6,400stars
503forks

    Latest writing

    Notes on payments, ledgers and splitting systems without a freeze. A few posts a year.

    All posts

      Talks and workshops

      About reconciliation and idempotency, told for people who have been paged about both.

      All talks

      Work

      Case studies for the projects I can talk about in detail, and an archive of everything else I have shipped since 2017.

      Everything else

      Libraries, client builds and experiments. Filter by kind, or search by name or language.

      YearProjectKindBuilt withLink

      Writing

      Notes on payments, ledgers, idempotency and order systems. Plain pages, no pop-ups.

      Talks and workshops

      Two talks so far, both about payments. Each one has notes, chapters and links to the related work.

        Want a talk for your team or meetup?

        I give one or two a year, in person around Hangzhou and Shanghai or remotely. Any topic above, or one close to it.

        Ask about speaking

        Uses

        The hardware, software and paper behind the work. Nothing here is sponsored, and the keyboard is louder than it should be.

        A dark workbench at night with a mechanical keyboard, a laptop, a notebook and a cup of tea under an amber desk lamp, city lights in the window behind.
        Portrait of Shen Zhiyuan at his desk in the evening, city lights behind him.
        At the desk in Xihu District, after the daily close went green.

        I'm Zhiyuan. I make money add up.

        For nine years I have built the parts of products that finance notices first: payment gateways, ledgers, reconciliation and the order systems that feed them.

        I started at a small payments start-up in Hangzhou, then spent four years at Luming Retail building the real-time reconciliation platform that now matches 3.2 million transactions a day. Since 2024 I work independently, one client at a time, on gateways, order system rebuilds and architecture reviews.

        I like problems where the right answer is boring and provable: a ledger that balances, a retry that cannot charge twice, a cutover with a rollback plan. I write those plans down first and write about them later on the writing page.

        • Count it twiceEvery payment is recorded by us and confirmed by someone else. When the two disagree, a person sees it the same day.
        • Write it down firstA one-page design before any cutover. Being wrong in a document is cheaper than being wrong in a settlement file.
        • Boring on purposePostgres, integers for money, one queue. The product can be exciting; the ledger should not be.

        Milestones

        A changelog of the career so far, newest first. One joke per year, maximum.

          A lakeside path in Hangzhou at night, willow trees and warm lamps reflected in still water, city towers in cool blue haze.

          Outside the editor

          Most evenings I walk along the lake after the daily close. It takes about forty minutes, which is also roughly how long it takes me to see what was wrong with a design I liked at lunch.

          I also keep a paper notebook of every reconciliation exception that turned out to be a rounding rule. It is thicker than I would like.

          Résumé

          The one-page version. For the stories behind these lines, read the case studies.

          Get in touch

          Tell me about the system, the volume and where the numbers stop matching. I read everything and reply within two working days.

          Next opening: September 2026One client at a time, three to five days a week
          China Standard Time, UTC+8Overlaps with Singapore all day and European mornings
          Best fitPayment gateways and reconciliation, order system rebuilds, technical due diligence

          A few sentences is plenty. Links are welcome.

          Demo form: nothing leaves this page. Connect it to your own form handler.

          404

          That page is not here.

          This one did not reconcile. These are safe places to land:

          Back homeSee the work