Version: 1.0.0
Status: ✅ Running
Base URL: /api/v1
POST /api/v1/auth/register — Register new user/agentPOST /api/v1/auth/login — Login and get JWT tokenPOST /api/v1/auth/logout — Logout userGET /api/v1/user/profile — Get own profile (accessible by admin, user, agent)GET /api/v1/wallet/ — View wallet balancePOST /api/v1/wallet/send-money — Send money to another userPOST /api/v1/wallet/withdraw — Withdraw moneyGET /api/v1/transactions/me — View own transaction historyPOST /api/v1/wallet/add-money — Add money to own walletPOST /api/v1/agent/cash-in — Add money to user (cash-in)POST /api/v1/agent/withdraw — Withdraw money from user (cash-out)GET /api/v1/admin/users — View all usersGET /api/v1/admin/agents — View all agentsGET /api/v1/admin/wallets — View all walletsPATCH /api/v1/admin/wallets/:walletId/block — Block or unblock a wallet (body: { block: true/false })PATCH /api/v1/admin/agents/:agentId — Approve or suspend agent (body: { status: "approved" | "rejected" })GET /api/v1/admin/transactions — View all transactions