Returns the status of the document verification as its being processed by the vendor when additional documents are added after first enrollment.

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

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

Request Body

{"countryCode"=>"US", "documentType"=>"PASSPORT", "locale"=>"en-US", "pds"=>"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh", "userConsent"=>"ACCEPT", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "userSelectedCountry"=>"USA", "workflowId"=>"df52649e-4096-456a-bca0-751ee470009f", "privacyPolicyVersion"=>"1.0.0", "sdkAuditEvents"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tpAuditMetadata"=>{"sessionId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "transactionGroupId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "arid"=>"a15fa6de-b199-11eb-8529-0242ac130003", "sdkVersion"=>"2.3.0"}

HEADERS

KeyDatatypeRequiredDescription
X-User-IdentitystringJWT token for session validation. Returned as response header in previous API calls with key X-User-Identity.
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;}