Case study · InsurTech

FlexySure: Digital insurance for East Africa: from quote to valid policy in minutes

Client
FlexySure
Industry
InsurTech
Location
Kenya / East Africa
Services
Product Engineering, Backend Development, Mobile App Development, Front End Development, DevOps Consulting

The client

FlexySure is an InsurTech platform from Kenya that digitizes the entire insurance journey. Consumers and brokerage agents compare covers across multiple insurers, get instant premium quotes, complete KYC, pay by M-Pesa mobile money, including in instalments, and receive a legally valid digital policy certificate without visiting a branch.

The brief also covered what happens after the sale: renewals, agent wallets and commissions all run on the same platform, which ships as three branded deployments for different insurance partners.

3
Branded deployments
100%
Digital policy issuance

01 · The challenge

What stood in the way

Paper-bound policy issuance

Buying insurance meant branch visits, paper forms and days of waiting between choosing a cover and holding a valid certificate.

Multi-insurer rating

Each insurer has its own products, coverage types, benefits and rate cards. All of them had to fit one catalogue and one premium-calculation engine.

Local payments and identity

The platform had to support M-Pesa STK Push, KRA tax-PIN validation and national-ID verification, the way Kenyan customers actually transact.

White-label multi-tenancy

The same product had to run as three separately branded deployments for different insurance partners, each with its own infrastructure and build.

02 · The solution

How we built it

  1. Premium calculation engine

    A rating engine over multi-insurer product, coverage and benefit catalogues produces instant quotes. Quote history, expiry scheduling and emailed PDF quotations are built in.

  2. Instant digital certificates

    Direct integration with DMVIC, Kenya's national motor insurance certificate authority, handles vehicle lookup and issues legally valid certificates in minutes.

  3. M-Pesa and instalments

    Safaricom M-Pesa STK Push with callback reconciliation, plus an EMI engine with instalment plans, schedules and adjustment policies. WebSockets show live payment status.

  4. Agent portal

    Brokerage agents get their own portal with a wallet, commission accrual and payout withdrawals, turning the platform into a distribution network.

  5. KYC and document management

    Digital KYC with document upload, KRA tax-PIN validation and national-ID verification via Gava Connect, stored securely on AWS S3.

  6. One pipeline, three brands

    A parameterized pipeline builds and ships three fully branded platforms, FlexySure, Pacis and MUA, each in its own Kubernetes namespace.

03 · The results

What changed for the client

Minutes, not days

Customers go from comparing covers to holding a legally valid digital certificate in a single sitting, without visiting a branch.

Insurance via mobile money

M-Pesa payments and instalment plans open insurance to customers who transact through mobile money.

Compliant by design

Direct DMVIC certificate issuance and KRA validation make the platform compliant, not just convenient.

Ready for new partners

The white-label architecture lets a new insurance partner launch its own branded platform from the same engine.

Technology used

  • Java 17
  • Spring Boot 3
  • MySQL 8
  • Liquibase
  • OAuth2 / JWT
  • OpenHTMLtoPDF
  • React 18
  • TypeScript
  • Redux Toolkit
  • Flutter
  • WebSocket
  • Kubernetes (K3s)
  • Traefik
  • AWS ECR
  • AWS S3
  • Bitbucket Pipelines
  • SonarQube
  • M-Pesa
  • DMVIC

Planning something like FlexySure?

Tell us about your project. A senior engineer will reply within one business day with questions, a suggested approach and next steps.