REST API

Rest Api for Backend or custom integrations

How to use the Rest API

1) Onboarding new customers

Andia store the Biometrics Vectors from a Selfie that is taken during on-boarding process or with a picture that currently exist. This method returns a unique user identifier (user_id), with which one-to-one validations will be carried out later.

2) Validations

Andia can verify if a Selfie taken corresponds to an existing user_id (A user who has previously been onboarded) or not.

post
Register new customer

https://api.andia.io/v1/register_new_customer
This endpoint store the Biometric vectors from new users and generate a unique user_id
Request
Response
Headers
Content-Type
required
string
application/json
Authentication
required
string
Your API_KEY
Form Data Parameters
selfie
optional
object
Selfie image (jpg format) Recomended size less than 512 Kb
200: OK
Cake successfully retrieved.
{
"success": true,
"error_code": 0,
"error": "",
"message": "success",
"user_id": "fb61986b-8208-4b9b-b4d5-49eb1178cdcd"
}

post
Validation

https://api.andia.io/v1/validate_transaction
This endpoint compare an existing user_id against a Selfie
Request
Response
Headers
Content-Type
required
string
application/json
Authentication
required
string
Your API_KEY
Form Data Parameters
user_id
optional
string
An existing user identifier
selfie
optional
object
Selfie image (jpg format) Recomended size less than 512 Kb
200: OK
Cake successfully retrieved.
{
"success": true,
"error_code": 0,
"error": "",
"message": "It is a Match"
}