Skip to main content
Learn how to build a digital savings vault application using Yabetoo, inspired by platforms like SafeLock. This guide covers vault creation, deposits, scheduled unlocks, and withdrawal processing.

Overview

Digital savings platforms need to handle:
  • Goal-based savings vaults with lock periods
  • Mobile money deposits
  • Automatic and manual vault unlocks
  • Withdrawal processing with fees
  • Interest or rewards calculations
  • Multi-vault management per user

How SafeLock Works

SafeLock is a mobile-first financial management app that helps users save money through “vaults” - locked savings containers tied to personal goals with predetermined release dates. Key features include:
  • Goal Tracking: Multiple vaults for different objectives
  • Mobile Money Integration: MTN and Airtel Money support
  • Flexible Unlocking: Auto-unlock at maturity or early withdrawal with fees
  • Offline Support: Access accounts without internet

Architecture

Implementation

1. Data Models

Define vault and transaction structures:

2. Create Savings Vault

Allow users to create goal-based vaults:

3. Deposit to Vault

Process deposits via mobile money:

4. Webhook Handler for Deposits

Process successful deposits:

5. Vault Maturity Processing

Handle vault unlocks when maturity date is reached:

6. Withdrawal Processing

Handle both maturity and early withdrawals:

7. Dashboard Statistics

Provide users with savings insights:

8. Savings Reminders

Encourage regular deposits:

User Flow

1

Create Account

User registers with phone number (MTN or Airtel).
2

Create Vault

User creates a savings vault with a goal, target amount, and unlock date.
3

Make Deposits

User deposits money via mobile money at any time.
4

Track Progress

User monitors progress towards savings goals in the app.
5

Vault Matures

When unlock date arrives, vault becomes available for withdrawal.
6

Withdraw

User withdraws funds to their mobile money account.

Fee Structure

Best Practices

Create weekly or monthly savings challenges to encourage consistent deposits.
Allow users to share progress (anonymously) to create accountability.
Let users adjust target amounts and dates if circumstances change.
Consider offering small rewards for completing savings goals on time.

Notification Templates

Payment Intents

Learn about processing deposits

Disbursements

Handle withdrawals to users