Skip to main content

CreditScoreAndDebtResponseWrapper

Response wrapper for credit score and debt ratio calculation result

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

DTO representing the credit score and debt ratio of a user

creditScorestring

Credit score status

Example: Favorable
debtRatiostring

Debt ratio status

Example: Faible
timestampstring<date-time>

Timestamp of when the response was generated

CreditScoreAndDebtResponseWrapper
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"creditScore": "Favorable",
"debtRatio": "Faible"
},
"timestamp": "2024-07-29T15:51:28.071Z"
}