Loan Action : Closure
Closure
The Synofin API's Loan Closure Action is linked to various closure that a user may initiate in accordance with their requirements. This feature involves different step which are :
-
Retrieving Cancellation (Closure)
-
Retrieving Data for Loan Action (Closure)
-
Saving / Initiation Request for Loan Action (Closure)
-
Approving / Rejection Service Request for Loan Action (Closure)
GET Closure
This API is used for retrieving all the closure details for the specified Loan Id.
URL: {{base_url}}/loan-management/v1/service-request/status
Request
Key | Data Type | Value |
request* | String | Fixed = closure |
loanId* | Integer | - |
Response: 200
{
"response": true, "data": true, "error": null } |
Fetch Data for Closure
Upon fetching the SynoFin losure API. The user can choose the closure they must carry out in order to fulfil their demand at this point.
Consequently, we use following APIs to retrieve the Data for the selected cancellation for the specified Loan Id.
POST Data For Loan Action
To obtain data for closure, utilise this API.
URL: {{base_url}}/loan-modification/v1/service-request/getDataForLoanActions
|
|
|
|
|
Response
|
Maturity Closure |
{ |
{
"response": true, "data": { "balance_tenure": 0, "total_dues": 0, "refunds": 0, "principal_outstanding": 0, "unrealized_receipt": 0, "outstanding_charges": [], "interest_due": 0, "pending_installment_amount": 0, "total_waived_amount": 0, "per_day_interest": 0, "next_installment_presentation_date": "2024-02-02T18:30:00.000+00:00", "excess_money": 0, "net_closure_amount": 0, "last_due_date": "03-01-2024", "overdue_principal": 0, "balance_principal": 0 }, "error": null } |
POST Master Data for Closure
To obtain Master data for closure, utilise this API.
URL: {{base_url}}/loan-management/v1/getMasterType
Loan Actions - Closure |
Request - Request Body |
Response: 200 |
Fore Closure |
[ |
{
"response": true, "data": [ { "reason": {}, "waiver_users": {} } ], "error": null } |
Maturity Closure |
[ |
{
"response": true, "data": [ { "reason": {}, "waiver_users": {} } ], "error": null } |
Saving / Initiation Request for Loan Action (Closure)
These are the APIs that are used to save loan closure or initiate service requests initiated by maker so that the checker can review them and then determine what they want to accomplish and either Approve or Reject the Request.
Consequently, we use following APIs to save or intiated the Loan Closure for the selected closure for the specified Loan Id.
POST Save Service Request
To save data for Cancellation, utilise this API.
URL: {{base_url}}/loan-modification/v1/service-request/save
Loan Actions - Closure |
Request Body |
Response: 200 |
Fore Closure |
|
{
"response": true, "data": { "result": null, "status": "initiated", "service_request_id": 0, "unique_transaction_number": null }, "error": null } |
Maturity Closure |
|
{
"response": true, "data": { "result": null, "status": "initiated", "service_request_id": 0, "unique_transaction_number": null }, "error": null } |
Request Approval / Rejection
The request must now be approved at the Request page, where users may examine requests and take action.
Click on the link below for knowing more about how request work's