SNILS Validation
Validates the insured person's full name (last name, first name, and patronymic, if any), date of birth, sex, and SNILS against the records of the mandatory pension insurance system.
The following request headers must be passed in every request:
| Name | Type | Required | Description |
|---|---|---|---|
X-Api-Key |
string | Yes | Unique shop identifier |
X-Signature |
string | Yes | Request signature |
The signature is generated using secret_key — the secret key found in the merchant's shop settings.
Check request
Method: POST
- Production:
https://api.baas.kvell.group/v1/smev3/sfr/snils-validation - Stage:
https://api.baas.stage.kvell.group/v1/smev3/sfr/snils-validation
Request parameters (JSON)
| Name | Data type | Required | Description |
|---|---|---|---|
last_name |
string (max 100 characters) | Yes | Last name |
first_name |
string (max 100 characters) | Yes | First name |
middle_name |
string (max 100 characters) | Yes, if present | Middle name (patronymic) |
birth_date |
string (format YYYY-MM-DD) |
Yes | Date of birth |
snils |
string (11 digits) | Yes | SNILS |
gender |
string enum (Male or Female) |
Yes | Gender |
{
"last_name": "Петина",
"first_name": "Елена",
"middle_name": "Владимировна",
"birth_date": "1966-09-12",
"snils": "02773319862",
"gender": "Female"
}
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
request_id — request identifier, used to retrieve the result.
Retrieving the check result
Method: GET
- Production:
https://api.baas.kvell.group/v1/smev3/sfr/snils-validation/{request_id} - Stage:
https://api.baas.stage.kvell.group/v1/smev3/sfr/snils-validation/{request_id}
URL request parameters
| Name | Data type | Required | Description |
|---|---|---|---|
request_id |
string | Yes | Request identifier |
Building the signature
The X-Signature signature is built by concatenating X-Api-Key, request_id, and secret_key, then taking sha256 of the resulting string:
Request response
state— request statusin_progress— being processedfinished— completed
request_id— assigned request identifier for SMEV3 (optional)response_id— response identifier in the SMEV3 system, if a response was received from the department's information system (SFR)result— processing result (required ifstate=finishedanderror=null)status— check resultvalid— the data matchesinvalid— the data does not matcherror— the request to SFR was not processed (retry later)
error— error from the internal service, SMEV, or the department's information system (required ifstate=finishedandresult=null)code— error code (required)desc— error description (required)status_code— SMEV3 status HTTP code (optional)destname— request field containing the error from SMEV (optional)