Verify the provided data against a set of IVPs and returns a PDS if successful.
POST {{baseUrl}}/document-verifications/document-data-confirmations
After the user verifies and checks if the data extracted from the documents match the current status (for example, Address).
The user sends data back to MIDS to confirm the details.
Perform verifications with IVPs and store the data into the PDS.
This API is mandatory.
Request Body
{"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"=>"1.0.0", "userBiometricConsent"=>"TRUE", "event"=>"Document Scan", "eventType"=>"Enrollment", "result"=>"TRUE", "eventGeneratedSource"=>"CoreSDK", "owner"=>"TP"}}], "tpAuditMetadata"=>{"sessionId"=>"be3ad617-04ad-43e1-a438-79425b6511b6", "transactionGroupId"=>"be3ad617-04ad-43e1-a438-79425b6511b6"}, "arid"=>"a15fa6de-b199-11eb-8529-0242ac130003", "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", "workflowId"=>"be3ad617-04ad-43e1-a438-79425b6511b6"}, "userProfileId"=>"1f52649e-4096-456a-bca0-751ee4703058", "userConsent"=>"ACCEPT", "countryCode"=>"US", "locale"=>"en-US", "fraudDetection"=>{"nuDetectMeta"=>{"behaviourData"=>"ewogICJuZHMtcG1kIiA6ICJ7XCJmdnFcIjpcIjBONjROOVAzLVBPM1ItNDcyNi04MDBPLTNQMzM2Mzg2Tk5RT1wiLFwianZxdHJnUW5nblwiOntcInp2cXNpXCI6XCJRUTYzOTc5Ny1OUFAyLTQ0OVItOVA0MS04UTM0NDdOODU5UzdcIixcInpjdlwiOlwidmJmXCIsXCJ6b3pzXCI6XCJOY2N5clwiLFwiemZ6XCI6MTcxNzk4NjkxODQsXCJqeGVcIjo0OTcwLFwiem9vXCI6XCJOY2N5clwiLFwienVmXCI6W1wienZ6Z1wiXSxcInF2cWdtXCI6NDIwLFwidmNlXCI6XCJhcHZjLDAsNXM5bzg0MXAsMywxO2ZnLDAsYXF2Y2V2YWNoZzAsMCxhcXZjZXZhY2hnMSwwO3NzLDAsYXF2Y2V2YWNoZzA7eHEsc3A7eHEsNG47eHEsNW87eHEsNjY7eHEsMjUzO3hxLDg1O3hxLHBxO3hxLDM4O3hxLDVuO3hxLDcyO3hxLDU2O3hxLDUyO3hxLDJwO3NvLG45LGFxdmNldmFjaGcwO3NzLDEsYXF2Y2V2YWNoZzE7eHEsMTI1O3hxLDQwO3hxLG82O3hxLDRyO3hxLG87Z3IscXMsNzcsMjM0LGFxdmNlcGJhZ2VieTBcIixcInpjemlcIjoxMixcInpvelwiOlwidkN1YmFyXCIsXCJ6Y3p2aVwiOjIsXCJ6ZmZcIjo0OTk5NjMxNzQ5MTIsXCJ6dW9wZlwiOi0xLFwiem9jXCI6XCJ2Q3ViYXIgS8qAXCIsXCJ6dmh2XCI6XCJjdWJhclwiLFwiZmVcIjpcIjE3OTJrODI4XCIsXCJoblwiOlwiMi4yLjEzODA2NVwiLFwiemh5XCI6XCJIRlwifSxcImpnXCI6XCIxLmotNDUxNjgwLjEuMi56U0dVQk56cHZNeUFoQjBOR2h2ZlRqLCwuM3hCRWhxSGhKZFREb1ZYY0hjYXJOSDUzVWFFS2t2amxNVF9RQTl5dUlYcWUwbV9iX0k0WWtBWGExUExTVXJzS1R4c0NFWHB2bkJjNkpEajhNTzhGZFVXMEcyaE9BWXZDRWZ5NXRLOHdJdVN4MzBnZmszZDF0MWhnc2NJODdFTG9MVlozNi1BcjhhV0pFSjJ1Ungza3RJYW5teDktOExZZmZsMWlFbVhSd1pqQ3FaQTVVMUZ1dzYzUERKZ2lIYzFUendFVjN3ak8yZDBrbUZIWUJaZTAxd0hnajVKQThTM0R6Z3FydE9pN1d3Q0VqZldZMHFITXFGT1g1d2RBYkl5LVNmOGVkYXBaeHNxaTItc0N6ejhRN2osLFwifSIsCiAgInNpZCIgOiAiMEE2NEE5QzMtQ0IzRS00NzI2LTgwMEItM0MzMzYzODZBQURCIgp9", "remoteIp"=>"127.0.0.1", "sessionId"=>"da3fe5be-2a8e-11eb-adc1-0242ac120002", "userAgent"=>"Mozilla: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.3 Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/43.4.", "xForwardedFor"=>"203.0.113.195,70.41.3.18,150.172.238.178", "requestUrl"=>"http://tp-backend.com/api/path"}}, "deviceInfo"=>nil, "deviceAppId"=>"599F9C00-92DC-4B5C-9464-7971F01F8370", "make"=>"Samsung", "model"=>"S8", "visaMatched"=>false, "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
{"pds":"ZGZnZGVmZ2RnZGVnZXJnZXJncmRnZXJ5aGdld3J0eWJld3J5dHdleXd5d3l3cmFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh","transactionId":"021fea3c-d17c-11ea-87d0-0242ac130003","fraudDetectionMeta":{"requiredAttributes":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"eligibleForMobileID":false}