Skip to main content

Partial Loan Cancellation

GET Partial Loan Cancellation

When a client makes a partial payment before the due date and to modify the payment accordingly, this API is utilised. The System need to follow two steps:

Step 1 : Create Receipt for Partial Cancellation
Step 2 : Perform Part Payment for Partial Cancellation



Step 1 : Create Receipt for Partial Cancellation

GET Loan Cancellation Details

This API is used to create receipts for partial loan cancellations.

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 : cancellation
* required Param

Response: 200

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




POST Data For Loan Action (Receipt)

To obtain data for Receipt, 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": "receipt"
}




Response: 200

{
   "response": true,
   "data": {
      "outstanding_charges": [ ],
      "date_of_receipt": "yyyy-MM-dd",
      "addition_in_excess_money": integer
   },
   "error": null
}




POST Master Data for Receipt

To obtain Master data for Receipt, 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": "payment_mode"
   },
   {
      "type": "receipt_purpose"
   },
   {
      "type": "payment_bank"
   },
   {
      "type": "bounce_reason_for_nach"
   }
]




Response: 200

{
   "response": true,
   "data": [
      {
         "payment_mode": {
            "values": [
               {
                  "key": "string",
                  "value": "string"
               }
            ],
            "parent": null
         },
         "bounce_reason_for_nach": {
            "values": [
               {
                  "key": "string",
                  "value": "string"
               }
            ],
            "parent": null
         },
         "receipt_purpose": {
            "values": [
               {
                  "key": "string",
                  "value": "string"
               }
            ],
            "parent": null
         },
         "payment_bank": {
            "values": [
               {
                  "key": "string",
                  "value": "string"
               }
            ],
            "parent": null
         }
      }
   ],
   "error": null
}





Step 2 : Perform Part Payment for Partial Cancellation