> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Face comparism

## Face Comparison

Compare two (2) face images.

This endpoint allows merchants to perform a comparison of two face images using face biometrics. By using this endpoint, merchants can compare two face images to determine whether they are of the same person or not.

This can be particularly useful in scenarios such as online payments or identity verification, where it is essential to confirm the identity of the person making a transaction or accessing sensitive information.

### Request Endpoint

`POST` `{{BASE_URL}}/api/onboarding/biometrics/face/comparison`

### Sample Payload

```json theme={null}
{
  "image_one": "https://res.cloudinary.com/dh3i1wodq/image/upload/v1675417496/cbimage_3_drqdoc.jpg",
  "image_two": "https://res.cloudinary.com/dh3i1wodq/image/upload/v1677955197/face_image_tkmmwz.jpg"
}
```

200 OK Response

```json theme={null}
{
  "status": "success",
  "data": {
    "status": true,
    "response_code": "00",
    "message": "Fatch Match",
    "confidence": 100
    },
  "message": "Face comparism done successfully"
}
```
