-
Notifications
You must be signed in to change notification settings - Fork 0
Verification
Александр М edited this page Oct 4, 2022
·
4 revisions
Field | Type | Description |
---|---|---|
retryDocumentType | DocumentType (optional) | Repeatable document type. Present only with verification status -1. |
retryImageTypes | VerificationImageType[] (optional) | Repeatable image types. Present only with verification status -1. |
status | VerificationStatus | Verification status. |
Value | Description |
---|---|
-2 | Fail. |
-1 | RetryRequired. |
0 | None. |
1 | Processing. |
2 | Ok. |
GET /provider/v1/accounts/{accountId}/verification
Route params
Param | Type | Description |
---|---|---|
accountId | string | Account ID. |
Returns VerificationData.
POST /provider/v1/accounts/{accountId}/verification
Request params
Field | Type | Description |
---|---|---|
addressCity | string | Address city. It is optional with the verification status -1. |
addressCountryCode | string | Address country Code. ISO 3166-1 alpha-2. It is optional with the verification status -1. |
addressStreet | string | Address street. It is optional with the verification status -1. |
addressZip | string | Address ZIP code. It is optional with the verification status -1. |
documentIssuedBy | string | Who issued the document. It is optional with the verification status -1 and with the same type of document requiring repetition. |
documentIssuedCountryCode | string | Document issuing country code. ISO 3166-1 alpha-2. It is optional with the verification status -1 and with the same type of document requiring repetition. |
documentIssuedDate | Date | Date of issue of the document. It is optional with the verification status -1 and with the same type of document requiring repetition. |
documentType | DocumentType | Document type. |
firstName | string | Name (latin). It is optional with the verification status -1. |
images | VerificationImage[] | Images. |
lastName | string | Surname (latin). It is optional with the verification status -1. |
During the initial verification (verification status 0) or during repeated verification (verification status -1) with a different type of document (documentType != retryDocumentType):
Document type (DocumentType) | Required image types (VerificationImageType) |
---|---|
0 | 2 |
1 | 2, 3 |
2 | 2, 3 |
3 | 2, 3 |
When re-verifying (verification status -1) with the same type of document requiring repetition (documentType == retryDocumentType), a sufficient list of required image types is contained in the retryImageTypes field.
Field | Type | Description |
---|---|---|
content | string | Image content. (base64, image/jpeg) |
type | VerificationImageType | Type of image. |
Value | Description |
---|---|
1 | Document and face. |
2 | The front side of the document. |
3 | The back side of the document. |