The TypeScript SDK is a fetch-based client for browser, Bun, Deno, edge, and other runtimes that provide fetch.
Package
npm install @f-wallet/typescript
Client setup
import { Configuration, WalletsApi } from " @f-wallet/typescript " ;
const config = new Configuration ( {
basePath: " https://api.fwallet.co.ug " ,
const wallets = new WalletsApi (config);
const wallet = await wallets . walletsGetWalletsById ( { id: " wallet-id " } );
Resource clients
Resource Class Admin AdminApiAuth AuthApiDeposits DepositsApiDeveloper DeveloperApiHealth HealthApiJournal JournalApiPayouts PayoutsApiSystem SystemApiTeam TeamApiTenants TenantsApiTransfers TransfersApiWallets WalletsApi
Operation methods
Resource Methods Admin adminGetAdminDashboard, adminGetAdminFeeSchedules, adminPostAdminFeeSchedulesByIdRulesAuth authGetAuthMeDeposits depositsPostDepositsBankSlipVerify, depositsPostDepositsBankStatements, depositsPostDepositsMomoWebhookDeveloper developerGetDeveloperApiKeys, developerGetDeveloperApps, developerGetDeveloperRequestLogs, developerPatchDeveloperApiKeysByIdRestrictions, developerPatchDeveloperAppsById, developerPostDeveloperApiKeys, developerPostDeveloperApiKeysByIdRevoke, developerPostDeveloperApiKeysByIdRotate, developerPostDeveloperAppsHealth healthGetHealthJournal journalGetJournal, journalGetJournalByIdPayouts payoutsGetPayoutsCases, payoutsPostPayouts, payoutsPostPayoutsByCaseIdApprove, payoutsPostPayoutsByCaseIdRejectSystem systemGetSystemOrganizations, systemGetSystemOverview, systemGetSystemTransactions, systemGetSystemWallets, systemPostSystemOrganizationsTeam teamGetTeam, teamPostTeamTenants tenantsGetTenantsById, tenantsPostTenants, tenantsPostTenantsByIdApiKeysTransfers transfersPostTransfers, transfersPostTransfersSimulateFeeWallets walletsGetWallets, walletsGetWalletsById, walletsGetWalletsLookup, walletsPostWallets
Signing
The package exports request signing helpers from signing.ts. Use those helpers on server-side runtimes when you need HMAC signed requests instead of bearer API keys.