Collins Kiptoo
Case study: Cloover

Quote to payout. Every step.

How an installer's offer becomes a checked, signed, financed loan, how the money and the audit trail follow, and how the platform moved to Next.js on Google Cloud. Two and a half years at Cloover, a Berlin climate fintech backed by a $1.2B debt facility and a €300M EIF guarantee. Customer data, partner names and internal figures stay private.

The journey

From an installer's offer to a financed customer

Every loan starts as an offer an installer builds for a household and ends with the installer being paid. I worked on every step in between, and on how they hand off to each other.

  • Offers and checkout: VAT per line item, split projects, status rules, and a lock on offers edited after signing.
  • The credit decision: bureau reports turned into underwriting data, the score-to-default mapping, an affordability rule.
  • Contracts, invoices and payments: generated documents with country tax footers, SEPA Direct Debit and Stripe, payouts to installers.
  • Tested with test users and mock bureau data, never a live credit service or a real customer.
Read the detail

Offers and checkout. The rules that turn a quote into something a customer can finance: VAT per line item (solar and batteries at 0%, heat pumps at 19%), split projects where one parent becomes two loans, checkout status rules, and a lock so an offer edited after signing can't slip through to payment. A Python check that every split sums back to its parent.

The credit decision. Credit-bureau reports processed into structured underwriting data. The mapping from bureau score to probability of default that the rest of the platform relies on, in server-side JavaScript. An affordability rule on existing debt against net income. Underwriting alerts with the numbers the credit team needs, and a back-office page to import a report by hand when the API can't be used.

Contracts, invoices and the money. Generated contracts and invoices with country-specific tax footers, transactional email at every step, then SEPA Direct Debit and Stripe for the payments and the payouts to installers.

Testing it without touching real people. For the checkout rebuild I built the test users, mock bureau data so tests never call a live credit service, documentation of every validation message, and an audit of where old status fields were still used. I was the named validator on fixes before they shipped.

OFFER
solar, battery, heat pump
Solar PV0% VAT·✓
Battery0% VAT·✓
Heat pump19% VAT·✓
Credit checkbureau·✓
Affordability rulepassed·✓
Contractsigned·✓
StatusFinanced
Illustrative offer

Also in the journey

  • Accounts created only after the customer signs, with no password step for cash payers
  • Organisation-level feature switches, so markets and partners could get different flows
  • An installer incentive programme (monthly tiers, milestone bonuses, credit notes and invoicing), which I inherited and maintained
  • Lead notifications to installers, with a PDF dossier per lead
  • Solar and address data in the offer flow: roof insights, geocoding, address autocomplete
Payments

Payout reconciliation

The problem. In every daily bank run, a share of incoming payments failed to link to an invoice. Finance matched them by hand, and the unmatched pile kept growing.

  • Causes: payments changed after invoicing, wrong reference accounts, partial and overpayments, and an invoice type the matcher never expected.
  • Fix: traceability on every payout record, the link repaired at the source, the history backfilled.
  • Result: what stays unmatched is the set that genuinely needs a human.
Read the detail

What I did. Opened the issue across engineering, finance and data. Traced the causes, each a common payment-matching failure: payments changed after the invoice was issued, transfers to the wrong reference account, partial and overpayments, and an invoice type the matcher never expected. Added traceability to every payout record so each link could be explained. Shipped the fix, then backfilled the history.

Result. What stayed unmatched was the set that genuinely needs a human.

What I'd do differently. Add the traceability first. Most of the diagnosis time went into reconstructing why a link failed after the fact.

What's next. I'm rebuilding this problem in code, on synthetic data, as my first ASP.NET Core and React project. Payout Reconciler.

DAILY BANK RUN
payouts to invoices
Payout A1,240.00openlinked
Payout B · wrong reference612.00openlinked
Payout C · changed after invoice2,105.30openlinked
Payout D · partial845.00openlinked
Payout E5,300.00openlinked
matched by handlinked at the source
Illustrative rows, not real payouts

Also on the money path

  • Stripe PaymentIntents, SetupIntents, Checkout, SEPA Direct Debit, customer balance and virtual IBAN flows, payouts and refunds
  • The monthly direct-debit cycle: invoice, notify, charge, reconcile by webhook
  • A webhook safety net: payment events for unknown invoices now stop instead of acting on bad data
  • Direct-debit mandates and consents audited, and the valid ones kept as legal evidence
Compliance

EIF guarantee eligibility

  • Auditors need, per deal, the evidence it was eligible, and that evidence must survive later changes to rates and tables.
  • One record per project, created at approval, with a frozen cost-of-funds snapshot, the stored checks and recompute metadata.
  • Before building it I audited the finance team's real spreadsheet cell by cell; the errors were fixed before sign-off.
  • Backfilled every approved German project, and caught a missing-snapshot bug before the results were used.
Read the detail

Why it exists. The European Investment Fund guarantees part of the loan book. Auditors need to see, per deal, why it was eligible: financing period, borrower risk, effective rate against a cap, margin over the cost of funds, a transfer-of-benefit test. That evidence has to survive later changes to rates and tables.

