Creating a new loan application
The creation of a Loan Application using the parameters of the selected loan product in the Loan Application should be carried out in the following order:
-
Initialization of an application using the " Initialization of a new application for a loan " method.
-
Adding a loan product to the application initialized in the previous step using the method " Automatically adding a loan product to the application ".
-> 3. Enter the value of the parameters "clientId" - the client's identifier, "creationDate" - the date the order was created, "currencyId" - the currency identifier and "loanAmount" - the amount of the order. If necessary, you can replace other product parameters: fields affecting the loan term: number of tranches, duration of the period with m / y repayments, interest rates, as well as the value of the gettingMoneyMethodId field (possible values can be obtained using the " Methods of obtaining a loan ").
Creating an order using the current method. (In fact, saving the received / filled data to create a Loan Application in the previous steps). When creating an application, a lead will be created automatically
Request Body
Activity Subtype ID
"int64"Age
Client's place of contact
KB Scoring
"double"Client ID
"int64"Co-Borrower
"int64"Id
"int64"Collateral ID
"int64""int64""double"Date of the agreement
"date""int64"Contract name. This field is filled in if you need to know the contract number at the application stage, when the contract itself is not yet available
"int32""int64"Creation date in milliseconds
"date-time"Loan conditions
"double"Do not carry over from holidays and weekends (Yes / No)
Possibility of repayment before maturity upon auto-acceptance (Yes / No)
"double"the first day of accrual of additional interest on overdue fixed assets
"int32"last day of accrual of additional interest on overdue fixed assets
"int32"charge additional interest on overdue fixed assets (as a separate type of amount)
accrue interest on the day the contract is issued (in this case, interest is accrued on both the first and last days of the tranche)
Accrue interest on overdue fixed assets (Yes / No)
Penalty on calendar days (Yes / No)
Accrue interest at the end of the loan term (Yes / No)
Credit line type
"int64"Method for calculating dates
"int64"Day of delay for calculating late penalties
"int32""int32"Number of days before switching to a rate in case of delay. If the delinqIntRateDelay field has a value of 0, then the interest rate in case of delay is used from the first day of interest accrual on the tranche (if there is a delay in the previous tranches), otherwise, the usual interest rate will continue to operate from the beginning of the tranche for the specified number of days
"int32"Interest rate on delay
"double"Discounting activated
Early renewal from the current date (Yes / No) (otherwise, prolongation from the end date of the current tranche)
"int32"Fees
Do not charge first weekend penalties
Late Penalty (Fixed Amount)
"double"Prepayment offset method
"int64"Full shift of the schedule from the actual date of issue (Yes / No)
Loan product identifier
"int64"rate in the first period
"double"rate in the second period
"double"Interest method
"int64"Interest rate
"double"Grace period (without interest accrued for this period)
"int32"Deferred grace period (in days)
"int32""double"Calculate percentage of the amount in the contract
Interest rate type
"int64"Percentage of the issue amount (by which we determine whether to consider it as a friend)
"double"Reduced interest rate for each friend
"double"Minimum interest rate
"double""int32"Mandatory interest period
"int32""double""LOAN_AMOUNT_PERCENTAGE_PER_YEAR""double""FROM_DELINQUENCY_START_BY_STATUS""FROM_TRANCHE_REPAYMENT_DATE"Penalty rates
Type of fines calculation
"int64"Parts of the principal
Prolongation period (Specified in days)
"int32"Number of days after the end of the schedule until the fines stop
"int32"number of tranches in the first period
"int32"Number of tranches to calculate the second period repayment rate. Now it makes sense to display this field only when the interest calculation method is selected (parameter interestCalcMethodId) Remaining with two rates (101226). If this field is greater than zero, then when calculating the schedule for the second period, the repayment rate is calculated based on the specified number of tranches, the calculated repayment rate is stored in the contract
"int32"number of tranches in the second period
"int32"Maturity rate
"double"Order of repayment
"int64"To recalculate the schedule to the budget billing date (Yes / No)
Shift the date of the first repayment to the next business day when calculating
Control of short-term (adjusting the date of the last repayment so that the term of the contract does not exceed 1 year)
Stop penalties after the end of the schedule (Yes / No)
Number of tranches
"int32"The length of the period between redemptions
"int32"Use the interest rate on arrears to calculate the UCI.
If the contract under this field is YES, and the interest rate on arrears is not zero, then when calculating the UCI for the contract, a schedule is created taking into account the interest rate for arrears and UCI is calculated from this schedule
Return to regular interest rate from the next tranche after the delay is repaid. If the useDelinqIntRateTillNextTranche field = YES (true), then the return to the regular rate after the delay is repaid will be from the beginning of the next tranche, if NO (false) - from the next day after the delay is repaid
Use EPS for discounting (instead of CPM)
Loan product identifier
"int64"Name of the loan product
"int64"Order currency identifier
"int64""double"The validity period of the SBOF decision
"date"The number of user's social friends networks
"double"How to receive money
"int64"Links to groups from social. chains (maximum 100 pcs.)
List of social groups chains (maximum 100 pcs.)
Co-Borrowers Id
"int64"Down payment
"double"IP address
Issuance stages
Amount of issue
"double"Date of issue
"date"Identifier
"int64"Financial position identifier
"int64"Loan amount
"double"Refusal reason identifier
"int64"Loan grade
"int32"Loan type identifier
"int64"Chief Loan Officer
"int64"Link to the main photo from the social. networks
Loan Specialist
"int64""int64""int64""double""double"Application code
"int64""int64""double""int64"Client Premium
"double"Repeated loan
"int64""double"Do not carry over from holidays and weekends (Yes / No)
Possibility of repayment before maturity upon auto-acceptance (Yes / No)
"double"the first day of accrual of additional interest on overdue fixed assets
"int32"last day of accrual of additional interest on overdue fixed assets
"int32"charge additional interest on overdue fixed assets (as a separate type of amount)
accrue interest on the day the contract is issued (in this case, interest is accrued on both the first and last days of the tranche)
Accrue interest on overdue fixed assets (Yes / No)
Penalty on calendar days (Yes / No)
Accrue interest at the end of the loan term (Yes / No)
Credit line type
"int64"Method for calculating dates
"int64"Day of delay for calculating late penalties
"int32""int32"Number of days before switching to a rate in case of delay. If the delinqIntRateDelay field has a value of 0, then the interest rate in case of delay is used from the first day of interest accrual on the tranche (if there is a delay in the previous tranches), otherwise, the usual interest rate will continue to operate from the beginning of the tranche for the specified number of days
"int32"Interest rate on delay
"double"Discounting activated
Early renewal from the current date (Yes / No) (otherwise, prolongation from the end date of the current tranche)
"int32"Fees
Do not charge first weekend penalties
Late Penalty (Fixed Amount)
"double"Prepayment offset method
"int64"Full shift of the schedule from the actual date of issue (Yes / No)
Loan product identifier
"int64"rate in the first period
"double"rate in the second period
"double"Interest method
"int64"Interest rate
"double"Grace period (without interest accrued for this period)
"int32"Deferred grace period (in days)
"int32""double"Calculate percentage of the amount in the contract
Interest rate type
"int64"Percentage of the issue amount (by which we determine whether to consider it as a friend)
"double"Reduced interest rate for each friend
"double"Minimum interest rate
"double""int32"Mandatory interest period
"int32""double""LOAN_AMOUNT_PERCENTAGE_PER_YEAR""double""FROM_DELINQUENCY_START_BY_STATUS""FROM_TRANCHE_REPAYMENT_DATE"Penalty rates
Type of fines calculation
"int64"Parts of the principal
Prolongation period (Specified in days)
"int32"Number of days after the end of the schedule until the fines stop
"int32"number of tranches in the first period
"int32"Number of tranches to calculate the second period repayment rate. Now it makes sense to display this field only when the interest calculation method is selected (parameter interestCalcMethodId) Remaining with two rates (101226). If this field is greater than zero, then when calculating the schedule for the second period, the repayment rate is calculated based on the specified number of tranches, the calculated repayment rate is stored in the contract
"int32"number of tranches in the second period
"int32"Maturity rate
"double"Order of repayment
"int64"To recalculate the schedule to the budget billing date (Yes / No)
Shift the date of the first repayment to the next business day when calculating
Control of short-term (adjusting the date of the last repayment so that the term of the contract does not exceed 1 year)
Stop penalties after the end of the schedule (Yes / No)
Number of tranches
"int32"The length of the period between redemptions
"int32"Use the interest rate on arrears to calculate the UCI.
If the contract under this field is YES, and the interest rate on arrears is not zero, then when calculating the UCI for the contract, a schedule is created taking into account the interest rate for arrears and UCI is calculated from this schedule
Return to regular interest rate from the next tranche after the delay is repaid. If the useDelinqIntRateTillNextTranche field = YES (true), then the return to the regular rate after the delay is repaid will be from the beginning of the next tranche, if NO (false) - from the next day after the delay is repaid
Use EPS for discounting (instead of CPM)
"int64"Links to selected photos with "Like" (maximum 100)
Links to selected photos with tagged people (maximum 100)
Store address
"int64"Date of signing
"date"Application number on the site
Social network (vk; ok; fb)
"double"Number of the deferred tender application
Tender name
Tender number
Tender Notice Number
Site code
"LoanApplication""RentalApplication"Social network user ID
Responses
OK
Activity subtype identifier , this link can be used to get "Activities", which in turn may contain activity subtypes
"int64"Age
Client's place of contact
KB Scoring
"double"Client ID
"int64"Co-Borrowers
Collateral ID
"int64""double"Date of the agreement
"date""int64"Contract name. This field is filled in if you need to know the contract number at the application stage, when the contract itself is not yet available
"int32""int64"ID of the department where the ticket was created
"int64"ID of the user who created the request
"int32"Creation date in milliseconds
"date-time"Loan conditions
"int64""double"The validity period of the SBOF decision
"date"The number of user's social friends networks
"double"Links to groups from social. chains (maximum 100 pcs.)
List of social groups chains (maximum 100 pcs.)
Order ID. When creating a new application - not specified
"int64"Down payment
"double"IP address
Issuance stages. A collection linked to a loan application, not used for calculations, was introduced to generate printable forms in case the issuance is carried out in several stages (credit line)
Loan amount
"double"Loan step.
The mechanism for setting loanStage is as follows:
The loanStage parameter is set to the value of the loanStage parameter (1, 2, 3 ... etc.). When creating a new application for a loan (if it is the first for this client), this field is filled with the value 1. If the application is approved, then in the contract this field will contain the value 1. When creating a new application for a loan for this client, this field will accordingly value 2 (step 2), provided that the first application for this client was approved.
Example:
an application with step 3 is created, the application goes to the decision making system (which will be pre-configured in the system), there an expression will be executed that will apply the loan product that corresponds to the loan tier
"int32"Loan type identifier
"int64"Regional Loan Manager. Implementation of a dealer network of stores
"int64"Link to the main photo from the social. networks
Personal loan manager. Implementation of a dealer network of stores
"int64""int64""int64""double""double"Application code
"int64""int64"Client Premium. Implementation of a dealer network of stores
"double"Repeated loan. Implementation of a dealer network of stores
"int64""int64"Links to selected photos with "Like" (maximum 100)
Links to selected photos with tagged people (maximum 100)
Shop address identifier. Implementation of a dealer network of stores
"int64"Date of signing
"date"Application number on the site
Social network (vk; ok; fb)
"double"Number of the deferred tender application
Tender name
Tender number
Tender Notice Number
Site code
"LoanApplication""RentalApplication"Social network user ID
"error""ok""int64"