<aside> 🔁 Synced from GitHub #7f855dffcfd3. Edit in the paidhr-system-docs repository, not here: changes made in Notion are overwritten.

</aside>

Wallet

Status: Live

💡 In plain words

The wallet is a PaidHR money account, for companies and for employees.

Companies put money in (by bank transfer or payment link) and pay salaries and taxes out of it. Employees can receive salary and early-pay into their wallet, then send money, buy airtime and data, pay bills, use virtual cards or swap currencies. Every movement is recorded.

Like a mobile money or bank app built into PaidHR, with real bank accounts behind it.

Who's involved: companies (fund it and pay from it), employees (receive and spend), and banking partners (hold the actual money).

In one paragraph

wallet-service is PaidHR's money ledger. Every company and every employee can have a wallet: a balance in one or more currencies, backed by real bank accounts held with partners. Companies fund their wallet (bank transfer into a virtual account, payment link) and pay out of it: salaries, statutory remittances, transfers. Employees receive salary and EWA withdrawals into their wallet and can spend from it: transfers, airtime and data, cable TV, electricity, virtual cards, currency swaps. wallet-service records every movement as a wallet transaction and talks to banking partners so the rest of PaidHR never has to.

Key ideas

Term Meaning
Merchant An application allowed to use wallet-service (PaidHR is one). Has secret, public and encryption keys and an IP allow-list. Every wallet belongs to a merchant
Wallet One per user or company. userType is individual or corporate. Holds a balance per currency, a transaction PIN, KYC data and its status
Currencies NGN, USD and GBP by default; GHS as well. Stablecoins (USDC, USDT) exist for cross-border routes
Virtual account A real bank account number issued by a partner (VFD, Monnify, Flutterwave, Premium Trust, Leatherback, VertoFX, OnePipe) that credits the wallet when money is sent to it
Wallet transaction One debit or credit with the balance before and after. The source of truth for balances
Payment / payment transaction A batch of outgoing payments and its individual lines. See payouts
Credit source Where money came from: virtual account, payment link, collection account, earned wage access, card refund/fee
Post-no-debit A flag that blocks all debits on a wallet (risk or compliance hold)
Charges Transaction charges, cross-border charges, service and admin charges, and stamp duty, each configurable as a percentage or a fixed amount, with mark-ups or mark-downs

KYC

A wallet is verified in steps. Each step unlocks more:

Level Item How it's checked
1 Biodata Name, date of birth, phone, email
2 BVN kyc/verify-bvn: the BVN record's name must first match the wallet's own name, then the record must match on name plus either date of birth or phone, then an OTP to the BVN phone (kyc/verify-otp). Some non-NGN wallets skip this level and go straight to level 3
– NIN kyc/verify-nin
3 Proof of residence Upload: utility bill, driver's licence, tenancy agreement or voter's card. Reviewed by PaidHR staff (approved or declined)

KYC runs as a job (process-bmoni-kyc) because the main card and smart-wallet partner, Bmoni, needs its own onboarding: status pending → queued → processing → completed, partially completed or failed. Corporate wallets carry company name, RC number and incorporation date.

Connecting a phone that already has a Bmoni app account

When a card-eligibility check creates the person's Bmoni user and Bmoni says the phone number already has a Bmoni app account, the person is not refused. Eligibility returns nextAction: VERIFY_BMONI_PHONE with the message "This phone number already has a BMoni account. Enter the code sent to it to connect it." and an expiry (10 minutes unless Bmoni says otherwise). The person then enters the 6-digit code Bmoni texted them:

A connected account is marked bmoniImported and its Bmoni KYC counts as completed straight away (Bmoni refuses KYC submission for it). The pending code (bmoniPhoneOtpId, bmoniPhoneOtpExpiresAt) is kept on the wallet, never sent to clients, and removed once connected.

Sending money out to a bank account (not another PaidHR wallet) needs level 2 or level 3 KYC completed; without it the transfer is refused with "Complete KYC level 2 or 3 to make non-wallet transfers". Wallet-to-wallet transfers inside PaidHR don't need this.