1. Home
  2. Interswitch lending Service
  3. Interswitch Lending Service (Providers)
  4. Update Loan Status

Update Loan Status

This endpoint will be used to update the status of a Loan on the Interswitch Lending Service by a Provider. This is applicable if a User makes payment to the Provider directly and they wish to sync the status of the loan on the Service with theirs.

Request Message description

Field

#

Field name Data type Max length Required Description
1 status String  50 false The new Status to which the Loan will be updated.
2. loanId String  50 false The Id of the loan for which the earlier transaction was done. This is required for Loan Debit or Credit.
3. providerCode String  50 true The Code of the Channel from which this request originates.

Endpoint

PUT /loans/{ loanId}/update

Headers

Sample Request

Sample Request One

{

” loanId”: “09091”,

“status”: “OPEN”,

“providerCode”: “MKT”

}

Response Message field description

Field

#

Field name Data type Max length Description
1 responseCode String 5 The code indicating the result of the processing of this request.
2 responseMessage String 255 The Description of the responseCode.

Sample Response (success)

{

“responseCode”: “00”,

“responseMessage”: “Successful”

}

Sample Response (failure)

{

“responseCode” : “5000”,

“responseMessage” : “Error while processing request. Please try again.”

}

Was this article helpful to you? Yes No

How can we help?