ResponseWrapperCreditConfigDto
Response wrapper for credit simulator configuration
statusstring
Status of the response
Possible values: [SUCCESS, ERROR]
Example:
ERROR/SUCCESSmessagestring
Message describing the response
Example:
Request failed/Request successfulcodeMessagestring
Code message describing the response
Example:
ERR-001/SUC-001data object
Credit configuration response details
averageSalarynumber
Average salary
Example:
3500.75numberOfMonthsnumber
Number of months
Example:
12minimumDurationnumber
Minimum duration
Example:
6maximumDurationnumber
Maximum duration
Example:
60debtRationumber
Debt ratio (portion of salary that can be committed)
Example:
0.33interestRatenumber<double>
Interest rate
Example:
3.5minimumAmountnumber
Minimum loan amount
Example:
1000maximumAmountnumber
Maximum loan amount
Example:
100000defaultAmountnumber
Default loan amount
Example:
15000defaultDurationinteger<int64>
Default loan duration in months
Example:
24timestampstring<date-time>
Timestamp of when the response was generated
ResponseWrapperCreditConfigDto
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"averageSalary": 3500.75,
"numberOfMonths": 12,
"minimumDuration": 6,
"maximumDuration": 60,
"debtRatio": 0.33,
"interestRate": 3.5,
"minimumAmount": 1000,
"maximumAmount": 100000,
"defaultAmount": 15000,
"defaultDuration": 24
},
"timestamp": "2024-07-29T15:51:28.071Z"
}