Skip to main content
The Monei Python SDK is written in Python and ships with full type hints. It works in any Python ≥ 3.8 environment and supports both sync and async operations.

Installation

pip install monei-sdk

Initialization

from monei import MoneiClient

monei = MoneiClient(
    api_key=os.environ.get("MONEI_API_KEY")
)

Configuration Options

OptionTypeRequiredDescription
api_keystrYesYour API key from the Monei dashboard
base_urlstrNoOverride the base URL (useful for sandbox)
timeoutintNoRequest timeout in seconds (default: 30)

SDK Services Overview

NamespaceService ClassWhat it does
monei.userUserServiceFetch and update the authenticated user
monei.wallet_accountWalletAccountServiceWallet info and virtual accounts
monei.depositDepositServiceNaira wallet deposits
monei.payoutPayoutServiceBank & peer transfers
monei.wallet_utilityWalletUtilityServiceBank lookup & account verification
monei.payment_methodPaymentMethodServiceSaved payment methods
monei.evmEvmServiceEVM blockchain operations
monei.solanaSolanaServiceSolana blockchain operations
monei.exchangeExchangeServiceToken swaps (EVM & Solana)
monei.billsBillServiceAirtime, data, electricity, cable TV
monei.transactionsTransactionServiceTransaction history & lookup
monei.bill_discoveryBillDiscoveryServiceFetch available biller items
monei.offramp_payoutsOfframpPayoutServiceOfframp bank lookup & verification
monei.bill_payBillPayServicePayment for bills
monei.offramp_ledgerOfframpLedgerServiceOfframp transaction history & lookup
monei.bill_recordsBillRecordsServiceBills history & lookup
monei.offramp_exchangeOfframpExchangeServiceSwap crypto to fiat
monei.bill_validationBillValidationServiceValidate bills
monei.businessBusinessServiceBusiness customer operations