Verify Documents
For each verification transaction, you can read documents (such as the images of documents and images of the user, "selfies") submitted to the transaction for a short time. The documents endpoint, /v1/environments/{{envID}}/users/{{userID}}/verifyTransactions/{{transactionID}}/documents, receives all requests for documents associated with the verification transaction. This endpoint returns the data regardless of whether the transaction is ever submitted for verification.
Only those with an Identity Data Admin role are permitted to use the documents endpoint.
Documents are retained for 30 minutes after creating or updating the document (submitted with the requests Create Verification Document or Update Verification Document or collected by the end user in the Universal Capture frontend) or until manually deleted with Delete Verification Document. Until removed, any number of GET or PUT requests to the documents endpoint can be successfully performed.
|
The document types accepted by a verify transaction is determined by the verify transaction’s
|
Assigning admin roles and permissions to this service
Admin role assignments determine access to PingOne APIs. When assigning admin roles to this service, refer to PingOne Permissions by Service for the service-specific permissions.
You can also choose to assign admin roles based on particular service resources. Refer to PingOne Permissions by Resource when assigning admin roles per service resources.
Admin assignments to roles are set by:
Refer to Roles Management for more information.
All verify documents data model
When all verify documents for a verification transaction are requested, the verify document for each verification type of the most recent retry appears in a documents array in the response. The verify document data model for each verification type of earlier retries appear in a previousAttempts array in the response.
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
Object |
N/A |
Read-only |
Container for returned data. |
|
Object[] |
N/A |
Read-only |
Array of verifiedData objects for each verification type for the most recent verification attempt. |
|
Object[] |
N/A |
Read-only |
Array of verifiedData objects for each verification type for unacceptable verification attempts. |
|
Integer |
N/A |
Read-only |
The number of objects returned in |
Specific verify document data model
When specific verify document for a verification type within a verification transaction are requested, the verify document data model appears as the response, regardless of which retry attempt it is.
Verify document data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Required |
Immutable |
PingOne environment identifier (UUID) for user |
|
String |
N/A |
Read-only |
Document identifier (UUID) |
|
Integer |
N/A |
Read-only |
Number of the retry attempt when submitting images. |
|
String |
Required |
Immutable |
Provider of the documents. Can be |
|
String |
N/A |
Read-only |
Status of the document. Can be |
|
String |
Required |
Immutable |
Type of document in |
|
String |
Required |
Immutable |
Identifier (UUID) for the user submitting the verify transaction |
|
String |
Required |
Immutable |
Document, for the format of the document refer to Document types and values |
|
String |
Required |
Immutable |
Identifier (UUID) for the verify transaction |
Document types and values
| Document Type | Value |
|---|---|
Credential Verification |
W3C Verifiable Credential or ISO 18013 Mobile driving license (mDL) or Mobile document (mDoc) |
Document Back |
Base64 encoded JPEG |
Document Front |
Base64 encoded JPEG |
Document Portrait |
Base64 encoded JPEG |
Driver License Back |
Base64 encoded JPEG |
Driver License Code |
decoded text from the PDF417 barcode |
Driver License Front |
Base64 encoded JPEG |
textual email address |
|
Passport Card Back |
Base64 encoded JPEG |
Passport Card Front |
Base64 encoded JPEG |
Passport Front |
Base64 encoded JPEG |
Phone |
textual phone number |
Selfie |
Base64 encoded JPEG |
Verify documents errors
In addition to the general error codes, verify documents operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document or Update Verification Document with a missing or null Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document as multipart form data without the required Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document or Update Verification Document with a document the service rejects Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document as multipart form data with a file the service cannot read, or with a document type that does not accept files Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document or Update Verification Document with a malformed JSON request body Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document after the end user has started document collection, submit Create Verification Document with a document type that already exists and cannot be recollected, or submit any verify documents operation when the transaction has expired Details: |
400 |
|
|
Message: When and detailsWhen: Submit Create Verification Document, Update Verification Document, Process Verification Documents, or Complete Verification Documents when the transaction status does not allow document changes Details: |
400 |
|
|
Message: When and detailsWhen: Submit Process Verification Documents or Complete Verification Documents without enough collected data Details: |
400 |
|
|
Message: When and detailsWhen: Submit Update Verification Document, Process Verification Documents, or Complete Verification Documents for documents collected by the end user Details: |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the required Details: None |
404 |
|
None |
Message: When and detailsWhen: Submit Read One Verification Document, Update Verification Document, or Delete Verification Document with a {{documentID}} that does not exist, submit any verify documents operation with a {{transactionID}} that does not exist, or submit any verify documents operation with an {{envID}} that does not exist Details: |