Skip to main content

Loan Action : Waiver

GET Waiver

Screenshot 2023-04-22 at 5.55.08 AM.png

This API is used to fetch waiver for loan application.

URL: {{base_url}}/loan-management/v1/service-request/status

Request
Request Type: GET
Authorization: Bearer Token
Query Parameter
Key Data Type Value
loanId* String -
request* String Fixed : waiver
* required Param

Response: 200

{
   "response": true,
   "data": true,
   "error": null
}

 




POST Data For Loan Action (Waiver)

To obtain data for Waiver, utilise this API.

URL: {{base_url}}/loan-modification/v1/service-request/getDataForLoanActions

Request
Request Type: POST
Authorization: Bearer Token

Query Parameter
No parameter
Request Body * required Param


{
    "loan_id": integer,
    "request_id": "waiver"
}




Response: 200

{
  "response": true,
  "data": {
    "due_details": [
      {
        "charge_id": 0,
        "receivables_date": "2024-02-13T18:30:00.000+00:00",
        "charge_date": "2024-02-14",
        "charge_description": "string",
        "original_due_amount": 0,
        "waived_amount": 0,
        "tax_amount": 0,
        "total_outstanding_amount": 0,
        "outstanding_amount": 0,
        "amount_in_process": 0
      }
    ]
  },
  "error": null
}




POST Master Data for Waiver

To obtain Master data for Waiver, utilise this API.

URL: {{base_url}}/loan-management/v1/getMasterType

Request
Request Type: POST
Authorization: Bearer Token

Query Parameter
No parameter

Request Body * required Param


[
    {
        "type": "waiver_users"
    },
    {
        "type": "reason",
        "parent": "service_request_id",
        "parent_id": "waiver"
    }
]




Response: 200

{
  "response": true,
  "data": [
    {
      "reason": {},
      "waiver_users": {}
    }
  ],
  "error": null
}


POST  Save Waiver

This is the SynoFin API that is used to Save / Initiate the request for the Waiver.

URL: {{base_url}}/loan-modification/v1/service-request/save

Request
Request Type: POST
Authorization: Bearer Token

Query Parameter
No parameter

Request Body * required Param


{
  "service_request_type": "waiver",
  "service_request_subtype": "0",
  "service_type": "",
  "loan_id": "0",
  "request_data": {
    "due_details": [],
    "total_amount": 0,
    "waiver_users": "0",
    "uploadFile": "",
    "reason": "0",
    "remarks": "",
    "transaction_date": "2024-02-14"
  },
  "service_request_id": ""
}



Response: 200

{
    "response": true,
    "data": {
        "result": null,
        "service_request_id": 0
    },
    "error": null
}