Table of Contents

Class SubmitIdProofingCommand

Namespace
SEBT.Portal.UseCases.IdProofing
Assembly
SEBT.Portal.UseCases.dll

Command to submit ID proofing data for risk assessment. Dispatched when the user submits their DOB and optional government ID.

public class SubmitIdProofingCommand : ICommand<SubmitIdProofingResponse>, ICommand
Inheritance
object
SubmitIdProofingCommand
Implements

Properties

DateOfBirth

User's date of birth in yyyy-MM-dd format.

[Required(ErrorMessage = "DateOfBirth is required.")]
public string DateOfBirth { get; init; }

Property Value

string

DiSessionToken

Device Intelligence session token from the Socure DI SDK running in the user's browser. When present, overrides the config-level placeholder for real device fingerprinting.

public string? DiSessionToken { get; init; }

Property Value

string

IdType

Type of government ID provided (e.g., "ssn", "itin"), or null if the user opted out. A null idType triggers the noIdProvided off-boarding path.

public string? IdType { get; init; }

Property Value

string

IdValue

The government ID value, or null if the user opted out.

public string? IdValue { get; init; }

Property Value

string

IpAddress

The user's IP address from the HTTP request, for Socure risk assessment.

public string? IpAddress { get; init; }

Property Value

string

UserId

The authenticated user's internal ID. Guaranteed non-empty by ResolveUserFilter before the command is built.

public Guid UserId { get; init; }

Property Value

Guid