The Document Insight API, powered by Veriff, provides an AI-powered, automated solution for verifying a customer's ID document.
Pass your desired result in the ReasonCode property of the CreateSession request. Either DOC-VERIFIED, or DOC-FAIL.
Below are descriptions of the methods exposed by the GIDX Platform DocumentInsight Service.
The following parameters are used in every DocumentInsight Method Request and Responses. They are labeled within the methods below as Standardized Request Parameters and Standardized Response Parameters.
Making a Request
Each API method has a corresponding Request object used to transport the request parameters as shown below.
Using the Response
Each Response object returned from the method Request will contain properties you can use to determine the status of the methods service.
Use the IsSuccess property along with the ResponseCode and ResponseMessage values to detect if the Request completed without a problem.
4QhgWWJxRlqVctrc7SxHEQ
VpGYLoXhSS+WgU9N415IJQ
Fc+k5kRDSAOrh38e21vt0w
m+2XHlcIR0O1C+iBeNzfvA
VV4XTc3tRi6g1EYLOazn0g
xHhSS+WglqVctrc7-t7SEQrc
4QhgWWJxRlqVctrc7SxHEQ
VpGYLoXhSS+WgU9N415IJQ
xHhSS+WglqVctrc7-t7SEQrc
0
No Errors
Call this method to start a document verification session.
ABC-123
https://yourserver.com/GidxCallback
https://yourserver.com/GidxRedirect
CustomerRegistrationRequest Object
DOC-VERIFIED
Call this API at anytime to get the information on a specific session.
ABC-123
ABC-123
["DOC-VERIFIED"]
Receiving callbacks from GIDX
When a session's status is changed, a callback will be made to the CallbackURL you provided in CreateSession.
The callback will be an HTTP POST with a JSON request body.
An example of the callback JSON is on the right side of this page.
Responding to callbacks
You must respond to the callback with an HTTP 200 status code, or we will retry the callback up to 5 times over the next 2 hours.
Document Insight Session is Complete.
ABC-123
["DOC-VERIFIED"]
xHhSS+WglqVctrc7-t7SEQrc
Document Insight
The Object documented below are returned within the Response of Method Request within the GIDX Platform DocumentInsight Services. When applicable an Object may be shared by among other Method Responses as indicated in the listings below.
Objects are always returned in JSON format.
This object contains information on an image file that was created during the session.
456-ABC-123
See CategoryType Listing
Front
document-front.jpg
1025698
image/jpeg
The information documented below provides clarification of the codes used within the GIDX Platform DocumentInsight Services.
ISO 3166-1 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of countries, dependent territories, and special areas of geographical interest.
http://en.wikipedia.org/wiki/ISO_3166-1
ISO 3166-2:US is the entry for the United States in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.
http://en.wikipedia.org/wiki/ISO_3166-2:US
For the latest list of Reason Codes and their description please go to the following URL.
View Reason Codes