Skip to content

Add handled_check_limit property to IDV sandbox check configurations#497

Draft
Copilot wants to merge 2 commits into
feature/SDK-2759-support-handled-check-limit-property-for-checks-in-idv-sandboxfrom
copilot/sub-pr-496
Draft

Add handled_check_limit property to IDV sandbox check configurations#497
Copilot wants to merge 2 commits into
feature/SDK-2759-support-handled-check-limit-property-for-checks-in-idv-sandboxfrom
copilot/sub-pr-496

Conversation

Copy link
Copy Markdown

Copilot AI commented Nov 27, 2025

Implements handled_check_limit property for IDV sandbox check configurations to control the number of handled/failure responses before switching to success.

Changes

  • Base Configuration: Added handled_check_limit property to RequestedCheckConfig with JSON serialization configured to omit null values
  • Config Classes: Updated constructors for all 9 check config types to accept optional handledCheckLimit parameter:
    • RequestedDocumentAuthenticityConfig
    • RequestedFaceComparisonConfig, RequestedFaceMatchConfig
    • RequestedIdDocumentComparisonConfig
    • RequestedLivenessConfig
    • RequestedThirdPartyIdentityConfig
    • RequestedWatchlistScreeningConfig
    • RequestedWatchlistAdvancedCaConfigYotiAccount, RequestedWatchlistAdvancedCaConfigCustomAccount
  • Builder Classes: Added WithHandledCheckLimit(int) fluent method to all corresponding builder classes
  • Tests: Added unit and serialization tests covering property behavior and JSON round-trip

Usage

var check = new RequestedDocumentAuthenticityCheckBuilder()
    .WithManualCheckNever()
    .WithHandledCheckLimit(3)  // Return handled result 3 times before success
    .Build();

Serializes to JSON as:

{
  "type": "ID_DOCUMENT_AUTHENTICITY",
  "config": {
    "manual_check": "NEVER",
    "handled_check_limit": 3
  }
}

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: mehmet-yoti <111424390+mehmet-yoti@users.noreply.github.com>
Copilot AI changed the title [WIP] Support handled_check_limit property for checks in IDV sandbox Add handled_check_limit property to IDV sandbox check configurations Nov 27, 2025
Copilot AI requested a review from mehmet-yoti November 27, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants