Hello Dear Team,
my name is Bernard.
i'm trying to repay a loan through loan repayment's API
(https://localhost:8443/fineract-provider/api/v1/loans/7/transactions
command=repayment)
with this request body:
{'dateFormat': 'yyyy-MM-dd','locale': 'en','transactionDate':
'2018-02-15','transactionAmount': "9500",'paymentTypeId': '1'}
But faced with the error which throws me this error messages;
{
"developerMessage": "The request was invalid. This typically will happen
due to validation errors which are provided.",
"httpStatusCode": "400",
"defaultUserMessage": "Validation errors exist.",
"userMessageGlobalisationCode": "validation.msg.validation.errors.exist",
"errors": [{
"developerMessage": "Loan Repayment or Waiver is not allowed. Loan
Account is not active.",
"defaultUserMessage": "Loan Repayment or Waiver is not allowed. Loan
Account is not active.",
"userMessageGlobalisationCode":
"error.msg.loan.repayment.or.waiver.account.is.not.active",
"parameterName": "id",
"value": null,
"args": []
}]
}
can anyone help me to fix this issue?