Fetch Loan Summary for the Loan Id
GET Loan Summary
This API allows users to retrieve all loan summary information such as "Number Of Installments", "Installment Amount", and "Payable Charges" for the respective Loan Id.
URL: {{base_url}}/loan-management/v1/getLoanSummaryForLoan
RequestRun in Postman: GET Loan Summary
Request:
Key | Data Type | Description | Validations | Default Value | Required |
Integer | Unique | identity
Response: 200
Response:
Success: 200 OK
Schema
Attribute |
Type | Description | Mandatory | |||
response |
Boolean | |||||
data | Object |
|||||
number_of_installments
|
Object | |||||
paid
|
|
Integer | ||||
dues_as_on_date
|
|
Double | ||||
net_amount
|
|
Double | ||||
installment_amount
|
Object | |||||
paid
|
|
Double | ||||
dues_as_on_date
|
|
Double | ||||
net_amount
|
|
Double | ||||
receivable_charges
|
Object | |||||
<Charge_Name> | Object | |||||
paid
|
Double | |||||
dues_as_on_date
|
Double | |||||
net_amount
|
Double | |||||
Total
|
Object | |||||
paid
|
Double | |||||
dues_as_on_date
|
Double | |||||
net_amount
|
Double | |||||
payable_charges
|
Object | |||||
<Charge_Name> | Object | |||||
paid
|
Double | |||||
dues_as_on_date
|
Double | |||||
net_amount
|
Double | |||||
Total
|
Object | |||||
paid
|
Double | |||||
dues_as_on_date
|
Double | |||||
net_amount
|
Double | |||||
branch_hierarcy |
|
|||||
error | String | Internal error object for the given inputs | No |
Internal Server Error: 500
Note: If the API is unable to retrieve data for specific fields against the relevant Loan Id, then this error will occur.
Schema
Attribute |
Type | Description | Mandatory | |
response |
String | Internal status code that denotes the status of request | Yes | |
data |
Object | Response Object for the given inputs | No | |
error | Object Data | Object | Internal error object for the given inputs | Yes |
code | integer | Internal error code for API | Yes | |
text | String | Error message for the API | No | |
detail | String | Reason / Detail for the cause of error | No |
Body
Expected messages as per Status API :
Error Code | Description |
107001 | An Exception occurred in saving data |
{
"response": false,
"data": null,
"error": {
"code": 0,
"text": "string",
"detail": "string"
}
}
Unauthorized: 401
Note: If the API is not authorized with the Token or if the authorization token has expired, this error is going to show up.
Body
{
"code": 401,
"message": "auth fail, you can retry!"
}