lomi.

API reference

Use the public lomi. merchant API to accept payments, manage commerce objects, move money, and handle operational events.

The API reference documents the public merchant API: the endpoints a developer should use from a server-side integration. It intentionally does not expose internal provider, organization, merchant-admin, or agent services.

If you are choosing an integration path, start with Integration journey or Which payment integration should I choose?.

Base URLs

EnvironmentBase URLSecret key
Testhttps://sandbox.api.lomi.africalomi_sk_test_...
Livehttps://api.lomi.africalomi_sk_live_...

Send your secret key in the X-API-Key header from your server.

Accept payments

GoalAPI
Hosted checkoutCheckout sessions
Shareable payment URLsPayment links
Backend-created payment requestsPayment requests
Lower-level Wave, MTN MoMo, and card flowsAdvanced direct charges

Manage commerce

GoalAPI
Customer records and portal launch sessionsCustomers
Products, prices, and catalogsProducts
Recurring billing and customer subscriptionsSubscriptions
Discount codes and coupon performanceDiscount coupons

Move and reconcile money

GoalAPI
Read available and pending balancesBalances
Inspect payment recordsTransactions
Create and inspect refundsRefunds
Create and inspect payoutsPayouts

Operate reliably

GoalAPI
Configure endpoints, test delivery, inspect logs, retry failuresWebhooks

Reference conventions

  • Guide pages explain product decisions and end-to-end flows.
  • API pages describe exact HTTP operations.
  • Direct charges are advanced; hosted checkout remains the default recommendation.
  • Use sandbox for development and live only after your integration passes the go-live checklist.

On this page