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,281,
    "request_id": "waiver"
}




Response: 200

{
  "response": true,
  "data": {
  "due_details": [
  {
  "charge_id": 0,
 840, "receivables_date"due_date": "2024-02-13T18:30:00.000+00:00"08-31",
"charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 2605.2, "waived_amount": 100.0, "tax_amount": 0.0, "total_outstanding_amount": 2505.2, "outstanding_amount": 2505.2, "amount_in_process": 0.0, "transaction_id": 40550, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 919, "due_date": "2024-10-31", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 7816.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 7816.0, "outstanding_amount": 7816.0, "amount_in_process": 0.0, "transaction_id": 45267, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 841, "due_date": "2024-09-30", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 5210.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 5210.0, "outstanding_amount": 5210.0, "amount_in_process": 0.0, "transaction_id": 40612, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 1122, "due_date": "2024-10-01", "charge_date": "2024-02-14"11-12",
  "charge_description": "string"Legal Fee",
  "original_due_amount": 590.0,
  "waived_amount": 0.0,
  "tax_amount": 90.0,
  "total_outstanding_amount": 590.0,
  "outstanding_amount": 590.0,
  "amount_in_process": 0
0.0, "transaction_id": }
55294, "installment_id": ]
null, "charge_code": "legal_charges" },
{ "charge_id": 1123, "due_date": "2024-10-01", "charge_date": "2024-11-12", "charge_description": "File Charge", "original_due_amount": 2360.0, "waived_amount": 0.0, "tax_amount": 360.0, "total_outstanding_amount": 2360.0, "outstanding_amount": 2360.0, "amount_in_process": 0.0, "transaction_id": 55295, "installment_id": null, "charge_code": "file_charge" }, { "charge_id": 1016, "due_date": "2024-11-30", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 7769.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 7769.0, "outstanding_amount": 7769.0, "amount_in_process": 0.0, "transaction_id": 52373, "installment_id": null, "charge_code": "lpp" }, { "charge_id": -2, "due_date": null, "charge_date": null, "charge_description": "Total Interest Outstanding", "original_due_amount": 8790.0, "waived_amount": null, "tax_amount": null, "total_outstanding_amount": 8790.0, "outstanding_amount": 8790.0, "amount_in_process": 0.0, "transaction_id": null, "installment_id": null, "charge_code": null } ] }, "error": null
null, "timestamp": "2024-12-07T10:46:54.764+00:00" }




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


{
	

{
"loan_id": "281", "service_request_id": "", "service_request_subtype": "2", "service_request_type": "waiver",
  "service_request_subtype": "0",
  "service_type": "",
  "loan_id": "0",
  "request_data": {
  "due_details": [ { "charge_id": 840, "due_date": "2024-08-31", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 2605.2, "waived_amount": 45.0, "tax_amount": 0.0, "total_outstanding_amount": 2505.2, "outstanding_amount": 2505.2, "amount_in_process": 0.0, "transaction_id": 40550, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 919, "due_date": "2024-10-31", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 7816.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 7816.0, "outstanding_amount": 7816.0, "amount_in_process": 0.0, "transaction_id": 45267, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 841, "due_date": "2024-09-30", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 5210.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 5210.0, "outstanding_amount": 5210.0, "amount_in_process": 0.0, "transaction_id": 40612, "installment_id": null, "charge_code": "lpp" }, { "charge_id": 1122, "due_date": "2024-10-01", "charge_date": "2024-11-12", "charge_description": "Legal Fee", "original_due_amount": 590.0, "waived_amount": 0.0, "tax_amount": 90.0, "total_outstanding_amount": 590.0, "outstanding_amount": 590.0, "amount_in_process": 0.0, "transaction_id": 55294, "installment_id": null, "charge_code": "legal_charges" }, { "charge_id": 1123, "due_date": "2024-10-01", "charge_date": "2024-11-12", "charge_description": "File Charge", "original_due_amount": 2360.0, "waived_amount": 0.0, "tax_amount": 360.0, "total_outstanding_amount": 2360.0, "outstanding_amount": 2360.0, "amount_in_process": 0.0, "transaction_id": 55295, "installment_id": null, "charge_code": "file_charge" }, { "charge_id": 1016, "due_date": "2024-11-30", "charge_date": null, "charge_description": "Late Payment Penalty", "original_due_amount": 7769.0, "waived_amount": 0.0, "tax_amount": 0.0, "total_outstanding_amount": 7769.0, "outstanding_amount": 7769.0, "amount_in_process": 0.0, "transaction_id": 52373, "installment_id": null, "charge_code": "lpp" }, { "charge_id": -2, "due_date": null, "charge_date": null, "charge_description": "Total Interest Outstanding", "original_due_amount": 8790.0, "waived_amount": null, "tax_amount": null, "total_outstanding_amount": 8790.0, "outstanding_amount": 8790.0, "amount_in_process": 0.0, "transaction_id": null, "installment_id": null, "charge_code": null } ],
"others_waiver": "", "reason": "1481", "remarks": "", "total_amount": 0,
 45, "waiver_users"transaction_date": "0"2024-12-07",
  "uploadFile": "",
  "reason": "0",
    "remarks"waiver_users": "",
    "transaction_date": "2024-02-14"
  },
 "service_request_id": ""
}



Response: 200

{
{
    "response": true,
    "data": {
        "result": null,
        "status": "initiated",
        "service_request_id": 0
320,
        "unique_transaction_number": null,
        "transaction_id": 89640,
        "unique_source_identifier": null
    },
    "error": null
null,
    "timestamp": "2024-12-07T10:57:25.808+00:00"
}