Services
Civil registry name match
Compares the name the customer typed with their civil registry record and scores how similar each part is.
Service codeidentity_similarity
What the customer provides
- National code (10 digits).
- Date of birth in the Persian calendar.
- First name as the customer types it.
- Last name as the customer types it.
- Father’s name, when
check_father_nameis on.
Outcomes
The step ends with one of these keys in steps[].outcome. In an advanced flow, each one can lead to a different step or end.
| Outcome | Meaning |
|---|---|
match | Every compared name reached the threshold. |
no_match | At least one name is below the threshold, or the record was not found. |
error | The inquiry could not be done. |
Settings
You set these per flow in the panel flow builder.
| Setting | Default | Meaning |
|---|---|---|
threshold | 9050–100 | Minimum score in percent for a match. |
check_father_name | false | Also compare the father’s name. |
Result
The step result comes from the engine jibit
| Field | Meaning |
|---|---|
data.nationalCode | The national code, masked: 00******48. |
data.similarity | Similarity in percent for firstName, lastName and, when checked, fatherName. |
data.threshold | The threshold that was applied. |
data.cached | true when the answer came from a recent identical inquiry instead of a new one. |
Reasons
first_name_mismatchlast_name_mismatchfather_name_mismatchinvalid_inputprovider_<code>
Values in angle brackets stand for a family of reasons: provider_… means the engine could not be reached or returned an error, and the outcome is error.