Guest User

Untitled

a guest
Aug 26th, 2026
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. curl -s -u mifos:password \
  2. -H "Fineract-Platform-TenantId: default" \
  3. -H "Content-Type: application/json" \
  4. "http://localhost:8080/fineract-provider/api/v1/loanproducts" \
  5. -d '{
  6. "charges": [],
  7. "interestRecognitionOnDisbursementDate": false,
  8. "loanScheduleType": "PROGRESSIVE",
  9. "transactionProcessingStrategyCode": "advanced-payment-allocation-strategy",
  10. "amortizationType": 1,
  11. "interestType": 0,
  12. "isEqualAmortization": false,
  13. "interestCalculationPeriodType": 1,
  14. "allowPartialPeriodInterestCalculation": false,
  15. "daysInYearType": 1,
  16. "daysInMonthType": 1,
  17. "canDefineInstallmentAmount": false,
  18. "accountMovesOutOfNPAOnlyOnArrearsCompletion": false,
  19. "allowVariableInstallments": false,
  20. "canUseForTopup": false,
  21. "isInterestRecalculationEnabled": false,
  22. "multiDisburseLoan": false,
  23. "enableDownPayment": false,
  24. "loanScheduleProcessingType": "HORIZONTAL",
  25. "chargeOffBehaviour": "REGULAR",
  26. "accountingRule": 1,
  27. "allowAttributeOverrides": {
  28. "amortizationType": true,
  29. "interestType": true,
  30. "transactionProcessingStrategyCode": true,
  31. "interestCalculationPeriodType": true,
  32. "inArrearsTolerance": true,
  33. "repaymentEvery": true,
  34. "graceOnPrincipalAndInterestPayment": true,
  35. "graceOnArrearsAgeing": true
  36. },
  37. "interestRateFrequencyType": 3,
  38. "repaymentFrequencyType": 2,
  39. "paymentAllocation": [
  40. {
  41. "transactionType": "DEFAULT",
  42. "paymentAllocationOrder": [
  43. {
  44. "order": 1,
  45. "paymentAllocationRule": "PAST_DUE_PENALTY"
  46. },
  47. {
  48. "order": 2,
  49. "paymentAllocationRule": "PAST_DUE_FEE"
  50. },
  51. {
  52. "order": 3,
  53. "paymentAllocationRule": "PAST_DUE_PRINCIPAL"
  54. },
  55. {
  56. "order": 4,
  57. "paymentAllocationRule": "PAST_DUE_INTEREST"
  58. },
  59. {
  60. "order": 5,
  61. "paymentAllocationRule": "DUE_PENALTY"
  62. },
  63. {
  64. "order": 6,
  65. "paymentAllocationRule": "DUE_FEE"
  66. },
  67. {
  68. "order": 7,
  69. "paymentAllocationRule": "DUE_PRINCIPAL"
  70. },
  71. {
  72. "order": 8,
  73. "paymentAllocationRule": "DUE_INTEREST"
  74. },
  75. {
  76. "order": 9,
  77. "paymentAllocationRule": "IN_ADVANCE_PENALTY"
  78. },
  79. {
  80. "order": 10,
  81. "paymentAllocationRule": "IN_ADVANCE_FEE"
  82. },
  83. {
  84. "order": 11,
  85. "paymentAllocationRule": "IN_ADVANCE_PRINCIPAL"
  86. },
  87. {
  88. "order": 12,
  89. "paymentAllocationRule": "IN_ADVANCE_INTEREST"
  90. }
  91. ],
  92. "futureInstallmentAllocationRule": "NEXT_INSTALLMENT"
  93. }
  94. ],
  95. "creditAllocation": [],
  96. "name": "Balloon With Bug",
  97. "digitsAfterDecimal": 2,
  98. "shortName": "BWB",
  99. "currencyCode": "USD",
  100. "fundId": 3,
  101. "principal": 300000,
  102. "allowApprovedDisbursedAmountsOverApplied": false,
  103. "repaymentStartDateType": 1,
  104. "numberOfRepayments": 8,
  105. "interestRatePerPeriod": 30,
  106. "repaymentEvery": 3,
  107. "graceOnPrincipalPayment": 7,
  108. "enableInstallmentLevelDelinquency": false,
  109. "enableIncomeCapitalization": false,
  110. "locale": "en",
  111. "dateFormat": "dd MMMM yyyy"
  112. }'
Advertisement
Add Comment
Please, Sign In to add comment