diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index d36aadb28..497e723ed 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -11030,13 +11030,19 @@ Request Body:
Define a new charge that can later be associated with loan - products or loans.
+Define a new charge specific to loan or saving that can later be associated with loan + products, loans Savings product or Savings account.
@@ -11212,6 +11262,28 @@ Request Body:
"resourceId": 4
}
+
+
+POST charges
+Content-Type: application/json
+Request Body:
+{
+ "locale": "en",
+ "name": "Annuaul Fee",
+ "amount": "20",
+ "currencyCode": "USD",
+ "chargeAppliesTo": "2",
+ "chargeTimeType": "6",
+ "chargeCalculationType": "1",
+ "active": "true",
+ "penalty": "false"
+}
+
+
+{
+ "resourceId": 5
+}
+
Optional Fields |
| minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeAmount, withdrawalFeeType,withdrawalFeeForTransfers, annualFeeAmount, annualFeeOnMonthDay, monthDayFormat, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges |
| minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers, paymentChannelToFundSourceMappings, feeToIncomeAccountMappings, penaltyToIncomeAccountMappings, charges |
Inherited from Product (if not provided) |
| nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeAmount, withdrawalFeeType,withdrawalFeeForTransfers, annualFeeAmount, annualFeeOnMonthDay | +
| nominalAnnualInterestRate, interestCompoundingPeriodType, interestCalculationType, interestCalculationDaysInYearType, minRequiredOpeningBalance, lockinPeriodFrequency, lockinPeriodFrequencyType, withdrawalFeeForTransfers |
@@ -14029,7 +14219,7 @@ No Request Body:
class="old-syle-anchor">
- List Loan Charges
+ List Savings Charges
Example Requests:
savingsaccounts/1/charges
@@ -14045,6 +14235,7 @@ GET https://DomainName/api/v1/savingsaccounts/{accountId}/charges
{
"id": 1,
"chargeId": 3,
+ "accountId": 57,
"name": "Savings account maintenance fee",
"chargeTimeType": {
"id": 1,
@@ -14077,6 +14268,7 @@ GET https://DomainName/api/v1/savingsaccounts/{accountId}/charges
{
"id": 2,
"chargeId": 4,
+ "accountId": 57,
"name": "Pass book Fee",
"chargeTimeType": {
"id": 2,
@@ -14110,6 +14302,76 @@ GET https://DomainName/api/v1/savingsaccounts/{accountId}/charges
"amountOutstanding": 100,
"amountOrPercentage": 100,
"penalty": false
+ },
+ {
+ "id": 9,
+ "chargeId": 4,
+ "accountId": 57,
+ "name": "Withdrawal fee percentage",
+ "chargeTimeType": {
+ "id": 5,
+ "code": "chargeTimeType.withdrawalFee",
+ "value": "Withdrawal Fee"
+ },
+ "chargeCalculationType": {
+ "id": 2,
+ "code": "chargeCalculationType.percent.of.amount",
+ "value": "% Amount"
+ },
+ "percentage": 0.25,
+ "amountPercentageAppliedTo": 0,
+ "currency": {
+ "code": "USD",
+ "name": "US Dollar",
+ "decimalPlaces": 2,
+ "displaySymbol": "$",
+ "nameCode": "currency.USD",
+ "displayLabel": "US Dollar ($)"
+ },
+ "amount": 0,
+ "amountPaid": 0,
+ "amountWaived": 0,
+ "amountWrittenOff": 0,
+ "amountOutstanding": 0,
+ "amountOrPercentage": 0.25,
+ "penalty": false
+ },
+ {
+ "id": 10,
+ "chargeId": 6,
+ "accountId": 57,
+ "name": "Annual fee - INR",
+ "chargeTimeType": {
+ "id": 6,
+ "code": "chargeTimeType.annualFee",
+ "value": "Annual Fee"
+ },
+ "feeOnMonthDay": [
+ 10,
+ 9
+ ],
+ "chargeCalculationType": {
+ "id": 1,
+ "code": "chargeCalculationType.flat",
+ "value": "Flat"
+ },
+ "percentage": 0,
+ "amountPercentageAppliedTo": 0,
+ "currency": {
+ "code": "USD",
+ "name": "US Dollar",
+ "decimalPlaces": 2,
+ "displaySymbol": "$",
+ "nameCode": "currency.USD",
+ "displayLabel": "US Dollar ($)"
+ },
+ "amount": 50,
+ "amountPaid": 0,
+ "amountWaived": 0,
+ "amountWrittenOff": 0,
+ "amountOutstanding": 50,
+ "amountOrPercentage": 50,
+ "penalty": false
}
]
@@ -14202,6 +14464,41 @@ GET https://DomainName/api/v1/savingsaccounts/{accountId}/charges/template
"code": "chargeCalculationType.flat",
"value": "Flat"
}
+ },
+ {
+ "id": 6,
+ "name": "Annual fee",
+ "active": true,
+ "penalty": false,
+ "currency": {
+ "code": "USD",
+ "name": "US Dollar",
+ "decimalPlaces": 2,
+ "displaySymbol": "$",
+ "nameCode": "currency.USD",
+ "displayLabel": "US Dollar ($)"
+ },
+ "amount": 50,
+ "chargeTimeType": {
+ "id": 6,
+ "code": "chargeTimeType.annualFee",
+ "value": "Annual Fee"
+ },
+ "chargeAppliesTo": {
+ "id": 2,
+ "code": "chargeAppliesTo.savings",
+ "value": "Savings"
+ },
+ "chargeCalculationType": {
+ "id": 1,
+ "code": "chargeCalculationType.flat",
+ "value": "Flat"
+ },
+ "chargePaymentMode": {
+ "id": 0,
+ "code": "chargepaymentmode.regular",
+ "value": "Regular"
+ }
}
],
"penalty": false
@@ -14271,7 +14568,21 @@ GET https://DomainName/api/v1/savingsaccounts/{accountId}/charges/{savingsAccoun
for Savings account Charges
+POST /savingsaccounts/1/charges
+Content-Type: application/json
+Request Body:
+{
+ "chargeId": "2",
+ "locale": "en",
+ "amount": "25",
+ "monthDayFormat": "dd MMMM",
+ "feeOnMonthDay": "09 October"
+}
+
+
+{
+ "officeId": 1,
+ "clientId": 1,
+ "savingsId": 1,
+ "resourceId": 7
+}
+