Debt Profile Statuses

On the User Response, Spinwheel is returning creditReport.connectionStatus.dataStatus to indicate the status of a user. Below are the expected responses for each use case:

πŸ“˜

Refreshing a User

Each user will need to have a 2000 statusCode in order to successfully refresh.

statusCodedataStatus.DataStatusEnumdescription
2000COMPLETEDAuthentication is successful.
2001IN_PROGRESSAuthentication is in progress.
5000ERRORAuthentication failed.
5000ERRORAuthentication is successful. (Credit report request or process failed)
5000ERRORFraudulent credit report detected.
5000ERRORUnknown Error.
{ dataStatus: DataStatusEnum.COMPLETED, description: 'Authentication is successful.', statusCode: 2000 }
{ dataStatus: DataStatusEnum.IN_PROGRESS, description: 'Authentication is in progress.', statusCode: 2001 }
{ dataStatus: DataStatusEnum.ERROR, description: 'Authentication failed.', statusCode: 5000 }
{ dataStatus: DataStatusEnum.ERROR, description: 'Authentication is successful.', statusCode: 5000 } // Credit report request or process failed
{ dataStatus: DataStatusEnum.ERROR, description: 'Fraudulent credit report detected', statusCode: 5000 }
{ dataStatus: DataStatusEnum.ERROR, description: 'Unknown Error.', statusCode: 5000 }