Purpose: the complete inventory of the Payments & Wallet subsystem — the payment providers (the rails money moves on), the Pade Wallet (company + employee), and invoices/billing. Built inventory-first.

Relationship to Payroll: the disbursement of a payroll run (Payment Schedules — Process/Retry/Reverse/statutory) is documented in payroll/payment-pipeline.md. This module owns the layer beneath and around it: how money actually moves (providers), the wallet (balances, funding, send-money, beneficiaries, KYC, cross-border), and billing. Legend: ✅ · 🟡 · ⚪.

Demo caveat: the demo tenant's wallet isn't funded/enabled, so wallet UI screens render empty — this map + docs are built from the code (routes, services, enums) and cross-reference the pipeline screenshots.


Backend scale

Service Lines Role
PaymentService.cs 6,479 Core payment execution — bank & wallet payouts, provider webhooks
Admin/AdminPaymentScheduleService.cs 6,970 Payment-schedule admin (pipeline — see payroll)
WalletService.cs 310 Company wallet
Control/ControlWalletService.cs 305 Platform (back-office) wallet control
Control/ControlInvoiceService.cs 212 Platform invoice control
AdminWalletService.cs 138 Admin wallet
FlutterwaveService.cs 147 Flutterwave provider
PadeWalletService.cs 121 Pade wallet provider
InvoiceService.cs 116 Invoices/billing
PaystackService.cs 77 Paystack provider
Employee/WalletService.cs 75 Employee wallet

Controllers: Admin/Payment_Schedules 49 (pipeline), Control/Wallets 11, Payment_Schedules 6, Control/Invoices 4, Admin/Wallet 3, Employee/Wallet 3.

Background workers: ProcessQualifiedPaymentWorkerService, PaymentAcknowledgementConsumerService, PaymentSynchronizationService, BeneficiaryPaymentNotificationService, EmployerPaymentNotificationService.


1. Payment providers (the rails)

Provider Enum Service
Flutterwave 1 FlutterwaveService
Paystack 2 PaystackService
Monnify 3 (config)
VFD 4 (config)
Pade Wallet (product) PadeWalletService

PaymentProviderParams. Payouts via PaymentService.InitiateEmployeeBankPayout / InitiateEmployeeWalletPayout; providers confirm asynchronously via webhooks (FlutterwavePayoutNotification, Paystack payout notification). Doc: ✅ technical §2.

2. The Pade Wallet

Area Frontend Backend Doc
Company wallet (balance, inflows, statements) dashboard/wallets/** (Wallets, Transfers, Statements, Inflows, Withdrawals, Invoice) WalletService, AdminWalletService ✅ business §2, configuration
Wallet onboarding / KYC wallets/integration/** (Company Verification: BVN, Business Info, Bank Account, Terms) verification ✅ configuration §2
Direct debit (mandate funding) wallets/DirectDebit, modals/MandateAuthModal direct-debit ✅ configuration §3
Employee wallet employee-dashboard/wallet/** (Wallet, PIN, KYC, Beneficiaries, Transactions) Employee/WalletService ✅ business §3
Send money employee send-money-bank, send-money-wallet payout ✅ how-to
Beneficiaries beneficiaries/** WalletBeneficiaryType (individual/company) ✅ how-to
PIN pin/** (Create/Confirm/Enter), create-pin wallet PIN ✅ how-to
Cross-border crossBorder/** (Overview, MoveFunds, SwapMoney), admin crossBorderPayments/** cross-border payout ✅ business §4

Wallet products (WalletProductParams): Payout (1), Withdrawal (2), Invoice payment (3), Statutory payment (4), EWA repayment (5), Subscription (6), External Loan Repayment (7), Subscription VAT (8).

3. Invoices & billing

Area Backend Doc
Invoices, subscription, VAT InvoiceService, Control/ControlInvoiceService, Control/Invoices (4) ✅ business §5
Plan & Billing (tenant) Settings → Plan & Billing 🟡 (Settings module)

4. Control plane (platform back-office)

Control/Wallets (11) + Control/Invoices (4) + ControlWalletService — Pade's own back-office to oversee tenant wallets, verify KYC (ApproveVerification/DeclineVerification), and manage invoices. Doc: ✅ technical §4 (cross-ref Whitelabel/Control plane).

5. Cross-cutting