Run in Apidog
Lists the loans of one customer: the holder of the savings account nuban, or the customer clientId. Each loan is identified by its loanAccountNo. The customer is named with exactly one of clientId or nuban (the number of one of the customer's savings accounts). Query Parameters# Field Name Type Required Description clientIdinteger FALSE The customer's client id. Send exactly one of clientId or nuban. nubanstring FALSE NUBAN of one of the customer's savings accounts. Send exactly one of clientId or nuban.
Response Body# Field Name Type Description loanAccountNostring Account number of the loan. parentLoanAccountNostring Account number of the group loan this loan belongs to, if any. idinteger Internal loan id. externalIdstring Your own reference for the loan. productNamestring Loan product. statusobject Loan status. inArrearsboolean Whether the loan is overdue. originalLoannumber Amount of the loan. loanBalancenumber Amount still owed. amountPaidnumber Amount paid so far.
Request Add the parameter Authorization
to Headers ,whose value is to concatenate the Token after the Bearer. Example: Authorization: Bearer ********************
Token URL: {{tpGatewayHostUrl}}/security/authenticate
or
Request Code Samples
curl --location '/core/loans?clientId=42&nuban=0000000206' Responses The customer's loans (an empty list when there are none)
[
{
"id" : 7 ,
"loanAccountNo" : "000000059" ,
"externalId" : "LN-2026-0001" ,
"productId" : 1 ,
"productName" : "Micro Loan" ,
"status" : {
"id" : 300 ,
"code" : "loanStatusType.active" ,
"value" : "Active"
} ,
"inArrears" : false ,
"originalLoan" : 50000 ,
"loanBalance" : 41000 ,
"amountPaid" : 9000
}
]
Modified at 2026-11-08 05:02:43