Record payment on an existing loan

patch

/loan/{sweepLogId}/recordRepayment

This endpoint is used to record the payment on an existing loan.

Request

Supported Media Types
Path Parameters
Body ()
Request Body that contains data required for creating a new loan
Root Schema : IclRepayLoanDTO
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Returns updated loan
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Nested Schema : ResponseDto
Type: object
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

201 Response

Returns message of succes or failure
Headers
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Nested Schema : ResponseDto
Type: object
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Malformed syntax.

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top