What I built. Version one encoded three conditions on the credit application. Version two, scoped with the finance owner and the platform and data leads, gave eligibility its own record: one row per project, created automatically at approval, serving both the legacy platform and the new one. A frozen cost-of-funds snapshot, the stored checks, the derived inputs, and recompute metadata, so any later recalculation is itself auditable. A tab on the back-office project page where an auditor can read it.

Before building it, I asked for the finance team's real spreadsheet rather than a CSV of its outputs, because formulas can't be reconstructed from results, and audited it cell by cell. The errors I found were fixed before sign-off.

Backfill. Every approved German project, with split projects taking their score from the parent, sent to finance for verification. The first live test treated a missing snapshot as zero and inflated the margin; I caught it and fixed it before the results were used.

CountryPASS
Transfer of financial benefitPASS
Margin over cost of fundsPASS
OverallELIGIBLE
one record per deal, frozen at approval

Credit data

  • Bureau reports processed into structured underwriting data; the score-to-probability-of-default mapping used across automations
  • Mock bureau data so the test environment never calls a live service
  • Underwriting notifications extended with revenue and a refinancing-premium calculation
  • Missing credit records reconciled for the data team, with the cause traced
How it was built

A low-code platform, held to the standard of code

Cloover ran on Bubble.io, a visual development platform, until the move to Google Cloud. The engineering problems were the ones any payments team has. The habits that carry over to React, TypeScript and .NET:

  • Idempotency over UI guards. A double-click once split a project twice. The quick fix was a guard on the button. The right fix is a write that can't happen twice, and that's what I design first now.
  • Code where correctness demands it. Logic that had to be exact, such as the credit-score mapping, ran as server-side JavaScript (Node.js) rather than visual workflow conditions.
  • Reconcile with code. Python scripts to prove that splits sum back to their parent and that fee formulas hold across every live project.
  • Change control. Branches and scheduled releases, hotfixes with a named owner, production data corrections batched into CSVs finance could check, and a formal code-review rotation, where I was the first engineer.
  • Test data, not real people. Test users and mock bureau data, so testing never touched a live credit service or a real customer.

Team role

Named as the platform-expertise contact in the engineering onboarding plan. Ran pairing sessions for engineers who joined in 2025. First in the code-review rotation, and the named validator before release. Inherited the installer incentive system, with its monthly tiers, credit notes and invoicing, when its builder left.

Server-side JavaScriptPython scriptsREST APIsWebhooksPrivacy rulesBranches and releases
Migration

Carrying it through a rebuild

In 2026 the platform moved to Next.js and TypeScript on Google Cloud. A rebuild only works if someone can say, precisely, how the old system behaves. That was my role while the Google Cloud engineers built the new services.

  • Found that projects created on the new platform never set a customer link the legacy app depended on, and closed the gap
  • Traced a project that bypassed the new checkout redirect, and proposed a single-workflow fallback
  • Diagnosed webhooks rerouted to the new platform that had left two sources of truth
  • Aligned fee fields and invoice timing so finance saw one set of numbers
  • Kept installer leads flowing to organisations that had moved to the new platform
  • Wrote the new platform's credit-scoring and notification tickets from the legacy behaviour
  • Documented the pipeline from pull request through GitHub Actions and Artifact Registry to Cloud Run and Cloud SQL as a five-part onboarding guide

In the final phase I moved into the new codebase myself to test features before release. How that worked.

LegacyBubble.io. Payments, credit, invoicing.
parity
Google CloudNext.js and TypeScript. New checkout and services.
The integrations

One API layer, many services

Payment, accounting, CRM, document, email, screening and location services, built and maintained as direct API calls rather than plugins.

Payments and bankingStripe (PaymentIntents, Checkout, SEPA Direct Debit, payouts, Identity), direct-debit mandates, QuickBooks, BIC lookup, currency exchange
Credit and complianceCredit-bureau reports, sanctions screening, email validation
Documents and messagingDocuGenerate, Postmark, SMS, Slack
CRM and partnersHubSpot, Zapier and Pipedrive (approved for Zapier's public listing), a partner API
Solar and locationGoogle Solar insights, Google Places, geocoding

Keeping it safe

  • Privacy rules across core data types
  • Webhook hardening for payment and email providers, including signature verification work and removing a shared-key dependency
  • Live keys kept out of the test environment, and test and live data strictly separate
  • Proposed moving sensitive payment actions from the browser to the backend

Invoices, fees and documents

  • Fee and pricing sweeps across every live project, batched into CSVs finance could act on
  • Loan payment-plan maths checked from first principles: effective interest rate and VAT
  • Duplicate invoices traced to their cause, and credit notes linked back to their parent invoices
  • Contract and invoice templates with conditional rendering and country-specific tax logic
  • Payment-reminder ladders across several markets, with copy finance signed off

Have a project or a role?

hello@collinskiptoo.site
Collins KiptooNairobi, on European hours.
Projects, contracts or full-time. Available now.

Email Collins

hello@collinskiptoo.site

Open in Gmail Open in Outlook Use my mail app