01Overview
A platform that wants to offer secured loans usually has to build a lending business first. This engine does that part. It owns the loan record, the pricing, the risk watch and the audit trail, and each platform keeps its customers and moves its own money.
The engine
Prices, watches, accrues, recovers and reconciles every loan, with an append-only audit log.
The partner portal
Onboarding, keys and webhooks, the partner’s own loans and risk, reports and a product builder.
The operator console
Partner setup, certification and activation, risk and recovery cases, product approval and the audit trail.
02The challenge
Every platform had to build lending itself.
A platform that wanted to lend against its customers’ holdings had to build the whole lending business itself: pricing, risk watch, recovery, repayment and audit. Each new partner meant custom work, and risk was checked by hand.
What the client wanted to achieve
No custom code per partner
Any qualifying platform joins by configuration and certification.
The numbers are always right
Exact money math, and no ratio ever rounded in the borrower’s favour.
Every loan watched, every step on record
Risk re-checked continuously, and an audit log that only grows.
No loan opens on a promise
Collateral is held and the payout confirmed before a loan is active.
How it worked before
- Pricing, risk and recovery built from scratch
- Custom work for every new partner
- Risk checked by hand
03How we built it
- 01
Mapping the loan’s whole life
Every state a loan can be in, eighteen of them, from the quote to the close, with the risk bands and recovery in between.
- 02
Who each party must be
What the platform attests to and what the engine guarantees: eighteen signed responsibilities, and every legal role on record before anyone can act.
- 03
A standard connection for partners
One interface the partner calls, signed messages both ways and one connector, so a new partner joins by configuration.
- 04
Every loan structure, configurable
Products built from loan types, interest methods, maturity types and ways to originate, each loan freezing its terms at the quote.
- 05
Pricing that cannot be fooled
Several independent price sources, an outlier filter, a staleness check and a quorum, with every price kept on record.
- 06
A certification partners must pass
An automated conformance run and a signed checklist, with a go, watch or blocked verdict, before any real money.
- 07
Proving the arithmetic, then the seams
About 1.9 million loan calculations checked against an exact reference, and every finding turned into the road to launch.
04How it works
Step 01Quote
Priced from several sourcesThe loan is sized from independent prices.Terms frozenThe quote holds on the product’s exact terms.Step 02Open
Collateral heldThe platform confirms the hold first.Payout confirmedThe loan opens only once the money has gone out.Step 03Watch
Riskiest firstEvery open loan re-checked, oldest and riskiest first.Bands and recoveryFrom a warning to a margin call, and only then a guarded sale.Step 04Close
Repaid in orderFees, then interest, then principal.Released after closingThe hold ends only once the loan is closed.
Never personal data
An opaque id. The platform decides eligibility, and the borrower sees the loan’s status.
Owns the customer
Identity, custody, payouts and repayment collection, nine signed responsibilities and six portal roles.
Runs the engine
Sets up partners, approves products and activation with a second person, and runs recovery.
05The outcome
One engine runs the whole life of a loan, from the quote to the close: priced from several independent sources, watched continuously, recovered in order, and every step written to an audit log.
| Before | After |
|---|---|
| Custom work for each partner | One standard connection, set up and certified |
| Lending rules rebuilt per platform | One engine that holds the rules and the records |
| Risk checked by hand | Every open loan watched continuously, the riskiest first |
| Stuck cases handled one by one | An operator console where every fix is on record |
| “Is the partner ready?” was a guess | A pass or fail certification and a go-live checklist |
06Key figures
07Technology
What the system runs on, for the technical reader.
- Cloud
- AWSContainersManaged PostgreSQL and RedisTerraformDocker
- Data
- PostgreSQLDrizzleRedisExact decimal money math
- Integrations
- A contract-first REST APISigned webhooks both waysA TypeScript SDKStarter kits in eight languages
- How we build
- TypeScriptNode.jsFastifyVitestTestcontainers
08What comes next
Next, a first partner builds against the engine in its sandbox and earns its certification. Lending then starts on the plain fixed-term loan, and every other structure is switched on after its own review.
What a partner passes before going live
- Keys and tenant isolation work
- Quotes are created and expire
- Invalid cases fail safely
- Signed webhooks are verified, and a duplicate does nothing
- A failed hold or payout never opens a loan
- Partial and full repayment work, and a duplicate is never counted twice
- Collateral is released only after the close
- Reconciliation catches every mismatch
09About
About the client
A platform that lets financial companies offer secured loans to their customers without building a lending business of their own. We name a client only with their permission.
About MYBB
MYBB builds systems around how a business already works. We diagnose it with MYBB ROIQ, build the system, launch it with the team and keep running and improving it.



