lomi.
Setup

Overview

Welcome to the lomi.'s REST API documentation. This API allows you to integrate lomi.'s payment capabilities directly into your applications.

New to the API? Start with the API integration guide (first request, OpenAPI index, Try it, SDKs, and webhooks)—then return here for the full resource map.

You can use the API to manage resources like payment providers and configure webhooks to receive real-time event notifications.

Machine-readable paths, methods, and security are published in the OpenAPI reference (regenerated from the same Nest controllers as production).

Environments and authentication

lomi. provides separate Test and Live environments, each with its own base URL and API keys. All API requests must be authenticated using your secret API key passed in the `X-API-Key` header.

For full details on environments, base URLs, obtaining API keys, and security best practices, see the Authentication guide.

Requests and responses

All API requests should be made over HTTPS to the appropriate base URL. Request bodies (for `POST`, `PATCH` methods) should be sent as JSON.

Responses are returned in JSON format. Successful requests return `2xx` status codes. Failed requests return `4xx` or `5xx` status codes with a standardized error object in the response body.

Learn more about the structure of success and error responses in the Errors guide.

Payment behavior (beyond endpoints)

API resources

This core reference section covers the following API resources:

Versioning

The API is versioned in documentation and client libraries (for example the OpenAPI info.version field), but there is no /v1 prefix on HTTP paths. Breaking changes are communicated through the Changelog and migration notes; we avoid shipping incompatible changes without notice.

On this page