v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

Match Engine

🏏 If strings had a cricket "match", our API would be the third umpire. Always precise, always unbiased!

post/v2/kyc/match

Headers

client_idstring required

ID/identifier that is provided by Decentro to a specific client and environment. Please note, this may change based on the environment you are on.

client_secretstring required

The confidential credential provided by Decentro that is associated with the client_id

Request body

reference_idstring required

Any unique ID assigned by you for this API request.

text1string required

The first text/name that needs to be matched.

text2string required

The second text/name to be matched

Response

200

decentroTxnIdstring
statusstring
responseCodestring
messagestring
responseKeystring

Example response

{
  "decentroTxnId": "A9E798B99D8745C59D729A7019628EF5",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Successfully performed matching",
  "data": {
    "textualMatch": {
      "matchScore": 41
    },
    "phoneticMatch": {
      "matchScore": 56
    }
  },
  "responseKey": "success_match_completed"
}