Blog / Fintech and payments
How escrow payments work in an online marketplace
Escrow solves one problem: two people who do not trust each other want to trade, and neither will go first. The buyer fears paying for nothing. The seller fears delivering for nothing. Escrow puts a neutral party in the middle, holding the money until both sides are satisfied.
In an online marketplace, that neutral party is your software. Here is how it works, step by step, and where the real work is.
The basic flow
- Agreement. Buyer and seller agree on the item, the price and what counts as delivered.
- Funding. The buyer pays. The money is collected through a gateway such as Paystack or Flutterwave and recorded as held in escrow, not as the seller’s money yet.
- Delivery. The seller delivers and marks it done.
- Confirmation. The buyer confirms it arrived as described, or a deadline passes without a complaint.
- Release. The money moves from escrow to the seller’s balance, minus your fee.
- Payout. The seller withdraws to their bank account.
Each step is a state, and the trade can only move between states along paths you have defined. That is the important idea: escrow is a state machine, not a balance with a promise attached.
The states you actually need
A real escrow platform needs more than “paid” and “released”. At minimum: initiated, funded, held, delivered, released, disputed, refunded, expired and reversed. Each transition is logged with who triggered it and when. There should be no path out of “held” that your ledger cannot explain.
Milestones
For services and larger orders, one release at the end is too much risk for both sides. Milestone escrow splits the trade into stages, each funded and released against its own condition. The buyer never pays for everything up front, and the seller never delivers everything before seeing any money.
Disputes
This is the part most platforms build last and should build first. When the buyer says the item arrived broken:
- the trade moves to disputed, and the money stays held
- both sides upload evidence before a deadline
- a person you appoint decides: release, refund, or split
- the decision and the reason are recorded
Software can gather evidence, keep the clock and route the case. It should not decide alone. On Naxcrow we used AI to summarise both sides for the person deciding, clearly labelled as a machine summary.
The happy path is the easy half of escrow. The dispute path is the product.
Where the money actually sits
Your software records the money as held, but the cash sits somewhere real: in your gateway balance or a bank account. In many countries, holding other people’s money needs a licence or a licensed partner, so take legal advice on the structure before launch. Your ledger should mirror that structure exactly, so the money you say you hold matches the money you actually hold. Daily reconciliation checks it.
The edge cases that cost money
- Refund after payout. The seller already withdrew. You need a way to record the debt and recover it.
- Chargebacks. The buyer’s bank reverses the card payment weeks later.
- Partial delivery. Half the order arrived. Split the release.
- Nobody confirms. An expiry rule releases or refunds automatically, and both sides know the deadline in advance.
- Duplicate payments. The buyer pays twice for one trade. Your webhook handling has to catch it.
Escrow or split payments?
If the seller should be paid at checkout, use split payments: simpler and cheaper. If payment should wait for delivery, you need escrow. We compare the two in Paystack vs Flutterwave for marketplaces.
Where this comes from. We do this work for clients. See escrow and wallet systems, or the case study on Naxcrow.
Questions about this post? Email contact@naxfront.com. Nancy reads every one.