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 usercreatedTimestamp
- UNIX timestamp in milliseconds for when the User is created in your system
Headers
x-api-key
Query parameters
lockCraRiskLevel
Boolean string whether Flagright should lock the CRA risk level for the user.
Allowed values:
lockKycRiskLevel
Boolean string whether Flagright should lock the KYC risk level for the user.
Allowed values:
validateUserId
Boolean string whether Flagright should validate the userId
Allowed values:
_krsOnly
Allowed values:
Request
userId
Unique user ID
createdTimestamp
Timestamp when userId is created
activatedTimestamp
Timestamp when user was activated
userDetails
Model for consumer user personal details
userStateDetails
kycStatusDetails
eoddDate
employmentStatus
occupation
legalDocuments
User’s legal identity documents - See Document Model for details
contactDetails
Model for business user contact information details
employmentDetails
Details of User's employment
transactionLimits
Model for transaction limits for a given user
expectedIncome
Model for expected income details
riskLevel
Allowed values:
kycRiskLevel
Allowed values:
acquisitionChannel
Model for User acquisition channel
reasonForAccountOpening
sourceOfFunds
userSegment
Allowed values:
pepStatus
sanctionsStatus
adverseMediaStatus
lastTransactionTimestamp
Timestamp of the last successful transaction of the user
linkedEntities
savedPaymentDetails
attachments
Uploaded user's attachment
Response
Created
userId
user ID the risk score pertains to
executedRules
hitRules
message
riskScoreDetails