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
- application/json
- application/xml
Path Parameters
-
sweepLogId: string
Maximum Length:
20
sweep log ID of the loan Maintenance
Request Body that contains data required for creating a new loan
Root Schema : IclRepayLoanDTO
Type:
Show Source
object
-
borrowerAccountNumber(optional):
string
Loan borrower
-
borrowerCurrency(optional):
string
-
checkForSettlement(optional):
string
-
days(optional):
number
-
endDate(optional):
string
-
interestMethod(optional):
string
-
interestPaidBC(optional):
number
Interest paid in Borrower currency
-
interestPaidLC(optional):
number
Interest paid in Lender currency
-
lenderAccountNumber(optional):
string
Loan lender
-
lenderCurrency(optional):
string
-
paymentDate(optional):
string
-
principalPaidBC(optional):
number
Principal paid in Borrower currency
-
principalPaidLC(optional):
number
Principal paid in Lender currency
-
rate(optional):
number
-
repaymentSource(optional):
string
-
reverseSweepId(optional):
string
-
reverseSweepLogId(optional):
string
-
startDate(optional):
string
-
transactionReference(optional):
string
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated loan
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created loan
Nested Schema : ResponseResourceSupport
Type:
object
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