Treasury infrastructure explained: Accounts, payment networks, and the shift to APIs

Treasury

Open a business account in minutes to earn, store, and spend with no minimums or monthly fees.

Learn more 
  1. Introduction
  2. Key takeaways
  3. How has treasury technology developed from on-premises systems to application programming interfaces (APIs)?
  4. What does modern treasury infrastructure include?
  5. How do traditional treasury management systems compare to API-based financial systems?
    1. Implementation
    2. Data freshness
    3. Vendor management
    4. End users
  6. How do businesses use modern treasury infrastructure?
  7. Why do growing businesses need programmable treasury infrastructure?
  8. Do businesses need to build, buy, or integrate treasury technology?
    1. Building in house
    2. Licensing a traditional TMS
    3. Integrating financial infrastructure
  9. How Stripe Treasury can help
  10. FAQs about treasury infrastructure

Treasury infrastructure is the set of accounts, payment networks, software, and integrations a business uses to hold, move, and track its money. Previously, much of this activity ran through a treasury management system (TMS) that collected prior-day bank files. Payments went out through a separate portal for each bank.

Currently, the model has shifted toward application programming interface (API)-driven infrastructure via instant payment networks, bank APIs, and platforms that build accounts and cards into their own products. With these systems, code can open accounts, move funds, and instantly report balances. In fact, 65% of corporate treasurers plan to expand their use of APIs to drive real-time automation in the next few years.

In this article, we discuss how treasury technology developed from on-premises systems to APIs, what a modern treasury stack includes, and how a traditional TMS compares with an API-based financial system.

Key takeaways

  • Treasury technology has shifted from installed software and daily bank files to application programming interfaces (APIs) that move money and report balances as transactions happen.

  • Modern treasury infrastructure combines financial accounts, payment networks, treasury software, integrations, and application programming interfaces (APIs), which sit at the center of the treasury environment.

  • The right mix of building, licensing, and integration depends on a business’s transaction volume, engineering capacity, and time frame for requiring new financial features.

How has treasury technology developed from on-premises systems to application programming interfaces (APIs)?

The 1980s marked a turning point in treasury technology. First, installed software pulled prior-day bank balances. Then, TMS platforms added forecasting and bank account management. However, they still relied on separate file connections for each bank. Cloud hosting eventually removed the servers that TMS platforms used but kept the daily batch files.

Three shifts finally pushed treasury toward APIs:

  • Faster payment networks: Once money settles in seconds, a 24-hour-old balance report can become a liability. In the US, several rapid payment networks launched in the last decade, including the Same Day Automated Clearing House (ACH) in 2016, the Real-Time Payments (RTP) network in 2017, and the US Federal Reserve’s FedNow Service in 2023. Other countries and regions have similar real-time payment networks, including the Single Euro Payments Area (SEPA) Instant Credit Transfer in Europe.

  • Bank APIs: Banks began exposing balance, transaction, and payment-initiation endpoints over Representational State Transfer (REST) APIs. This software can query accounts on demand rather than wait for the next file.

  • Embedded finance: Software platforms started building accounts, cards, and payouts into their own products. This required infrastructure that developers could access from code. Treasury desktop software was not built to provide that.

What does modern treasury infrastructure include?

A treasury stack is the set of systems that hold, move, and report on a business’s money. Many businesses run some version of these five layers:

  • Financial accounts: These hold operating, payroll, and reserve funds, plus accounts platforms open for users. Modern infrastructure enables businesses to open these accounts programmatically, each with its own account number and routing number.

  • Payment network access: ACH, SEPA, card networks, and real-time networks—such as RTP and FedNow—move money between accounts. Each network has its own settlement timing and limits. For example, Same Day ACH caps individual payments at $1 million. This limit is scheduled to increase to $10 million on September 17, 2027.

  • Treasury management software: This software or its equivalent aggregates balances, forecasts cash, routes approvals, and provides audit trails that show who moved funds and when.

  • Integrations: Connections to a business’s enterprise resource planning (ERP), accounting, and billing systems pass transaction data back and forth.

  • APIs: These turn the other layers into programmable endpoints. A business’s code can open an account, start a transfer, or receive a webhook the moment funds arrive.

How do traditional treasury management systems compare to API-based financial systems?

Traditional TMS platforms and API-based financial systems solve overlapping problems for different users. A TMS is suitable for a treasury team that manages the company’s cash across existing banks. API-based infrastructures are better suited for developers who want financial accounts and money movement inside a product.

Here’s how each system works in various areas of a business.

Implementation

A TMS rollout involves vendor selection, connectivity work for each bank, ERP data mapping, and user training. Large projects commonly run six months to a year or longer.

An API-based system starts with a sandbox. Developers can use it to create test accounts and simulate transfers on day one. Then, the system can go live after onboarding and a compliance review.

Data freshness

TMS bank connections generally still deliver prior-day statements. This can also include a few intraday reports if the bank supports them.

API-based systems report balances and transactions as they happen. This is typically through webhooks that trigger when a transfer is created, posted, or returned.

Vendor management

With a TMS, the business manages the software vendor and the banks behind it. Each has its own onboarding paperwork, file specifications, and support contacts.

API-based providers consolidate account opening, money movement, and reporting behind a single integration.

