RESTful API
API NANOCASH
Project Context
As part of the digital transformation of financial services, I designed and developed a secure RESTful API powering a mobile electronic wallet (e-wallet) application connected to a Core Banking system.
The primary objective was to enable users to perform secure mobile financial transactions while ensuring reliable synchronization with the central banking system.
API Objectives
- Enable customers to manage their electronic wallets
- Provide merchants with a digital payment collection system
- Handle financial transactions (deposit, withdrawal, payments)
- Synchronize operations with the Core Banking system
- Ensure transaction security and full traceability
User Types
Customer
Customers can:
- Create an account
- Log in via secure authentication
- Check their wallet balance
- Make deposits
- Perform withdrawals
- Pay merchants
- View their transaction history
Merchant
Merchants can:
- Create a merchant account
- Generate payment requests
- Accept digital payments
- View received transactions
- Track sales statistics
API Architecture
The API is built on a RESTful architecture structured into multiple modules:
Authentication Module
- User registration
- Login
- JWT authentication
- Role management (Customer / Merchant)
- Refresh token mechanism
User Module
- Profile management
- Identity verification (KYC)
- Account activation / deactivation
Wallet Module
- Automatic wallet creation
- Real-time balance checking
- Multi-currency management (if applicable)
Transactions Module
- Deposit
- Withdrawal
- Customer → Customer transfer
- Customer → Merchant payment
- Unique transaction ID generation
- Full transaction logging
Core Banking Module
- Bank account synchronization
- Transaction validation
- Funds verification
- Transaction status feedback (success / failed / pending)
Security & Reliability
The API integrates:
- JWT-based authentication
- Secure password hashing
- Strict data validation
- Protection against common attacks (CSRF, injection, etc.)
- Transaction logging system
- Rollback mechanism in case of banking failure
- Rate limiting for request control
Transaction Management
Each transaction includes:
- Unique identifier
- Type (deposit, withdrawal, payment, etc.)
- Amount
- Status (pending, success, failed)
- Date and time
- Sender
- Recipient
- Banking reference
My Work
Trusted by Businesses and Organizations
French