Create a Consumer User

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

Headers

x-api-keystringRequired

Query parameters

lockCraRiskLevelenumOptional
Boolean string whether Flagright should lock the CRA risk level for the user.
Allowed values:
lockKycRiskLevelenumOptional
Boolean string whether Flagright should lock the KYC risk level for the user.
Allowed values:
validateUserIdenumOptional
Boolean string whether Flagright should validate the userId
Allowed values:
_krsOnlyenumOptional
Allowed values:

Request

userIdstringRequired>=1 character
Unique user ID
createdTimestampdoubleRequired>=315529200000<=4133890801000
Timestamp when userId is created
activatedTimestampdoubleOptional>=315529200000<=4133890801000
Timestamp when user was activated
userDetailsobjectOptional
Model for consumer user personal details
userStateDetailsobjectOptional
kycStatusDetailsobjectOptional
eoddDatedoubleOptional
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:
kycRiskLevelenumOptional
Allowed values:
acquisitionChannelenumOptional
Model for User acquisition channel
reasonForAccountOpeninglist of stringsOptional
sourceOfFundslist of enumsOptional
userSegmentenumOptional
Allowed values:
pepStatuslist of objectsOptional
sanctionsStatusbooleanOptional
adverseMediaStatusbooleanOptional
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
attachmentslist of objectsOptional
Uploaded user's attachment

Response

Created
userIdstring>=1 character
user ID the risk score pertains to
executedRuleslist of objectsOptional
hitRuleslist of objectsOptional
messagestringOptional
riskScoreDetailsobjectOptional

Errors