Skip to main content

Find the values your requests need

Get codes and IDs from the bank you are connected to. Names and sample numbers are not substitutes for the values required by an API field. All routes below require an active bank-client bearer token.

Codes for interest, fees and ledger accounts​

LookupRequest field to fillWhat to check
GET /api/utility/v1/interestsapplicableInterestCode on loans/fixed deposits; interestCode on overdraftsUse code as a string. Read defaultRate, rateBasis, type and applyWithholdingTax.
GET /api/utility/v1/loanfeesloanFees[].code or loanFees[].loanFeeCodeUse the fee code. Individual loans accept at most one fee override.
GET /api/utility/v1/overdraftfeesOverdraft feeCodes[]Use the returned code strings.
GET /api/utility/v1/ledgersfeeIncomeGL, liquidationLedgerCode, incomeGL, or ledger debit/credit fieldsUse accountCode, preserving leading zeros. The numeric id is different.

Interest and fee lookups accept an exact Code filter. Interest also accepts Type (0 for credit or 1 for debit). Fee results include amount, computationModel (0 for a flat amount or 1 for a percentage), cycle and applyVAT. A percentage amount is a rate, not a flat Naira charge. Confirm the bank’s fee calculation and tax rules before showing a total to the customer.

Ledger lookup accepts exact AccountCode, CurrencyID and Category filters. Choose the category values listed for ledger lookup in field options. Only active ledgers with an active currency at your bank are listed. Results include currency and posting permissions.

Ledger permission is 0 (open), 1 (no credits), 2 (no debits) or 3 (neither credits nor debits). Finding a ledger does not authorize every posting: the transaction must also pass the bank’s currency, product, balance and approval checks.

For currencies and stored exchange rates, follow currency discovery.

Discover enabled payment and card providers​

Use GET /api/transfer/v1/providers, GET /api/bills/v1/providers and GET /api/card/v1/providers before choosing a provider. Each response reports moduleEnabled, gatewayConfigured, recordCount and a data array. Items include the exact provider value to send, its display name, isDefault and supported API operation names.

For transfers and bills, isDefault follows the same fallback selection as requests that omit Provider. Cards use the configured default only when that provider is enabled; the list can contain enabled providers with none marked as default. Supply an explicit provider in that case.

A disabled module returns an empty list. gatewayConfigured means the bank has entered a gateway URL and shared key. Discovery makes no provider call and does not test credentials, account funds, settlement ledgers or live connectivity. It returns no gateway URLs, authentication headers or secrets. Providus transfer discovery, for example, omits BalanceEnquiry because that provider does not support the operation.

Numeric options differ between APIs​

GET /api/utility/v1/loanoptions returns {value, name} pairs for individual loan API fields:

Option listRequest field
lendingModellendingModel
economicSectoreconomicSector
repaymentTypeprincipalRepaymentType, interestRepaymentType
interestAccrualModeinterestAccrualMode
repaymentFrequencyprincipalFrequency, interestFrequency
rateBasisrateBasis
allowMoratoriumallowMoratorium
collateralTypecollateralType

Send the numeric value, not the position in the list. These lists use the same mappings as individual loan validation. For example, economicSector: 40100 means Agriculture and principalRepaymentType: 1 means EndOfContract.

Several frequency values are aliases for the same unit. Set principalToBeRepaidEvery or interestToBeRepaidEvery to the required positive interval as well. Selecting a monthly unit alone does not specify a quarterly interval.

Group-loan participants use the enums on their nested loanRequest fields. Do not copy the individual-loan option values into group requests.

GET /api/utility/v1/accountsectors returns {value, name} pairs for account sectorCode and corporate/group industrialSector. These fields accept the value as a string, or the name. Agriculture is "0" here, not the individual loan code 40100.

IDs for group-loan participants​

The nested loanRequest in group-loan creation uses numeric record IDs rather than the code-based fields of individual loan creation. Use the IDs returned by these lookups:

Group participant fieldLookup and returned value
AccountIDGET /api/account/v1/searchaccount → the real account’s id
ProductIDGET /api/product/v1/searchproducts?Type=loan → the base loan product’s id
AccountOfficerIDGET /api/account/v1/searchaccountofficers → id, rather than the officer code accountOfficerID
AgentIDGET /api/agent/v1/search → id
ApplicableInterestIDGET /api/utility/v1/interests → id
LoanFeeIDGET /api/utility/v1/loanfees → id
DisbursementGLIDGET /api/utility/v1/ledgers → id, rather than accountCode
LoanGuarantors[]GET /api/account/v1/searchindividualcustomers → each customer’s numeric id, rather than their customerID

Send the numeric type required by the nested field. The outer groupLoanProductID still comes from searchgrouploanproducts; it is different from each participant’s base ProductID. Use records from the same bank throughout.

Bank calendars​

GET /api/utility/v1/workingdays returns the bank’s configured weekdays and isWorking flags. day is 0 for Monday through 6 for Sunday. This differs from JavaScript’s Date.getDay() numbering.

GET /api/utility/v1/publicholidays returns name, holidayDate and the stored isContinuous setting. Optional FromDate and ToDate filters use YYYY-MM-DD and include both boundary dates. A reversed range returns 400. Ask the bank how it uses isContinuous before applying recurrence rules in your app.

These endpoints return configured records. An empty list does not mean every day is closed or that the bank observes no national holidays. Confirm the bank’s effective financial date and repayment-date rules before scheduling payments; a bank’s financial date can differ from today’s calendar date.

Read the financial date​

GET /api/utility/v1/financialdate returns the date used by the loan API and by loan tracking with UseCurrentFinancialDate=true:

FieldMeaning
financialDateEffective date, formatted as YYYY-MM-DD.
serverDateUtcToday’s UTC calendar date, which can differ from the financial date.
isConfiguredWhether this bank has a stored business date.
isOpenWhether the selected business date is open.
sourceopenBusinessDate, latestBusinessDate or serverUtcFallback.

The latest open business date takes precedence over closed dates. If none is open, the latest stored date is returned. If the bank has no business-date record, the API returns the UTC date with isConfigured=false and source=serverUtcFallback. Ask the bank to complete business-date setup before scheduling financial operations against that fallback. Reading this endpoint does not open or close a business day.

Fields marked “Omit”​

The explorer marks legacy options that these endpoints cannot apply as Omit. Sending a value returns 400 with an explanation. Empty legacy lists can be omitted or left empty. A loan repayment cannot force a debit by setting forceDebit=true.

For individual loans, custom loanPaymentSchedules, moratorium duration/frequency/effect and a separate defaultingInterestRate are unavailable. Use the supported repayment settings and allowMoratorium; the bank controls default charges through the product. Account creation does not support accessLevel, isMinor or groupConnectionID overrides.

A virtual account is a collection alias, so its request accepts contact/name fields, an optional alias, referenceNumber and a corporate parentAccountNumber. Use accountType=0 and isBusinessAccount=true, or omit both. Customer KYC fields, independent product selection, wallet amounts, payment splits and prefix overrides are rejected. Set those details on the parent account or its customer through the appropriate API.

Pagination and refresh​

Interest, fee, ledger, working-day and holiday lookups accept PageNumber (default 1) and PageSize (default 20, maximum 200). Responses contain data, recordCount, pageNumber and pageSize. recordCount counts all matching rows. Fetch further pages until you have read that many items. An unmatched filter returns an empty data array.

The option-list endpoints return their complete lists without pagination. Keep cached bank data separate for each bank and environment. Refresh before preparing new instructions when the bank changes its products, rates, fees or calendar. Records can change between lookup and submission, so handle a rejected code by checking the lookup again.