Create a Business User Event
POST Business User Events
/events/business/user
endpoint allows you to operate on the Business User Events entity.
User events are created after the initial POST /business/users
call (which creates a user) and are used to:
- Update the STATE and KYC Status of the user, using the
userStateDetails
orkycStatusDetails
field - Update the user details, using the
updatedBusinessUserAttributes
field.
If you have neither of the above two use cases, you do not need to use user events.
Payload
Each user event needs three mandatory fields:
timestamp
- the timestamp of when the event was created or occured in your systemuserId
- The ID of the transaction for which this event is generated.
In order to make individual events retrievable, you also need to pass in a unique eventId
to the request body.
Headers
Query parameters
Boolean string whether Flagright should allow a Business user event to be applied to a Consumer user with the same user ID. This will converts a Consumer user to a Business user.
Boolean string whether Flagright should lock the KYC risk level for the user.
Boolean string whether Flagright should lock the CRA risk level for the user.
Request
Timestamp of the event
Transaction ID the event pertains to
Unique event ID
Reason for the event or a state change
Event description
Model for a business user - optional fields
Response
Created
Unique user ID for the user
Timestamp when the user was created
Model for business user legal entity details
Timestamp when the user was activated
Director(s) of the company. Must be at least one
Model for transaction limits for a given user
Timestamp of the last successful transaction of the user
Model for User acquisition channel
User’s attachments uploaded by business user