Class SubmitIdProofingResponse
- Namespace
- SEBT.Portal.UseCases.IdProofing
- Assembly
- SEBT.Portal.UseCases.dll
Response from ID proofing submission. Matches the frontend contract from DC-137.
public record SubmitIdProofingResponse
- Inheritance
-
objectSubmitIdProofingResponse
Constructors
SubmitIdProofingResponse(string, Guid?, bool?, bool?, string?)
Response from ID proofing submission. Matches the frontend contract from DC-137.
public SubmitIdProofingResponse(string Result, Guid? ChallengeId = null, bool? AllowIdRetry = null, bool? CanApply = null, string? OffboardingReason = null)
Parameters
ResultstringOne of: "matched" (user verified), "failed" (verification failed), or "documentVerificationRequired" (user must upload documents).
ChallengeIdGuid?Present when Result is "documentVerificationRequired". Opaque GUID used to start the document capture flow.
AllowIdRetrybool?Whether the user can retry with a different ID number. Derived server-side, never from URL params.
CanApplybool?Whether the user can still apply despite failing verification.
OffboardingReasonstringReason code for off-boarding (e.g., "noIdProvided", "idProofingFailed").
Properties
AllowIdRetry
Whether the user can retry with a different ID number. Derived server-side, never from URL params.
public bool? AllowIdRetry { get; init; }
Property Value
- bool?
CanApply
Whether the user can still apply despite failing verification.
public bool? CanApply { get; init; }
Property Value
- bool?
ChallengeId
Present when Result is "documentVerificationRequired". Opaque GUID used to start the document capture flow.
public Guid? ChallengeId { get; init; }
Property Value
- Guid?
OffboardingReason
Reason code for off-boarding (e.g., "noIdProvided", "idProofingFailed").
public string? OffboardingReason { get; init; }
Property Value
- string
Result
One of: "matched" (user verified), "failed" (verification failed), or "documentVerificationRequired" (user must upload documents).
public string Result { get; init; }
Property Value
- string