lomi.
SDKs

SDKs Overview

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

lomi. SDKs

Official SDKs for 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
Embed@lomi./embednpm install @lomi./embed
Pythonlomi-sdkpip install lomi-sdk
Golomi-go-sdkgo get github.com/lomiafrica/lomi-go-sdk
PHPlomi/lomi-sdkVia Composer (see below)

The curated TypeScript client is generated from the public merchant OpenAPI contract plus a strict _expected-public-operations.json allowlist. Other SDKs mirror the same endpoints but may diverge stylistically, always defer to openapi.json for truth.


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 (self) or pay beneficiaries
chargesWave, MTN, and embedded card charges
webhooksConfigure webhook endpoints
webhookDeliveryLogsDebug webhook deliveries
organizationsOrganization details and metrics
merchantsMerchant profile and revenue reads
providersEnabled payment providers

Choose your SDK


Requirements

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

Need help?

On this page