Integrate lending and deposit workflows
Use the products and test accounts supplied by your bank. Before showing success to a customer, check approvals, the response status and the resulting transactions. The explorer lists the request and response fields for each step.
Discover products and identifiers
GET /api/product/v1/searchproducts?Type=loan supplies the exact loan productCode. Loan creation accepts the string code, preserving letters and leading zeros, up to 50 characters. Type=fixeddeposit discovers fixed-deposit products; fixed and fixed_deposit are accepted aliases.
GET /api/product/v1/searchgrouploanproducts supplies group-loan product IDs, their base loan product, status and participant limits. Use the returned numeric id as groupLoanProductID in group-loan creation. A base loan product ID or either product's display code is not interchangeable with that ID. Optional filters are ID, ProductCode, Status, PageNumber and PageSize (maximum 200).
Customer/account identifiers come from account/customer discovery. Confirm that linked funding accounts, products, repayment calendars, fees, mandates and approval rules are ready before a write.
Individual loans
| Step | Operation | Check before continuing |
|---|---|---|
| Create | POST /api/loanaccount/v1/add | Customer, linked account, product code, amount, start date, tenure and repayment enums; conditional collateral, security-deposit, rate and fee fields. |
| Locate / verify | GET /api/loanaccount/v1/search | Returned loan identifier, status and bank approval outcome. |
| Disburse | POST /api/loanaccount/v1/disburseloan | Eligibility, approved dates and destination account/GL rules. |
| Read schedule | GET /api/loanaccount/v1/viewloanschedule | Installment dates and principal, interest, fee, penalty and default components. |
| Repay | POST /api/loanaccount/v1/repayloan | Exact loan/funding identifiers, amount and resulting postings. |
| Prepay | POST /api/loanaccount/v1/earlyrepaymentloan | Product prepayment rules, effective date, applicable charges and resulting schedule. |
| Maintain | PUT /api/loanaccount/v1/update | Supported changes and effective approval state; not a substitute for schedule-change operations. |
Use GET /api/utility/v1/loanoptions for the numeric values accepted by individual loan creation and update. Group-loan participant fields use different values. For example, individual economicSector: 40100 means Agriculture, while account sectorCode: "0" means Agriculture. Do not reuse one field’s values in another.
GET /api/utility/v1/interests supplies applicableInterestCode and its rate basis. GET /api/utility/v1/loanfees supplies fee codes. With useProductFeeRate: false and applyLoanFees: true, supply one fee in loanFees; more than one returns 400. Product fees and group-loan fee settings follow their own rules. See reference data for filters and field mappings.
Repay from a collections ledger
POST /api/loanaccount/v1/repayloan funds the repayment from collectionsGL, then settles the selected schedules. Funding and settlement commit in one transaction. If settlement fails, both roll back. collectionsGL is the ledger code from ledger discovery, not a customer account number.
Supply a unique reference and a positive Naira amount with at most two decimal places. The amount cannot exceed the outstanding amount in the selected schedules. Normal repayment selects schedules due through the bank financial date. earlyTermination: true includes future schedules and requires enough to settle all selected dues.
Ask the bank whether your integration can apply collections-ledger repayments immediately. This endpoint does not queue approval-based repayments: when immediate processing is unavailable, it returns 400 without moving funds. Contact the bank to arrange the repayment. forceDebit=true and a separate feeIncomeGL override are unavailable.
Save data.reference, data.postingReference and the HTTP request reference. If the response is lost, call GET /api/loanaccount/v1/repaymentstatus?Reference=... with the original business reference. processingStatus: Completed confirms both funding and repayment committed. A repeated completed reference returns 409 without another debit. A 404 status lookup can mean a request is still running; check again or contact the bank before submitting a replacement.
For a principal-only reduction with a recalculated remaining schedule, follow Repay part of a loan principal. Normal repayment uses the bank's allocation order; selecting schedules for early settlement is a different operation.
Settle selected schedules early
For POST /api/loanaccount/v1/earlyrepaymentloan, paymentOption: 1 settles all outstanding schedules. To select particular outstanding schedules, use paymentOption: 2 and the schedule IDs returned by GET /api/loanaccount/v1/viewloanschedule:
{
"loanAccountNumber": "0123456789",
"paymentOption": 2,
"paymentSchedulesToProcess": [123],
"reference": "example-repayment-001"
}
Replace the loan account number, schedule IDs and reference. This option selects schedules to settle; it is not an arbitrary partial-principal payment. Read the current outstanding amounts and agree the prepayment charges with the bank. After an uncertain response, check the loan schedule and transactions before submitting again. The collections-ledger repaymentstatus endpoint applies to repayloan, not this operation.
If you supply a positive actualFeesToBePaid override, also supply incomeGL using a code from GET /api/utility/v1/ledgers. Agree the override with the bank before submitting; an account number is not an income ledger code.
Loan reports
GET /api/report/v1/getloantrackingreport?UseCurrentFinancialDate=true uses the bank’s financial date from GET /api/utility/v1/financialdate. It does not substitute today’s UTC date when the bank has a configured date. EmployeeID filters by staff number; AccountOfficerStaffID filters by officer code or staff number. Both filters apply when both are supplied.
GET /api/report/v1/getloanexpectationreport accepts SortColumn=DueDate, RepaymentDate, AccountNumber or AccountName, with Direction=ASC or DESC. Transaction history accepts TransactionDate, FinancialDate, AccountNumber or PostingReferenceNumber as its sort column. These column names match without regard to case; unsupported names return 400.
Group loans
- Discover an active group product and its minimum/maximum participant counts.
POST /api/loanaccount/v1/addgrouploantakesgroupLoanProductID, name andparticipants. Each participant contains a completeloanRequest; this is not just a list of customer IDs.GET /api/loanaccount/v1/searchgrouploanretrieves group status and identifiers. Confirm participants and approvals before disbursement.POST /api/loanaccount/v1/disbursegrouploanidentifies the original group usinggroupLoanIDor its reference.POST /api/loanaccount/v1/repaygrouploantakes the group ID andparticipantRepayments, each containing the repayment fields shown in the explorer.
The bureau and AI-review endpoints (grouploancreditbureau, grouploanaireview) depend on the bank's integrations. A review response is not an approval or a disbursement.
Changes to existing loan obligations
restructureloan, refinanceloan, repriceloan and rescheduleloan are separate POST operations under /api/loanaccount/v1. Use the operation for the change agreed with the bank. Read the new schedule, verify relevant principal/interest/fee postings and retrieve the certificate where supported. Do not assume a generic profile update recalculates obligations.
Fixed deposits
| Step | Operation | Use |
|---|---|---|
| Create | POST /api/fixeddepositaccount/v1/add | Exact fixed-deposit product, funding account, principal, dates and agreed interest settings. |
| Discover | GET /api/fixeddepositaccount/v1/search | Get the deposit’s numeric ID and check its status. |
| Add principal | POST /api/fixeddepositaccount/v1/topup | Deposit ID, amount, optional new start/maturity dates and accrued-interest treatment. |
| Liquidate | POST /api/fixeddepositaccount/v1/liquidate | Customer savings account number and liquidation type; requires exactly one active deposit for that owner. |
| Maintain | PUT /api/fixeddepositaccount/v1/update | Supported non-posting settings. |
| Certificate | GET /api/fixeddepositaccount/v1/view-certificate/{ID}/{type} | The deposit ID and PDF or Excel type. Decode the base64 text after the comma in data.document; the response is JSON. |
There is no single status endpoint or automatic replay rule for all loan and deposit requests. If a response is lost, check the original record, repayment schedule and transaction history. Contact the bank with the original references before trying again. Outward-transfer TSQ cannot check these loan and deposit requests.
Create and recover a deposit
Set a unique referenceNumber when creating a fixed deposit. If the response is lost, query GET /api/fixeddepositaccount/v1/search?ReferenceNumber=your-reference before trying again. You can also filter by ID or ContractNo. Search returns the principal, rate, accrued interest, duration and start/maturity dates. StartDate and EndDate search filters refer to record creation dates, not the contract term.
When you omit startDate, creation uses the bank financial date returned by GET /api/utility/v1/financialdate. duration is in days. Supply the agreed annual interestRate; omitting it creates a zero-rate contract. Fixed-deposit products have no default interest rate. To change a rate later, supply applicableInterestRate or applicableInterestCode; useProductInterestRate=true is rejected. Rates and early-liquidation charges accept up to three decimal places. Principal and top-up amounts accept up to two decimal places.
HasDisbursed is a legacy search name: it filters whether the deposit has been liquidated. Read accountStatus alongside it.
Liquidate a deposit
Use a customer savings accountNumber. The API finds active deposits owned by that account's customer; exactly one active deposit must exist. A deposit record ID or contract number cannot be used in this field. If the owner has multiple active deposits, this endpoint returns 400 without choosing one: contact the bank for liquidation. The bank must also have an open financial date. Full liquidation uses liquidationType: 1. For a partial withdrawal, use liquidationType: 2 and a positive liquidationAmount:
{
"accountNumber": "0123456789",
"liquidationType": 2,
"liquidationAmount": 100,
"notes": "Partial withdrawal requested by customer"
}
liquidationAmount must be less than the current principal for a partial withdrawal. Optional partLiquidationFee is a percentage, not a Naira amount: 1 charges 1% of the withdrawal. Omitting it or sending zero applies no partial-liquidation fee for that request. Agree any charge with the bank before sending.
Send this body to POST /api/fixeddepositaccount/v1/liquidate with the bank-client bearer token. Replace the customer savings account number and check the bank's charges and resulting balance.