PomeloEx. Identity. KYC
(PomeloEx v0.1.0)
View Source
Know Your Customer (KYC) identity verification for individuals.
Manages identity validation sessions for individual users (natural persons). Supports document upload, session lifecycle management, and report generation.
Flow
create_session/1— Start a new KYC validation sessionupload_file/1— Upload identity documents (selfie, ID card, etc.)- Receive webhook notifications via
PomeloEx.Identity.Webhooks get_session/1— Check session statusobtaining_session_report/1— Retrieve validated user data
Supported countries
Argentina, Brazil, Mexico, Colombia, Peru, Chile. Document types vary by country.
Summary
Functions
Cancel Session The identity/v1/sessions/{session_id} endpoint lets you cancel an identity validation session.
Clear user in test environment 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.
Create session 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.
Get session The identity/v1/session/{session_id} endpoint lets you get data from an identity validation session.
Obtaining a Session Report The identity/v1/sessions/{session_id}/report endpoint lets you obtain a user's data collected in an identity validation session.
Search session The /sessions endpoint allow you to perform a search with specific filters.
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.
Functions
Cancel Session The identity/v1/sessions/{session_id} endpoint lets you cancel an identity validation session.
Clear user in test environment 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.
Considerations 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.
Create session 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.
Consideration about the API integration method When this type of integration is used, the documents are uploaded with the following endpoint Upload File.
Get session The identity/v1/session/{session_id} endpoint lets you get data from an identity validation session.
Obtaining a Session Report The identity/v1/sessions/{session_id}/report endpoint lets you obtain a user's data collected in an identity validation session.
Search session The /sessions endpoint allow you to perform a search with specific filters.
Considerations 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.
Date range 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
Sorting 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.
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.