From bcb9c4a234fdfbe05849f816c69aa1aca47e0103 Mon Sep 17 00:00:00 2001 From: Victor Wu Date: Tue, 31 Mar 2026 16:40:48 -0700 Subject: [PATCH] update VerificationErrorType and VerificationStatus --- mintlify/openapi.yaml | 14 +++++++++++++- openapi.yaml | 14 +++++++++++++- .../verifications/VerificationErrorType.yaml | 18 +++++++++++++++--- .../verifications/VerificationStatus.yaml | 1 + .../schemas/webhooks/WebhookType.yaml | 1 + 5 files changed, 43 insertions(+), 5 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 5526d489..89bb2e85 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -10060,6 +10060,7 @@ components: - IN_PROGRESS - APPROVED - REJECTED + - READY_FOR_VERIFICATION description: Current status of the KYC/KYB verification example: RESOLVE_ERRORS VerificationErrorType: @@ -10075,8 +10076,18 @@ components: - MISSING_IDENTITY_DOCUMENT - INVALID_DOCUMENT - EXPIRED_DOCUMENT + - POOR_QUALITY_DOCUMENT + - SUSPECTED_FRAUD_DOCUMENT + - WRONG_DOCUMENT_TYPE + - INCOMPLETE_DOCUMENT + - UNREADABLE_DOCUMENT + - DOCUMENT_VERIFICATION_FAILED + - APPLICANT_SANCTIONED + - APPLICANT_FRAUD + - APPLICANT_CRIMINAL_RECORD + - APPLICANT_REJECTED - MISSING_BENEFICIAL_OWNER - description: Type of verification error. The category-specific MISSING_*_DOCUMENT types indicate which document category is needed and determine the accepted document types returned in acceptedDocumentTypes. + description: Type of verification error. The category-specific MISSING_*_DOCUMENT types indicate which document category is needed. Document quality types (POOR_QUALITY_DOCUMENT, SUSPECTED_FRAUD_DOCUMENT, etc.) indicate specific issues with uploaded documents. APPLICANT_* types indicate issues with the applicant themselves (sanctions, fraud, criminal records). example: MISSING_FIELD VerificationError: type: object @@ -11670,6 +11681,7 @@ components: - VERIFICATION.RESOLVE_ERRORS - VERIFICATION.IN_PROGRESS - VERIFICATION.PENDING_MANUAL_REVIEW + - VERIFICATION.READY_FOR_VERIFICATION - INTERNAL_ACCOUNT.BALANCE_UPDATED - INVITATION.CLAIMED - BULK_UPLOAD.COMPLETED diff --git a/openapi.yaml b/openapi.yaml index 5526d489..89bb2e85 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -10060,6 +10060,7 @@ components: - IN_PROGRESS - APPROVED - REJECTED + - READY_FOR_VERIFICATION description: Current status of the KYC/KYB verification example: RESOLVE_ERRORS VerificationErrorType: @@ -10075,8 +10076,18 @@ components: - MISSING_IDENTITY_DOCUMENT - INVALID_DOCUMENT - EXPIRED_DOCUMENT + - POOR_QUALITY_DOCUMENT + - SUSPECTED_FRAUD_DOCUMENT + - WRONG_DOCUMENT_TYPE + - INCOMPLETE_DOCUMENT + - UNREADABLE_DOCUMENT + - DOCUMENT_VERIFICATION_FAILED + - APPLICANT_SANCTIONED + - APPLICANT_FRAUD + - APPLICANT_CRIMINAL_RECORD + - APPLICANT_REJECTED - MISSING_BENEFICIAL_OWNER - description: Type of verification error. The category-specific MISSING_*_DOCUMENT types indicate which document category is needed and determine the accepted document types returned in acceptedDocumentTypes. + description: Type of verification error. The category-specific MISSING_*_DOCUMENT types indicate which document category is needed. Document quality types (POOR_QUALITY_DOCUMENT, SUSPECTED_FRAUD_DOCUMENT, etc.) indicate specific issues with uploaded documents. APPLICANT_* types indicate issues with the applicant themselves (sanctions, fraud, criminal records). example: MISSING_FIELD VerificationError: type: object @@ -11670,6 +11681,7 @@ components: - VERIFICATION.RESOLVE_ERRORS - VERIFICATION.IN_PROGRESS - VERIFICATION.PENDING_MANUAL_REVIEW + - VERIFICATION.READY_FOR_VERIFICATION - INTERNAL_ACCOUNT.BALANCE_UPDATED - INVITATION.CLAIMED - BULK_UPLOAD.COMPLETED diff --git a/openapi/components/schemas/verifications/VerificationErrorType.yaml b/openapi/components/schemas/verifications/VerificationErrorType.yaml index 383b9f0d..1fd3c614 100644 --- a/openapi/components/schemas/verifications/VerificationErrorType.yaml +++ b/openapi/components/schemas/verifications/VerificationErrorType.yaml @@ -10,9 +10,21 @@ enum: - MISSING_IDENTITY_DOCUMENT - INVALID_DOCUMENT - EXPIRED_DOCUMENT + - POOR_QUALITY_DOCUMENT + - SUSPECTED_FRAUD_DOCUMENT + - WRONG_DOCUMENT_TYPE + - INCOMPLETE_DOCUMENT + - UNREADABLE_DOCUMENT + - DOCUMENT_VERIFICATION_FAILED + - APPLICANT_SANCTIONED + - APPLICANT_FRAUD + - APPLICANT_CRIMINAL_RECORD + - APPLICANT_REJECTED - MISSING_BENEFICIAL_OWNER description: >- - Type of verification error. The category-specific MISSING_*_DOCUMENT - types indicate which document category is needed and determine the - accepted document types returned in acceptedDocumentTypes. + Type of verification error. The category-specific MISSING_*_DOCUMENT types + indicate which document category is needed. Document quality types + (POOR_QUALITY_DOCUMENT, SUSPECTED_FRAUD_DOCUMENT, etc.) indicate specific + issues with uploaded documents. APPLICANT_* types indicate issues with the + applicant themselves (sanctions, fraud, criminal records). example: MISSING_FIELD diff --git a/openapi/components/schemas/verifications/VerificationStatus.yaml b/openapi/components/schemas/verifications/VerificationStatus.yaml index 93b3c279..f73107fd 100644 --- a/openapi/components/schemas/verifications/VerificationStatus.yaml +++ b/openapi/components/schemas/verifications/VerificationStatus.yaml @@ -5,5 +5,6 @@ enum: - IN_PROGRESS - APPROVED - REJECTED + - READY_FOR_VERIFICATION description: Current status of the KYC/KYB verification example: RESOLVE_ERRORS diff --git a/openapi/components/schemas/webhooks/WebhookType.yaml b/openapi/components/schemas/webhooks/WebhookType.yaml index 65ce267e..d24a8e54 100644 --- a/openapi/components/schemas/webhooks/WebhookType.yaml +++ b/openapi/components/schemas/webhooks/WebhookType.yaml @@ -22,6 +22,7 @@ enum: - VERIFICATION.RESOLVE_ERRORS - VERIFICATION.IN_PROGRESS - VERIFICATION.PENDING_MANUAL_REVIEW + - VERIFICATION.READY_FOR_VERIFICATION - INTERNAL_ACCOUNT.BALANCE_UPDATED - INVITATION.CLAIMED - BULK_UPLOAD.COMPLETED