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
| Language | Package | Installation |
|---|---|---|
| TypeScript | @lomi./sdk | npm install @lomi./sdk |
| Python | lomi-sdk | pip install lomi-sdk |
| Go | lomi-go-sdk | go get github.com/lomiafrica/lomi-go-sdk |
| PHP | lomi/lomi-sdk | Via 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:
| Service | Description |
|---|---|
customers | Create and manage customers |
checkoutSessions | Create hosted checkout pages |
transactions | View transaction history |
paymentLinks | Generate shareable payment links |
paymentRequests | Request payments from customers |
products | Manage your product catalog |
prices | Configure product pricing |
subscriptions | Recurring billing management |
refunds | Process refunds |
discountCoupons | Create and manage coupons |
payouts | Withdraw funds to bank/mobile money |
beneficiaryPayouts | Pay out to third parties |
webhooks | Configure webhook endpoints |
webhookDeliveryLogs | Debug webhook deliveries |
Choose your SDK
TypeScript
For Node.js, Deno, and browser applications
Python
For Django, Flask, FastAPI, and scripts
Go
For Go web services and microservices
PHP
For Laravel, Symfony, and WordPress
Requirements
| SDK | Minimum version |
|---|---|
| TypeScript | Node.js 18+ |
| Python | Python 3.9+ |
| Go | Go 1.18+ |
| PHP | PHP 8.0+ |
Need help?
- Email: hello@lomi.africa
- Discord: Join our community
- GitHub: lomiafrica/lomi.