Custom Software & AI for Operations
Book a call

Automated split payouts for a marketplace

A payment orchestration layer that automates ledgering and split payouts at the point of transaction, built for correctness, auditability, and AML aware workflows.

In short

The problem: Rent payments had to be split between owners, reserves and platform fees, and manual reconciliation caused accounting errors.

What we built: A payment orchestration layer that automates ledgering and split payouts at the point of transaction.

The result: Instant payouts rather than 3 to 5 day ACH waits.

The problem

A PropTech marketplace struggled with complex flow of funds. Rent payments needed to be split between Property Owners (92%), Maintenance Reserves (5%), and Platform Fees (3%) instantly. Manual reconciliation caused accounting errors, delayed disbursements, and potential AML compliance gaps.

The hard part is correctness under failure: webhooks arrive out of order, retries happen, and partial outages are inevitable. Without ledger backed accounting and idempotent execution, duplicate charges, split errors, and reconciliation drift become unavoidable, and those mistakes are expensive when money moves across multiple stakeholders.

At a glance

  • Industry: PropTech / marketplace
  • Client: Vestra
  • Country: United States
  • What we built: Payment orchestration with double-entry ledger and automated split payouts
  • Integrations: Stripe Connect (Custom/Express), Plaid (KYC/KYB signals)
  • Stack: Next.js, NestJS, Stripe Connect

What we built

We built a custom payment orchestration layer that automates ledgering and distribution of funds at the point of transaction, ensuring sub account accuracy and instant transparency.

The system treats payments as stateful financial events: every charge produces ledger entries, split rules are deterministic, and payouts occur only when balances reconcile. Month end becomes a predictable audit step rather than a manual fire drill.

How it works

  • Double entry ledgering: Database level ledger tracks virtual balances before triggering bank movements.
  • Idempotency protection: Every request is tagged with a unique key to prevent duplicate charges or split errors during timeouts.
  • Architecture: Next.js → NestJS → Stripe Connect (Custom/Express).
  • Integrations: Plaid API for instant ACH verification (KYC/KYB) + Stripe for cards/wallets.
  • Security: Card data stays with the payment provider (e.g. Stripe), so it never touches your servers; AES 256 bank level encryption; automated SAR flagging; multi sig approvals for large withdrawals.
  • AI features: Anomaly detection monitors transaction velocity and pauses suspected account takeover (ATO) attempts.

Ledger first correctness: Every transaction produces balanced entries before settlement; split logic is deterministic and versioned; reconciliation is a query, not a manual month end process; dispute/chargeback workflows maintain an auditable trail.

Reliability patterns: Idempotency keys across charge/split/payout operations; retry policies with backoff and dead letter handling; webhook verification and replay protection; state machines for payout lifecycle (pending → cleared → paid).

Operational readiness: Alerts on payout failures and duplicate events; runbooks for chargebacks and reconciliation audits; backfills and replay tooling for webhook driven systems; environment separation for testing money movement safely.

Demo walkthrough

Founder-led video covering the business context, technical approach, and outcomes.

Results

  • Zero manual reconciliation: accounting automated via real time webhooks.
  • Instant liquidity: owners receive funds via instant payouts rather than 3 to 5 day ACH waits.
  • Compliance ready: automated tax reporting and 1099 K generation.
“Working with Ahmad has been an incredible experience. They have demonstrated deep technical expertise, clear communication, and a commitment to delivering a high-quality product to our team.”

Nathan

Founder, Vestra Software

Want something similar?

We’ll design your ledger + settlement flows for correctness, auditability, and reliability under real payment failures.