Fetch Loan Status
POST Loan Status
This loan viewer API is used to retrieve all the master data for the loan's status that are available for it.
URL: {{base_url}}/loan-management/v1/getMasterType
Request
Request Body Required
[
{
"type": "loan_status"
}
]
Request: 200 OK
{
"response": true,
"data": [
{
"loan_status": {
"values": [
{
"key": "inactive",
"value": "Inactive"
},
{
"key": "maturity_closure",
"value": "Maturity Close"
},
{
"key": "foreclosed",
"value": "Foreclosed"
},
{
"key": "active",
"value": "Active"
},
{
"key": "cancelled",
"value": "Cancelled"
},
{
"key": "closed",
"value": "Closed"
},
{
"key": "matured",
"value": "Matured"
}
],
"parent": null
}
}
],
"error": null
}
Status Code: 400 BAD REQUEST
Condition: If no body is passed for the request the system will respond with the given status code