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
Key | Datatype | Required | Description |
---|---|---|---|
X-User-Identity | string | JWT token for session validation. Returned as response header in previous API calls with key X-User-Identity. | |
X-Encrypted-Payload | boolean | An 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-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"documentData":{"addressLine1":"36271 GrandRiver Ave","addressLine2":"Building no 2","addressZipCode":"48335","addressCity":"Farmington","addressSubdivision":"MO","addressCountry":"USA","lastName":"Doe","firstName":"John","dateOfBirth":"1996-07-10","issuingCountry":"USA","issuingDate":"1996-07-10","expiryDate":"1996-07-10","gender":"M","fathersName":"John Smith","mothersName":"Paula Smith","documentNumber":"1LViI488YkFZh8YjNlLf61BMn29cmQn","documentType":"passport","issuingPlace":"New York","issuingAuthority":"United States","placeOfBirth":"Boston","issuingState":"MO","formattedAddress":"220 BLVD O FALLON MO","rgNumber":"12345","cpf":"12345","cardNumber":"C876687JK","documentStatus":"SUCCESS"},"status":"SUCCESS","transactionId":"1ec14310-e85c-11ea-adc1-0242ac120002"}