Services
Civil registry inquiry
Looks the person up in the civil registry (Sabt-e Ahval) by national code and birth date, and can return the registered name.
Service codeidentity_inquiry
What the customer provides
- National code (10 digits).
- Date of birth in the Persian calendar.
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 | The person exists in the registry with this birth date. |
no_match | No record matches, or the person is deceased and reject_deceased is on. |
error | The inquiry could not be done. |
Settings
You set these per flow in the panel flow builder.
| Setting | Default | Meaning |
|---|---|---|
return_details | true | Add the registered first name, last name, father’s name and gender to the result. |
reject_deceased | true | Treat a deceased person as no_match. |
Result
The step result comes from the engine jibit
| Field | Meaning |
|---|---|
data.nationalCode | The national code, masked: 00******48. |
data.alive | Whether the registry lists the person as alive. |
data.firstName | Registered first name (with return_details). |
data.lastName | Registered last name (with return_details). |
data.fatherName | Registered father’s name (with return_details). |
data.gender | Registered gender (with return_details). |
data.cached | true when the answer came from a recent identical inquiry instead of a new one. |
Reasons
identity_not_foundperson_deceasedinvalid_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.