diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 1007b744e..b8fc7a7a4 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -458,7 +458,7 @@
@@ -7401,6 +7428,42 @@ Request Body:
+
+
+
+ Pay Loan Charge
+ Loan Charge will be paid if the loan is linked with a savings account
+
+
+
+
+POST https://DomainName/api/v1/loans/{loanId}/charges/{chargeId}?command=pay
+
+
+POST loans/1/charges/12?command=pay
+Content-Type: application/json
+Request Body:
+{
+ "dateFormat": "dd MMMM yyyy",
+ "locale": "en",
+ "transactionDate": "19 September 2013"
+}
+
+
+
+
+ {
+ "officeId": 1,
+ "clientId": 1,
+ "loanId": 6,
+ "savingsId": 1,
+ "resourceId": 12
+ }
+
+
+
+
@@ -11013,7 +11076,20 @@ GET https://DomainName/api/v1/charges/template
"code": "chargeTimeType.specifiedDueDate",
"value": "Specified due date"
}
- ]
+ ],
+ "chargePaymetModeOptions":
+ [
+ {
+ "id":0,
+ "code":"chargepaymentmode.regular",
+ "value":"chargepaymentmode.regular"
+ },
+ {
+ "id":1,
+ "code":"chargepaymentmode.accounttransfer",
+ "value":"chargepaymentmode.accounttransfer"
+ }
+ ]
}
@@ -11042,6 +11118,7 @@ Request Body:
"amount": "230.56",
"chargeTimeType": "1",
"chargeCalculationType": "1",
+ "chargePaymentMode": "1"
"active": true
}
@@ -11062,6 +11139,7 @@ Request Body:
"chargeAppliesTo": "1",
"chargeTimeType": "2",
"chargeCalculationType": "2",
+ "chargeCalculationType": "1",
"active": "true",
"penalty": "true"
}
@@ -11116,6 +11194,11 @@ GET https://DomainName/api/v1/charges
"id": 1,
"code": "chargeCalculationType.flat",
"value": "Flat"
+ },
+ "chargePaymentMode":{
+ "id":1,
+ "code":"chargepaymentmode.accounttransfer",
+ "value":"Account transfer"
}
}
]
@@ -11165,6 +11248,11 @@ GET https://DomainName/api/v1/charges/{chargeId}
"id": 1,
"code": "chargeCalculationType.flat",
"value": "Flat"
+ },
+ "chargePaymentMode":{
+ "id":1,
+ "code":"chargepaymentmode.accounttransfer",
+ "value":"Account transfer"
}
}
@@ -19057,7 +19145,7 @@ GET https://DomainName/api/v1/search?query=000000111
loans/{loanId}/charges/{loanChargeId}
-
+ Pay a Loan Charge
Retrieve a Loan Charge
Modify a Loan Charge
Delete a Loan Charge