Engineering

Engineering

Owning payments to ship faster

Jed Tan

Software Engineer

Software Engineer

Works on the Cardless transactions team, handling money movement, customer payments, and card authorizations and declines. Previously at Block, building out Square’s money movement and open banking platforms.


Paying a credit card bill should be the most boring part of owning one. You pick a date, the payment goes out, and you don’t think about it again.

Keeping it boring takes a lot of work. If we miss a payment, a cardholder who did everything right can get hit with a late fee. If a payment runs twice, their bank account is debited for money they didn’t intend to pay. Every day, we help coordinate those payments for hundreds of thousands of cardholders, across our card processor, our issuing bank, and our own systems.

As we’ve grown over the past year, we’ve built our own payment orchestration engine from the ground up on Temporal: one platform that decides when every payment runs, is designed to see each one through to completion, and is ready for whatever payment method our customers dream up next. Reliability was part of the reason, but flexibility was the bigger one. Coinbase One Card cardholders can already pay their bill in crypto. Other customers have their own ideas for how cardholders should be able to pay. Each one works differently, with its own timing, rules, and challenges. When a customer’s next big idea lands, we want to ship it fast, on our own schedule.

Why we brought payment orchestration in-house

As our business scaled, the case for owning the payment infrastructure came down to four things: flexibility, visibility, consistency, and speed.

  • Payment flexibility. Card payment infrastructure is typically built around paying from a bank account. Every new way to pay brings its own funding mechanics, timing, failure modes, and reconciliation. Because we own the orchestration layer, launching a new payment method is a product decision, not a platform limitation.

  • Owning the outcome. We wanted a complete end-to-end view of every upcoming payment (when it would run, for how much, and through which payment method) before we moved a single dollar.

  • Keeping systems in sync. Managing schedules across multiple internal and external systems required complex reconciliation systems. Continued effort and engineering resources were required to keep data consistent and up to date.

  • Building at Cardless speed. Owning the payment engine means a new idea can go from design to production as fast as we can build it. This includes features such as smarter autopay that adjusts to changing due dates, real-time payment updates, and innovative payment options – all built through changes to our own code.

Separating when from how

A payment schedule looks simple, consisting of a date, an amount, and a payment instrument. In practice, each requires seamless, real-time coordination across multiple systems. The payment amount depends on a card balance that can change up to the moment of payment, while the payment date depends on a billing cycle that can shift. Finally, each payment must be coordinated across our card processor, our issuing bank partner, and our own platform – any of which may experience delays on the day a payment is due.

We addressed the engineering challenges by giving each component a distinct responsibility. Our database decides when a payment is due. Temporal sees the process through, handling issues along the way, while idempotency ensures each payment is executed only once.

Flowchart: a scheduled payment writes a row to the schedule store; the daily sweeper finds payments due today and starts one Temporal workflow per payment, which coordinates with payment partners and sets the next run date in the schedule store, if applicable.

The When lives in our own database. Each autopay or future payment is stored as a record with its next scheduled run date. Every day, a scheduled Temporal job (the sweeper) identifies the records due that day. After it processes each payment, the system calculates the next run date and updates the record. The date rules are standard, well-tested application code.

The How belongs to Temporal. For each payment due, the sweeper launches a dedicated Temporal workflow to coordinate execution across workers and external parties. Temporal ensures reliable execution: if a process restarts or a partner experiences a delay, the workflow resumes where it left off, with controlled retries and backoff.

We designed failure handling around a single question: did the money move? Every step in the payment workflow is idempotent, allowing it to be safely retried after a failure or restart without duplicating the payment. Retrying a call to a payment partner produces the same result, without triggering a second charge or a duplicate credit.

Moving every live schedule

Rebuilding the scheduler was the easy part. The real challenge was migrating every live schedule to the new system without disrupting the flow of money. On any given night, we managed scheduled payments, payments already in progress, and payments awaiting settlement. We had to replace the engine without disrupting a single one. In just a few weeks, a small team successfully migrated several hundred thousand schedules.

Every system, one answer. The migration required more than simply moving accounts. Before transferring each one, we had to reconcile its payment schedule across multiple separate systems that held it, resolving every discrepancy before any money moved. This painstaking reconciliation accounted for the bulk of the work.

