Cosmic Module
O
Qubits of DPK
March 23, 2026
Core Open Source
Layer: Layer 9 — The App Shell
Auto-generated OpenAPI Java client for calling Fineract REST APIs. Generated from the OpenAPI spec using the OpenAPI Generator.
Contains: PostClientsRequest, PostLoansRequest, PostLoansResponse etc — all the typed models you used in your 4 PRs.
What This Module Is (Big Picture)
The client module provides a Java SDK that allows other systems to interact with Apache Fineract APIs.
Instead of manually sending HTTP requests to the Fineract server, developers can use this client library to:
- call APIs
- send requests
- receive responses
- integrate with other systems
This module simplifies integration between Fineract and external applications.
Layman Example
Imagine another system wants to create a client in Fineract.
Without the client module:
The developer must manually send an HTTP request.
Example:
plain text
QUBITS OF DPK
With JSON payload.
With the fineract-client module, the developer simply calls a Java method.
Example:
plain text
QUBITS OF DPK
The client library automatically handles:
- HTTP requests
- request serialization
- response parsing
Where the Code Lives
The client module is typically used by external systems integrating with Fineract.
Key Package
org.apache.fineract.client
Responsibilities include:
- API client definitions
- request models
- response models
- API call abstractions
API Client Interfaces
The module defines interfaces representing Fineract APIs.
Examples include:
These interfaces map to the REST endpoints in the provider module.
Example Client API Interface
Example interface for client operations.
java
QUBITS OF DPK
This interface allows applications to interact with client APIs programmatically.
Example Client Request Object
Request objects represent API input.
Example:
java
QUBITS OF DPK
This object is converted into a JSON request when sent to the server.
Example API Call
Example usage of the client library.
java
QUBITS OF DPK
This call sends a request to the Fineract server.
HTTP Communication
Internally, the client module performs:
- #request serialization
- #HTTP request execution
- #response deserialization
Example communication flow:
java
QUBITS OF DPK
Response Models
Responses returned by the server are mapped to response objects.
Example:
java
QUBITS OF DPK
This object represents the server response.
API Authentication
The client module supports authentication using:
- API keys
- basic authentication
- OAuth tokens
Authentication headers are added automatically to requests.
Repository Layer
The client module does not interact with the database.
Instead it communicates with the Fineract server APIs.
Exceptions
These exceptions handle integration failures.
How It All Connects (Full Flow)
Example: External system creating a client
java
QUBITS OF DPK
Why This Module Matters
The client module allows:
- external systems to integrate with Fineract
- developers to build applications on top of Fineract
- simplified API communication
It acts as an integration bridge between Fineract and external applications.
One-Sentence Summary
fineract-client is a Java SDK that allows external applications to interact with Apache Fineract APIs programmatically.