Skip to main content

Execute_LoanRepayment

Description

Processes a loan repayment for the BaseObject entity. The repayment type and amount are determined by the provided parameters.

Parameters

ParameterDescription
BaseObjectThe entity that performs the repayment (Self or Target).
S1Loan product ID to repay, as defined in LoanProduct.json.
S2Repayment type: Interest (pay interest only), All (pay principal + interest in full), FixedAmount (fixed amount).
F1Repayment amount. Only used when S2 is FixedAmount.

Examples

DescriptionBaseObjectCommand
Pay interest only on a Mortgage loanSelfLoanRepayment
Pay off the full LoanShark loan (principal + interest)SelfLoanRepayment
Pay a fixed amount of 1000 toward a Mortgage loanSelfLoanRepayment
Pay off the full Mortgage loan for targetTargetLoanRepayment