Skip to main content

ResponseWrapperCreditConfigDto

Response wrapper for credit simulator configuration

statusstring

Status of the response

Possible values: [SUCCESS, ERROR]

Example: ERROR/SUCCESS
messagestring

Message describing the response

Example: Request failed/Request successful
codeMessagestring

Code message describing the response

Example: ERR-001/SUC-001
data object

Credit configuration response details

averageSalarynumber

Average salary

Example: 3500.75
numberOfMonthsnumber

Number of months

Example: 12
minimumDurationnumber

Minimum duration

Example: 6
maximumDurationnumber

Maximum duration

Example: 60
debtRationumber

Debt ratio (portion of salary that can be committed)

Example: 0.33
interestRatenumber<double>

Interest rate

Example: 3.5
minimumAmountnumber

Minimum loan amount

Example: 1000
maximumAmountnumber

Maximum loan amount

Example: 100000
defaultAmountnumber

Default loan amount

Example: 15000
defaultDurationinteger<int64>

Default loan duration in months

Example: 24
timestampstring<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"
}