Skip to main content
POST
/
fraud
/
duplicates
/
search
Search for duplicates
curl --request POST \
  --url https://api.txcloud.io/v1/fraud/duplicates/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "document_number": "<string>",
  "document_image": "aSDinaTvuI8gbWludGxpZnk=",
  "face_image": "aSDinaTvuI8gbWludGxpZnk=",
  "threshold": 0.85
}
'
{
  "id": "<string>",
  "duplicates_found": true,
  "match_count": 123,
  "matches": [
    {
      "verification_id": "<string>",
      "match_type": "<string>",
      "similarity": 123,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
document_number
string
document_image
string<byte>
face_image
string<byte>
threshold
number
default:0.85

Response

200 - application/json

Search results

id
string
duplicates_found
boolean
match_count
integer
matches
object[]