Create a Consumer User

POST
/consumer/users

POST Consumer User

/consumer/user endpoint allows you to operate on the Consumer user entity.

In order to pass the payload of a User to Flagright and verify the User, you will need to call this endpoint with the User payload. Not all fields are mandatory, you will only need to pass in the fields that you have and are relevant for your compliance setup.

Payload

Each consumer user needs two mandatory fields:

  • userId - Unique identifier for the user
  • createdTimestamp - UNIX timestamp in milliseconds for when the User is created in your system

Query parameters

lockCraRiskLevel"true" or "false"Optional

Boolean string whether Flagright should lock the CRA risk level for the user.

Allowed values: truefalse

Request

This endpoint expects an object.
userIdstringRequired

Unique user ID

createdTimestampdoubleRequired

Timestamp when userId is created

activatedTimestampdoubleOptional

Timestamp when user was activated

userDetailsobjectOptional

Model for consumer user personal details

userStateDetailsobjectOptional
kycStatusDetailsobjectOptional
employmentStatusenumOptional
occupationstringOptional
legalDocumentslist of objectsOptional

User’s legal identity documents - See Document Model for details

contactDetailsobjectOptional

Model for business user contact information details

employmentDetailsobjectOptional

Details of User’s employment

transactionLimitsobjectOptional

Model for transaction limits for a given user

expectedIncomeobjectOptional

Model for expected income details

riskLevelenumOptional
Allowed values: VERY_HIGHHIGHMEDIUMLOWVERY_LOW
acquisitionChannelenumOptional

Model for User acquisition channel

reasonForAccountOpeninglist of stringsOptional
sourceOfFundslist of enumsOptional
userSegment"RETAIL" or "PROFESSIONAL"Optional
Allowed values: RETAILPROFESSIONAL
pepStatuslist of objectsOptional
lastTransactionTimestampdoubleOptional

Timestamp of the last successful transaction of the user

linkedEntitiesobjectOptional
savedPaymentDetailslist of objectsOptional
tagslist of objectsOptional

Additional information that can be added via tags

Response

This endpoint returns an object.
userIdstring

user ID the risk score pertains to

executedRuleslist of objectsOptional
hitRuleslist of objectsOptional
messagestringOptional
riskScoreDetailsobjectOptional

Errors