Loan History
Description: Get employee loan history for a specific client.
- Sample Request
- Sample Response
Request Parameters
Parameter | Type | Description | Required |
---|---|---|---|
accountNo | Integer | Employee Account No | Yes |
bankCode | Integer | Employee bank code | No |
businessId | String | eTranzact corporate identifier | Yes |
startDate | String | Filter start date. Format DD-MM-YYYY | No |
endDate | String | Filter end date. Format DD-MM-YYYY | No |
queryRef | String | Client specific unique transaction reference | Yes |
GET {base_url}/loan/history?accountNo=0003300033&bankCode=123&businessId=2839202& startDate=01-01-2019&endDate=01-08-2019&queryRef= POLARIS8393
curl `${base_url}/loan/history?accountNo=0003300033&bankCode=123&businessId=2839202& startDate=01-01-2019&endDate=01-08-2019&queryRef= POLARIS8393`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
Response Parameters
Parameter | Type | Description | Required |
---|---|---|---|
status | Integer | HTTP status code | Yes |
message | String | Description of performed requested action | Yes |
accountNo | Integer | Employee Account Number | Yes |
bankCode | Integer | Employee bank code | Yes |
businessId | String | eTranzact corporate identifier | Yes |
data | Array of Object | Response data block | Yes |
loanRef | String | Loan unique reference | Yes |
totalAmount | Float | Total amount of loan | Yes |
rentalAmount | Float | Monthly repayable amount | Yes |
balance | Float | Loan balance | Yes |
tenure | String | Concatenated loan tenure and tenure type | Yes |
createdAt | String | Date loan was created | Yes |
status | Boolean | Loan status. True for active, False for inactive | Yes |
nextChargeDate | String | Next repayment date | Yes |
loanAccountNo | String | Account Provided by Client for employee loan repayment. | Yes |
loanBankcode | String | The bank code of the bank on which the loan account is domiciled. | Yes |
POST {base_url}/loan/history?accountNo=0003300033&bankCode=123&businessId=2839202& startDate=01-01-2019&endDate=01-08-2019&queryRef= POLARIS8393
{
"status": 200,
"message": "Loan history",
"execTime": 1.4888868,
"accountNo": 0003300033,
"bankCode ": 123,
"businessId ":"2839202",
"data": [
{
"loanRef ": "36478HJK",
"totalAmount ": 250000.00,
"rentalAmount": 50000.00,
"balance": 250000.00,
" tenure ": "6 month",
"createdAt": "25-01-2021",
"nextChargeDate": "25-02-2021",
"status": TRUE,
"loanAccountNo": "0001980234",
"loanBankcode ": "044",
}
]
}