Sync and async
LencoClient for Django and scripts, AsyncLencoClient for FastAPI — same models, same resource API.
Transfers, collections, and mobile money across Zambia — typed, tested, framework-agnostic. Not affiliated with or endorsed by Lenco.
LencoClient for Django and scripts, AsyncLencoClient for FastAPI — same models, same resource API.
Pydantic v2 models for every request and response. mypy --strict clean across the whole package.
httpx and pydantic. That's it. Webhook verification is standard-library only. JWE card encryption is an optional extra.
Django, FastAPI, Flask, Celery, or a plain script — the SDK has no framework coupling.