Returns the status of the document verification as its being processed by the vendor.

POST {{baseUrl}}/document-verifications/document-data-retrievals

Informs if the document verification is still being processed or is processed already. If SUCCESS, the document data is returned.
This API is mandatory.

Request Body

{"countryCode"=>"US", "workflowId"=>"df52649e-4096-456a-bca0-751ee470009f", "userConsent"=>"ACCEPT", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "locale"=>"en-US", "userSelectedCountry"=>"USA", "documentType"=>"PASSPORT", "privacyPolicyVersion"=>"1.0.0", "sdkAuditEvents"=>[{"dateTime"=>"2020-01-28T13:16:01.714-05:00", "softwareVersion"=>"1.0.0", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "sessionId"=>"123ae1aa-6744-433e-879d-7da48d631234", "transactionGroupId"=>"28eae1aa-6744-433e-879d-7da48d63e89a", "logRequestFlow"=>"CoreSDK-TP", "logEvent"=>"ID Enrollment", "logEventType"=>"User Profile Creation", "osVersion"=>"Android 5.0", "deviceMake"=>"Samsung S10", "type"=>"audit", "audit"=>{"privacyPolicy"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "userBiometricConsent"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "event"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "eventType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "result"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "eventGeneratedSource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "owner"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "requestDetails"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "responseDetails"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, {"dateTime"=>"2020-01-28T13:16:01.714-05:00", "softwareVersion"=>"1.0.0", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "sessionId"=>"123ae1aa-6744-433e-879d-7da48d631234", "transactionGroupId"=>"28eae1aa-6744-433e-879d-7da48d63e89a", "logRequestFlow"=>"CoreSDK-TP", "logEvent"=>"ID Enrollment", "logEventType"=>"User Profile Creation", "osVersion"=>"Android 5.0", "deviceMake"=>"Samsung S10", "type"=>"audit", "audit"=>{"privacyPolicy"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "userBiometricConsent"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "event"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "eventType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "result"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "eventGeneratedSource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "owner"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "requestDetails"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "responseDetails"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}], "tpAuditMetadata"=>{"sessionId"=>"be3ad617-04ad-43e1-a438-79425b6511b6", "transactionGroupId"=>"be3ad617-04ad-43e1-a438-79425b6511b6"}, "arid"=>"a15fa6de-b199-11eb-8529-0242ac130003", "sdkVersion"=>"2.3.0"}

HEADERS

KeyDatatypeRequiredDescription
X-Encrypted-PayloadbooleanAn indicator that the request is encrypted or indicates that the client is able to receive an encrypted response. If not set, the payload will be treated as plaintext.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;documentData&quot;:{&quot;addressLine1&quot;:&quot;36271 GrandRiver Ave&quot;,&quot;addressLine2&quot;:&quot;Building no 2&quot;,&quot;addressZipCode&quot;:&quot;48335&quot;,&quot;addressCity&quot;:&quot;Farmington&quot;,&quot;addressSubdivision&quot;:&quot;MO&quot;,&quot;addressCountry&quot;:&quot;USA&quot;,&quot;lastName&quot;:&quot;Doe&quot;,&quot;firstName&quot;:&quot;John&quot;,&quot;dateOfBirth&quot;:&quot;1996-07-10&quot;,&quot;issuingCountry&quot;:&quot;USA&quot;,&quot;issuingDate&quot;:&quot;1996-07-10&quot;,&quot;expiryDate&quot;:&quot;1996-07-10&quot;,&quot;gender&quot;:&quot;M&quot;,&quot;fathersName&quot;:&quot;John Smith&quot;,&quot;mothersName&quot;:&quot;Paula Smith&quot;,&quot;documentNumber&quot;:&quot;1LViI488YkFZh8YjNlLf61BMn29cmQn&quot;,&quot;documentType&quot;:&quot;passport&quot;,&quot;issuingPlace&quot;:&quot;New York&quot;,&quot;issuingAuthority&quot;:&quot;United States&quot;,&quot;placeOfBirth&quot;:&quot;Boston&quot;,&quot;issuingState&quot;:&quot;MO&quot;,&quot;formattedAddress&quot;:&quot;220 BLVD O FALLON MO&quot;,&quot;rgNumber&quot;:&quot;12345&quot;,&quot;cpf&quot;:&quot;12345&quot;,&quot;cardNumber&quot;:&quot;C876687JK&quot;,&quot;documentStatus&quot;:&quot;SUCCESS&quot;},&quot;status&quot;:&quot;SUCCESS&quot;,&quot;transactionId&quot;:&quot;1ec14310-e85c-11ea-adc1-0242ac120002&quot;}