BACK TO HOME LENDER_FLOW

Lender_Flow // Auto Collection Billing Daemon

An automated tool for collecting loan payments. It securely schedules card payments in the background and keeps database records safe.

The Problem

Micro-finance businesses suffer from high loan default rates because manual payment collection relies on user memory, resulting in delayed returns and lost capital.

The Solution

LenderFlow automates collections by linking borrower cards at registration. It executes scheduled payments in the background with automatic network recovery.

Decoupled Collection & Webhooks

Linking cards is kept separate from actual billing routines. Even if the user closes their browser or the network drops during a transaction, the background scheduler retries and captures the callback response securely.

3. Security & Database Transactions

Built to keep financial data completely safe. A client's balance is only updated after a successful payment receipt is verified and saved. If the internet drops mid-payment, the transaction cancels safely, preventing incorrect account balances.

PROJECT METADATA

STATUS Production
TYPE Billing Engine
TECH STACK PHP (PDO OOP)
MySQL Schema
Paystack Webhooks
Cron / Shell

Billing Cron Simulator

Trigger Card Link component to capture token

Automated Billing Algorithm

A. Standard deduction

Payments are calculated automatically based on a set percentage rate of the remaining balance.

B. Balance Capping

If the user's balance is lower than the calculated payment, the system adjusts the charge to collect only what is left.

C. Status Clearing

As soon as the balance is fully paid, the system marks the account as cleared and stops future charges.

Split Payment & Settlement Sandbox

INTERACTIVE DEPLOYMENT

Adjust the transaction volume (₦) to test the payment system. The graph shows Paystack fees, platform cuts, and merchant payouts in real-time.

Paystack Core Fee (1.5% + ₦100): -₦850.00
LenderFlow Platform Split (2.0%): ₦1,000.00
Merchant Settlement Payout: ₦48,150.00
API Split Response Latency: 45ms
Deduction Status: SUCCESS (CAPTURED)
TX SPLIT MERCH PLAT Incoming Tx API router ₦48,150 ₦1,000