Retrieve the loan product template (draft workflow)
/lokta-lms/api/v2/loanproducts/templateReturns the field defaults and allowed values for creating a loan product, using the V2 response shape.
This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:
Field Defaults
Allowed description Lists
Example Request:
v2/loanproducts/template
Query parameters
isProductMixTemplatequery · boolean · optionalisProductMixTemplate
Responses
200OKResponse fields
accountingMappingOptionsGetLoanProductsAccountingMappingOptions · optionalaccountingRuleGetLoanProductsAccountingRule · optionalaccountingRuleOptionsarray of GetLoanProductsAccountingRule · optionaladvancedPaymentAllocationFutureInstallmentAllocationRulesarray of EnumOptionData · optionaladvancedPaymentAllocationTransactionTypesarray of EnumOptionData · optionaladvancedPaymentAllocationTypesarray of EnumOptionData · optionalamortizationTypeGetLoanProductsAmortizationType · optionalamortizationTypeOptionsarray of GetLoanProductsAmortizationType · optionalbuyDownFeeCalculationTypeStringEnumOptionData · optionalbuyDownFeeCalculationTypeOptionsarray of StringEnumOptionData · optionalbuyDownFeeIncomeTypeStringEnumOptionData · optionalbuyDownFeeIncomeTypeOptionsarray of StringEnumOptionData · optionalbuyDownFeeStrategyStringEnumOptionData · optionalbuyDownFeeStrategyOptionsarray of StringEnumOptionData · optionalbuydownFeeClassificationOptionsarray of GetCodeValuesDataResponse · optionalcapitalizedIncomeCalculationTypeStringEnumOptionData · optionalcapitalizedIncomeCalculationTypeOptionsarray of StringEnumOptionData · optionalcapitalizedIncomeClassificationOptionsarray of GetCodeValuesDataResponse · optionalcapitalizedIncomeStrategyStringEnumOptionData · optionalcapitalizedIncomeStrategyOptionsarray of StringEnumOptionData · optionalcapitalizedIncomeTypeStringEnumOptionData · optionalcapitalizedIncomeTypeOptionsarray of StringEnumOptionData · optionalchargeOffBehaviourStringEnumOptionData · optionalchargeOffBehaviourOptionsarray of StringEnumOptionData · optionalchargeOffReasonOptionsarray of GetLoanProductsChargeOffReasonOptions · optionalchargeOptionsarray of GetLoanProductsChargeOptions · optionalcreditAllocationAllocationTypesarray of EnumOptionData · optionalcreditAllocationTransactionTypesarray of EnumOptionData · optionalcurrencyGetLoanProductsTemplateCurrency · optionalcurrencyOptionsarray of GetLoanProductsCurrencyOptions · optionaldaysInMonthTypeGetLoanProductsDaysInMonthType · optionaldaysInMonthTypeOptionsarray of StringEnumOptionData · optionaldaysInYearCustomStrategyStringEnumOptionData · optionaldaysInYearTypeGetLoanProductsDaysInYearType · optionaldaysInYearTypeCustomStrategyOptionsarray of StringEnumOptionData · optionaldaysInYearTypeOptionsarray of GetLoanProductsInterestTemplateType · optionalenableBuyDownFeeboolean · optionalenableIncomeCapitalizationboolean · optionalincludeInBorrowerCycleboolean · optionalinterestCalculationPeriodTypeGetLoansProductsInterestCalculationPeriodType · optionalinterestCalculationPeriodTypeOptionsarray of GetLoansProductsInterestCalculationPeriodType · optionalinterestRateFrequencyTypeGetLoanProductsInterestRateTemplateFrequencyType · optionalinterestRateFrequencyTypeOptionsarray of GetLoanProductsInterestRateTemplateFrequencyType · optionalinterestRateVariationsForBorrowerCyclearray · optionalinterestRecalculationCompoundingTypeOptionsarray of GetLoanProductsInterestRecalculationCompoundingType · optionalinterestRecalculationDataGetLoanProductsInterestRecalculationTemplateData · optionalinterestRecalculationFrequencyTypeOptionsarray of GetLoanProductsInterestRecalculationCompoundingFrequencyType · optionalinterestTypeGetLoanProductsInterestTemplateType · optionalinterestTypeOptionsarray of GetLoanProductsInterestTemplateType · optionalisInterestRecalculationEnabledboolean · optionalloanScheduleProcessingTypeOptionsarray of EnumOptionData · optionalloanScheduleTypeOptionsarray of EnumOptionData · optionalmerchantBuyDownFeeboolean · optionalnumberOfRepaymentVariationsForBorrowerCyclearray · optionalpaymentTypeOptionsarray of GetLoanProductsPaymentTypeOptions · optionalpreClosureInterestCalculationStrategyOptionsarray of GetLoanProductsPreClosureInterestCalculationStrategy · optionalprincipalVariationsForBorrowerCyclearray · optionalrepaymentFrequencyTypeGetLoanProductsRepaymentTemplateFrequencyType · optionalrepaymentFrequencyTypeOptionsarray of GetLoanProductsRepaymentTemplateFrequencyType · optionalrepaymentStartDateTypeOptionsarray of GetLoanProductsRepaymentStartDateType · optionalrescheduleStrategyTypeOptionsarray of GetLoanProductsRescheduleStrategyType · optionalsupportedInterestRefundTypesarray of StringEnumOptionData · optionalsupportedInterestRefundTypesOptionsarray of StringEnumOptionData · optionaltransactionProcessingStrategyOptionsarray of GetLoanProductsTransactionProcessingStrategyOptions · optionaluseBorrowerCycleboolean · optionalvalueConditionTypeOptionsarray of GetLoanProductsValueConditionTypeOptions · optionalwriteOffReasonOptionsarray of GetLoanProductsWriteOffReasonOptions · optionaladjustedInstallmentRoundingOptionsarray of LoanProductV2EnumOption · optionalAllowed adjustedInstallmentRounding choices: stable code (the only value the write API accepts) + display name + one-line description.
beneficiaryTypeOptionsarray of LoanProductV2CodeOption · optionalbpiMethodOptionsarray of LoanProductV2EnumOption · optionalAllowed bpiMethod choices: stable code (the only value the write API accepts) + display name + one-line description.
brokenPeriodDayCountOptionsarray of LoanProductV2EnumOption · optionalAllowed brokenPeriodDayCount choices; identical to dayCountConventionOptions (parity by design).
dayCountConventionOptionsarray of LoanProductV2EnumOption · optionalAllowed dayCountConvention choices: stable code (the only value the write API accepts) + display name + one-line description.
pmtTypeOptionsarray of LoanProductV2EnumOption · optionalAllowed pmtType choices.
productCategoryTagOptionsarray of LoanProductV2CodeOption · optionalproductTypeOptionsarray of LoanProductV2CodeOption · optionalroundingModeOptionsarray · optionalThe rounding-mode validation whitelist; java.math.RoundingMode names the backend accepts. No profile ids, codes or names exist externally.
scheduleSolverOptionsarray of LoanProductV2EnumOption · optionalAllowed scheduleSolver choices, exactly five, stable code (the only value the write API accepts) + display name + one-line description. All five are storable declarative configuration with no backend derivation; which values a client presents as engine-native is managed outside the backend. The backend never derives Loan terms from scheduleSolver.
Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai