Skip to content

Commit 6d7ed05

Browse files
authored
update VerificationErrorType and VerificationStatus (#310)
1 parent 89905e3 commit 6d7ed05

5 files changed

Lines changed: 43 additions & 5 deletions

File tree

mintlify/openapi.yaml

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.yaml

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/verifications/VerificationErrorType.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,21 @@ enum:
1010
- MISSING_IDENTITY_DOCUMENT
1111
- INVALID_DOCUMENT
1212
- EXPIRED_DOCUMENT
13+
- POOR_QUALITY_DOCUMENT
14+
- SUSPECTED_FRAUD_DOCUMENT
15+
- WRONG_DOCUMENT_TYPE
16+
- INCOMPLETE_DOCUMENT
17+
- UNREADABLE_DOCUMENT
18+
- DOCUMENT_VERIFICATION_FAILED
19+
- APPLICANT_SANCTIONED
20+
- APPLICANT_FRAUD
21+
- APPLICANT_CRIMINAL_RECORD
22+
- APPLICANT_REJECTED
1323
- MISSING_BENEFICIAL_OWNER
1424
description: >-
15-
Type of verification error. The category-specific MISSING_*_DOCUMENT
16-
types indicate which document category is needed and determine the
17-
accepted document types returned in acceptedDocumentTypes.
25+
Type of verification error. The category-specific MISSING_*_DOCUMENT types
26+
indicate which document category is needed. Document quality types
27+
(POOR_QUALITY_DOCUMENT, SUSPECTED_FRAUD_DOCUMENT, etc.) indicate specific
28+
issues with uploaded documents. APPLICANT_* types indicate issues with the
29+
applicant themselves (sanctions, fraud, criminal records).
1830
example: MISSING_FIELD

openapi/components/schemas/verifications/VerificationStatus.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ enum:
55
- IN_PROGRESS
66
- APPROVED
77
- REJECTED
8+
- READY_FOR_VERIFICATION
89
description: Current status of the KYC/KYB verification
910
example: RESOLVE_ERRORS

openapi/components/schemas/webhooks/WebhookType.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ enum:
2222
- VERIFICATION.RESOLVE_ERRORS
2323
- VERIFICATION.IN_PROGRESS
2424
- VERIFICATION.PENDING_MANUAL_REVIEW
25+
- VERIFICATION.READY_FOR_VERIFICATION
2526
- INTERNAL_ACCOUNT.BALANCE_UPDATED
2627
- INVITATION.CLAIMED
2728
- BULK_UPLOAD.COMPLETED

0 commit comments

Comments
 (0)