Response and errors
Response processing
Analyze the response's HTTP code first.
If the response code is 200
, check the status
field.
If the status is ok
, the request was a success. See more in data
.
Response HTTP codes
200
: Correct request, check status
.
422
: Request error. See more in error.description
:
request_body_validation_error
— Error in the request bodyrequest_header_validation_error
— Headerx-partner-project
is missing
500
— Error on Bank 131's side. Please send the request again later.
Status
Response statuses are passed in the status
field.
ok
: Request processed successfully. See more in data
.
pending
: Request is being processed. To find out the result, send the same request later.
error
: Request processing error. See more in Error
.
Error codes
Errors are passed in Error
:
code
contains the error codedescription
is the error description
code | description | Error description |
---|---|---|
invalid_sign | Signature verification failure | Incorrect check request signature |
passport_validation_failure, inn_validation_failure | Passport, inn validation failure | The data were not verified. Check the ID card number and taxpayer identification number and start the verification again |
already_exists | Request with the same data already exists | You have already submitted these data for verification. To see the result, send the check{id} request with the previous verification's ID that you received in the data.id field. |
request_not_found | Request with given id not found | The request with the given ID was not found |
partner_project_not_found | partner project not found | The project ID sent in the header X-PARTNER-PROJECT does not exist |