Passport Verification
The method is used to send a request to the Russian Ministry of Internal Affairs (MVD) to verify the validity of a Russian internal passport by its details.
URL
Method: POST
- Production:
https://api.baas.kvell.group/v1/smev4/gismu/rfp-check - Stage:
https://api.baas.stage.kvell.group/v1/smev4/gismu/rfp-check
Request body parameters
| Name | Data type | Required | Description |
|---|---|---|---|
seriya |
string | Yes | Passport series (4 digits) |
number |
string | Yes | Passport number (6 digits) |
last_name |
string | Yes | Last name (max 64 characters) |
first_name |
string | Yes | First name (max 64 characters) |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Request signature |
Building the signature
The X-Signature signature is built by concatenating X-Api-Key, json <request body>, and secret_key, then taking sha256 of the resulting string:
Request response
created_at— request time in SMEV4query_id— request identifier in SMEV4result— document status (string "Действительный" (valid), "Недействительный" (invalid), or "not found")
code— error codemessage— error textfield— name of the request field that failed validation