The identity/v2/sessions
endpoint allows you to create a new identity validation session for Individuals, based on one of our validation flows, and returns a unique identifier for it.
When this type of integration is used, the documents are uploaded with the following endpoint Upload File
The identity/v1/sessions/{session_id}/entities/{user_id}/files/{type_document}
endpoint will be used with the “Session Creation” ones. The purpose is to be able to upload the supporting documents that are needed depending on each type of session.
The supported documents are:
For Argentina
selfie: Picture of the person's face who wants to validate the session.
identity-card-front: Photo of the front of the identity document.
identity-card-back: Photo of the back of the identity document.
For Brazil
selfie: Picture of the person's face who wants to validate the session.
identity-card-front: Photo of the front of the identity document.
identity-card-back: Photo of the back of the identity document.
driver-license-front: Photo of the front of the driver's license.
driver-license-back: Photo of the back of the driver's license.
The endpoint /clean_validations
allows you to “clear” user data in a test environment, so you can create a new version with the same document.
You will have to specify the ID or document number of the user you want to clear. If you send them both, the user ID will be used as priority to clear data.
identity/v1/sessions/{session_id}
endpoint lets you cancel an identity validation session.identity/v1/session/{session_id}
endpoint lets you get data from an identity validation session.identity/v1/sessions/{session_id}/report
endpoint lets you obtain a user's data collected in an identity validation session.The /sessions
endpoint allow you to perform a search with specific filters.
Filters must be specified as parameters following this pattern: filter[field]=value
. For example: filter[status]=IN_PROGRESS
The results will be paginated and you can specify the amount of data per page and also which page you wish to view.
There is a filter for the created_at field, which can be used to get sessions created within a date range. For example: filter[created_at][from]=2021-07-27&filter[created_at][to]=2021-07-28
You can specify the order of the results with certain parameters that you must send as list of strings in the sort filter type. For example: ?sort=created_at,updated_at
.
The default sorting will be ascending. To specify a descending sorting, you must send the character '-' as a prefix of the attribute. For example: ?sort=created_at,-updated_at
.
If a parameter is incorrect or misspelled, it will return an error.