lomi.
SDKs

SDKs Overview

Official lomi. SDKs to integrate payments in your preferred language.

lomi. SDKs

Official SDKs for the lomi. payments API. Choose the SDK that matches your tech stack and start accepting payments in minutes.

Quick installation

LanguagePackageInstallation
TypeScript@lomi./sdknpm install @lomi./sdk
Pythonlomi-sdkpip install lomi-sdk
Golomi-go-sdkgo get github.com/lomiafrica/lomi-go-sdk
PHPlomi/lomi-sdkVia Composer (see below)

All SDKs are auto-generated from our OpenAPI specification, ensuring consistent behavior across languages.


Available services

All SDKs provide access to these API services:

ServiceDescription
customersCreate and manage customers
checkoutSessionsCreate hosted checkout pages
transactionsView transaction history
paymentLinksGenerate shareable payment links
paymentRequestsRequest payments from customers
productsManage your product catalog
pricesConfigure product pricing
subscriptionsRecurring billing management
refundsProcess refunds
discountCouponsCreate and manage coupons
payoutsWithdraw funds to bank/mobile money
beneficiaryPayoutsPay out to third parties
webhooksConfigure webhook endpoints
webhookDeliveryLogsDebug webhook deliveries

Choose your SDK


Requirements

SDKMinimum version
TypeScriptNode.js 18+
PythonPython 3.9+
GoGo 1.18+
PHPPHP 8.0+

Need help?

On this page