New New: idempotent repayments with client_ref — safe retries for branches on patchy connections Read →
74 Sign in Start free trial
Banking API · Member Mobile API · Webhooks

Build on the Zung.ai MFI platform.

Developer documentation for microfinance institutions and SACCOs: the Banking API, the Member Mobile API, webhooks and step-by-step guides for every core MFI workflow — members, KYC, savings, loans, repayments and portfolio at risk.

56
Live endpoints
30
Categories
5
MFI guides
curl "https://app.zung.ai/connector/api/banking/members" \
  -H "Authorization: Bearer $ZUNG_TOKEN" \
  -H "Accept: application/json"
200 OK Response
{
  "data": [
    {
      "id": 8821,
      "member_number": "MEM-008821",
      "name": "Fatuma Njeri",
      "mobile": "+254712345678",
      "email": null,
      "status": "active",
      "joined_on": "2026-03-14"
    }
  ],
  "meta": { "current_page": 1, "last_page": 12, "per_page": 25, "total": 288 }
}

Build with AI

Your AI assistant, fluent in the Zung API

Point Claude, Cursor or Copilot at our llms.txt and OpenAPI spec. They build against endpoints that exist — and skip the ones still on the roadmap.

prompt
Read https://mfidoc.com/llms-full.txt and build an offline-first app for loan officers that captures repayments at group meetings and syncs them with client_ref.
✓ Uses POST /loans/{id}/repayment · skips [planned] webhooks

Quick start

From zero to your first call in three steps

  1. 1

    Create an API user

    In Zung, your admin turns on the Connector module and creates a dedicated API user with only the permissions you need.

    Connector → API → New client
  2. 2

    Send the bearer token

    Every request carries the token. It inherits that user's permissions and branch access.

    Authorization: Bearer $ZUNG_TOKEN
  3. 3

    List your members

    One call returns paginated members with member number, mobile and status.

    GET /members?q=njeri

Code examples

Common MFI workflows, in code

GET /members
curl "https://app.zung.ai/connector/api/banking/members" \
  -H "Authorization: Bearer $ZUNG_TOKEN" \
  -H "Accept: application/json"
{
  "data": [
    {
      "id": 8821,
      "member_number": "MEM-008821",
      "name": "Fatuma Njeri",
      "mobile": "+254712345678",
      "email": null,
      "status": "active",
      "joined_on": "2026-03-14"
    }
  ],
  "meta": { "current_page": 1, "last_page": 12, "per_page": 25, "total": 288 }
}

Built for microfinance

Not a generic payments API

The API follows how MFIs and SACCOs actually work, so you write less glue code.

Generic fintech APIs

  • No idea what a solidarity group or loan officer is
  • Retries on bad connections double-post payments
  • You compute arrears and PAR yourself
  • One flat token sees every branch
  • Members and staff share one API surface

The Zung platform

  • Groups, loan officers, branches and next of kin are first-class
  • client_ref makes repayments and deposits safe to retry
  • PAR 1/30/60/90 and disbursed-vs-collected out of the box
  • Tokens inherit the staff user's permissions and branch access
  • A separate Member Mobile API that only sees the member's own accounts

Open source

Built in the open on GitHub

4 MIT-licensed libraries: Member API clients, the loan schedule engine Zung uses, and PayMfi payment SDKs — for PHP and Node.js.

All repositories →
zung-ai/paymfi-php

PayMfi PHP client

Public

PHP client for the PayMfi eWallet & Payments API: signed requests, hosted checkout, server-side verification and webhook signature checks.

phpsdkwebhookpaymentsmfi
PHP ★ 24⑂ 26 MIT License Updated 28 Sep 2026
zung-ai/paymfi-node

PayMfi Node.js client

Public

Node.js client for the PayMfi eWallet & Payments API: signed requests, hosted checkout, server-side verification and webhook signature checks.

nodejsapitypescriptsdkwebhookpaymentsmfi
Node.js ★ 20⑂ 13 MIT License Updated 28 Sep 2026

Glossary

59 microfinance terms, explained

PAR, provisioning, deposit multipliers, murabaha — plain definitions with formulas and worked examples.

Open the glossary →

Countries

Regulators, rails and bureaus by market

Regulators, mobile money rails, credit bureaus and Zung Store solutions in 39 countries across 5 regions.

All 39 countries →

Client stories from the people who run the institution

Leaders of SACCOs, insurers and MFIs on what changed after moving their core onto zung.ai.

Client story 2:28

Cocolife Insurance

Jessica Sanga · SVP, Head of Loans

Metro Manila, Philippines

On rebuilding origination and servicing around an AI-native core, and what it gave back to her lending team.

Client story 4:53

Jengeka MicroFinance

Hamisi Bukhari · Chief Technology Officer

Dar es Salaam, Tanzania

On data reconciliation, dual running, and the week the legacy core was switched off for good.

Every institution here runs production workloads on zung.ai. Reference calls available on request.

All client stories →

FAQ

Frequently asked questions

Who can use the API?

Any MFI or SACCO on a Zung plan that includes the Connector module. Your admin creates the API user and token; there is no separate developer account.

Is there a sandbox?

Ask us at dev@mfidoc.com for a sandbox institution loaded with sample members and loans. Never test against live member data.

What is the difference between the Banking API and the Member Mobile API?

The Banking API acts as a staff user and can see every member in that user's branches. The Member Mobile API acts as one member and only ever returns that member's own accounts.

Support

We're here when you get stuck

Developer email

Integration architecture, auth, webhooks or a specific endpoint. We reply within 4 business hours.

dev@mfidoc.com

Developer Hub

Inside Zung, behind your login: your endpoints, base URL and a webhook tester for your own institution.

Open Developer Hub ↗

Build a plugin

Package your integration and list it for every MFI on the Zung platform.

Submit to MFI Market ↗