Cardholders didn’t pause for us, either. They turned autopay on and off, made one-off payments, and moved their billing cycle dates, all while their accounts were mid-handoff. Every one of those changes had to land promptly in the right system.

We rolled out the new scheduler in stages:

  1. Shadow mode. The new scheduler ran alongside the existing system on real payment days, deciding what it would do without moving any money. Every disagreement was an edge case to resolve before going live. We addressed even the most subtle issues, like autopay dates affected by billing cycle changes, where the correct payment date depends on exactly when the change took effect.

  2. Gradual rollout. We then proceeded to move batches of accounts to the new system. A payment isn’t complete until it settles, which can take days, so each step in the rollout meant observing whether recent payments had worked and checking that reversals and other sticky path cases were properly handled before proceeding.

One rule held throughout: exactly one scheduler had authority over each account at any given moment.

Monitoring as a first-class feature. We treat observability as part of the product, not an add-on. State-based monitors check that every schedule is in a valid state and that every payment that was due actually ran. Alerts flag anything unexpected so we can act quickly, ideally before it reaches a cardholder. Every change to a schedule has an audit trail showing who or what made it, and when. Because the scheduler runs every day, we aim to catch and fix problems within the same daily cycle, not the next one.

A foundation for what’s next

Durable scheduling and execution were our first proving ground. Now we’re extending the same architecture across the cardholder experience, from orchestrating every stage of a balance transfer to delivering the right reminder at the right time before a payment runs.

If you want to build the systems that power payments for hundreds of thousands of cardholders, and the products that those systems make possible, we’re hiring, and we’d love to hear from you!

© 2026 Cardless, Inc., all rights reserved.

Cardless, Inc. 350 Townsend St., #610
San Francisco, CA 94107

Cardless Inc. is the servicer of the Bilt Cards. Cardless is a financial technology company, not a bank. Bilt Cards are issued by Column N.A., Member FDIC, pursuant to license from Mastercard International Incorporated.

All other cards offered by Cardless are issued by First Electronic Bank, pursuant to license from Mastercard International Incorporated, or from Visa U.S.A. Inc., or from American Express. All offers are subject to credit approval.

American Express is a registered trademark of American Express. Mastercard, World Elite, and the circles design are registered trademarks of Mastercard International Incorporated. Visa is a registered trademark of Visa International Service Association and is used under license.

All other trademarks, service marks, and trade names referenced in this material are the property of their respective owners and are used for identification purposes only.

© 2026 Cardless, Inc., all rights reserved.

Cardless, Inc. 350 Townsend St., #610
San Francisco, CA 94107

Cardless Inc. is the servicer of the Bilt Cards. Cardless is a financial technology company, not a bank. Bilt Cards are issued by Column N.A., Member FDIC, pursuant to license from Mastercard International Incorporated.

All other cards offered by Cardless are issued by First Electronic Bank, pursuant to license from Mastercard International Incorporated, or from Visa U.S.A. Inc., or from American Express. All offers are subject to credit approval.

American Express is a registered trademark of American Express. Mastercard, World Elite, and the circles design are registered trademarks of Mastercard International Incorporated. Visa is a registered trademark of Visa International Service Association and is used under license.

All other trademarks, service marks, and trade names referenced in this material are the property of their respective owners and are used for identification purposes only.

© 2026 Cardless, Inc., all rights reserved.

Cardless, Inc. 350 Townsend St., #610
San Francisco, CA 94107

Cardless Inc. is the servicer of the Bilt Cards. Cardless is a financial technology company, not a bank. Bilt Cards are issued by Column N.A., Member FDIC, pursuant to license from Mastercard International Incorporated.

All other cards offered by Cardless are issued by First Electronic Bank, pursuant to license from Mastercard International Incorporated, or from Visa U.S.A. Inc., or from American Express. All offers are subject to credit approval.

American Express is a registered trademark of American Express. Mastercard, World Elite, and the circles design are registered trademarks of Mastercard International Incorporated. Visa is a registered trademark of Visa International Service Association and is used under license.

All other trademarks, service marks, and trade names referenced in this material are the property of their respective owners and are used for identification purposes only.