Consumer Users

Create a Consumer User

POST

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

Request

This endpoint expects an object.
userId
stringRequired
Unique user ID
createdTimestamp
doubleRequired
Timestamp when userId is created
activatedTimestamp
doubleOptional
Timestamp when user was activated
userDetails
objectOptional
Model for consumer user personal details
userStateDetails
objectOptional
kycStatusDetails
objectOptional
employmentStatus
enumOptional
occupation
stringOptional
legalDocuments
list of objectsOptional
User's legal identity documents - See Document Model for details
contactDetails
objectOptional
Model for business user contact information details
transactionLimits
objectOptional
Model for transaction limits for a given user
expectedIncome
objectOptional
Model for expected income details
riskLevel
enumOptional
Allowed values: VERY_HIGHHIGHMEDIUMLOWVERY_LOW
acquisitionChannel
enumOptional
Model for User acquisition channel
reasonForAccountOpening
list of stringsOptional
sourceOfFunds
list of enumsOptional
userSegment
enumOptional
Allowed values: RETAILPROFESSIONAL
pepStatus
list of objectsOptional
linkedEntities
objectOptional
savedPaymentDetails
list of unionsOptional
tags
list of objectsOptional
Additional information that can be added via tags

Response

This endpoint returns an object
userId
string
user ID the risk score pertains to
executedRules
list of objectsOptional
Model for list of executed rules
hitRules
list of objectsOptional
Model for list of hit rules
message
stringOptional
riskScoreDetails
objectOptional

Errors