End users

A TMS is built for treasury analysts inside the company.

With an API-based system, end users can also be the business’s customers who use its financial features. Users see balances, cards, and transfers in the business’s app without logging into a bank.

How do businesses use modern treasury infrastructure?

Many businesses can benefit from modern treasury infrastructure, particularly those with workflows that previously depended on employees logging into a bank portal to manage accounts.

Here’s how modern treasury infrastructure can help businesses:

  • Automated marketplace payouts: Marketplaces can prompt seller payouts when orders clear their return windows. This is instead of uploading one batch ACH or SEPA file a day. Instant payment methods allow sellers to receive their funds on the same day the platform releases them.

  • Embedded accounts in vertical software: A platform that serves construction contractors, for example, can open a financial account for each contractor, attach a card for jobsite purchases, and pay subcontractors from that balance. Transactions sit next to their related invoices and job records.

  • Rule-based sweeps: Code can automatically move a fixed percentage of each day’s receipts into a tax reserve account. Employees don’t have to remember to do this at the end of each month.

  • Live cash visibility: Finance teams can pull current balances into a dashboard through API calls. This is instead of waiting for the morning data file from the bank. Incoming wires post as webhook events as soon as they land.

  • Automated reconciliation: Structured metadata on each transaction—such as an invoice identification (ID) or customer reference—maps the transaction to the right ledger entry. This reduces manual statement matching to an exceptions queue.

Why do growing businesses need programmable treasury infrastructure?

Growth can break treasury processes in predictable places. On the other hand, programmable infrastructure fixes those breaking points in the following four ways:

  • Faster improvement: Refinements—such as changes to payout schedules, additions of approval thresholds, or launches of new account types—become code changes the business can test in a sandbox and ship in a sprint. In the past, these improvements required conversations with the bank and new sets of forms.

  • Customer-specific features: This could include a freight marketplace that can pay carriers instantly on proof of delivery or a property management platform that keeps each building’s rent in its own account.

  • Shorter time to launch: Going direct means separate agreements, integrations, and compliance reviews with each bank. On the other hand, a provider can do that work and help the business go live in a shorter time frame.

  • Scale without added head count: API-driven account opening, transfers, and reconciliation grow with transaction volume. However, a business’s finance team doesn’t have to grow with it.

Do businesses need to build, buy, or integrate treasury technology?

Many businesses combine all three: building, buying, and integrating treasury technology. The right mix depends on the business’s transaction volume, in-house engineering capacity, and time frame for new financial features.

Building in house

With this method, the business has full control over the product and data model. However, it also takes on bank partnerships, compliance programs, ledgering, reconciliation logic, and upkeep for every network connection. This method can be beneficial for companies with very high volumes, large engineering teams, and financial services at the center of the business.

Licensing a traditional TMS

A TMS fits a corporate treasury team that manages the company’s cash across several banks. It can also be helpful for a team that wants forecasting, investment tracking, and bank account management in one place. A traditional TMS won’t put financial features in front of customers. In addition, the implementation timeline and bank connectivity work are considerable investments.

Integrating financial infrastructure

API-based components let businesses embed accounts, cards, and money movement into products. Providers handle bank relationships and much of the compliance work. When using this method, a business must trade some control over its underlying bank setup for speed and a smaller engineering workload. This is also the fastest route to customer-facing features.

How Stripe Treasury can help

Stripe Treasury brings payments and finances together on Stripe, so businesses can receive, store, send, and spend funds in one place. It’s built for startups and growing businesses that want to move money faster and spend less time managing financial operations. Platforms, marketplaces, and fintechs can also offer financial services to their users with Treasury for platforms.

Treasury can help you:

  • Simplify your financial operations: Manage money, payments, card spend, payouts, and more from the Stripe Dashboard.

  • Move money faster: Access settled Stripe earnings right away and send instant transfers to other businesses on Stripe without cost.

  • Get more from your money: Earn cashback on card spend and Stripe fee credits on qualifying balances.

  • Operate globally with ease: Hold balances in multiple currencies, convert only when needed, and send payouts to recipients in 160+ countries.

  • Automate financial operations: Use agents to analyze cash flow and automate tasks such as paying invoices, moving money, and converting currencies within limits you set.

Learn more about how Stripe Treasury can help you manage your finances and payments in one place, or get started today.

Stripe Treasury includes various distinct Stripe products. See applicable product terms. Stripe is not a bank. Checking accounts are provided exclusively by Fifth Third Bank, National Association, Member FDIC. Deposits are insured through Fifth Third Bank.

FAQs about treasury infrastructure

The content in this article is for general information and education purposes only and should not be construed as legal or tax advice. Stripe does not warrant or guarantee the accurateness, completeness, adequacy, or currency of the information in the article. You should seek the advice of a competent attorney or accountant licensed to practice in your jurisdiction for advice on your particular situation.

More articles

  • Something went wrong. Please try again or contact support.

Ready to get started?

Create an account and start accepting payments—no contracts or banking details required. Or, contact us to design a custom package for your business.
Treasury

Treasury

Stripe Treasury is a banking-as-a-service API that lets you embed financial services in your marketplace or platform.

Treasury docs

Learn about the Stripe Treasury API.