Skip to content

УПРИД

Инициализация процесса

POST /api/kyc-smev/init

Request

FieldRequiredTypeDescription
leadIdintID лида
clientIdintID клиента

Response

json
{
  "status": "ok",
  "timestamp": 1692945870000,
  "data": {
    "uuid": "4909af12-ed0d-45bd-8eec-e205c7e95949",
    "session": "ZIXdgLmUUJcPtNxl",
    "step": "smev-init",
    "type": "smev-uprid",
    "created_by": 1,
    "updated_at": 1692945870,
    "created_at": 1692945870,
    "refs": []
  }
}

Проверка наличия процесса УПРИД по клиенту

GET /api/kyc-smev/client-exists/{clientId}

Response:

json
{
  "status": "ok",
  "timestamp": 1692945991000,
  "data": {
    "found": true
  }
}

Получение процесса УПРИД по клиенту

GET /api/kyc-smev/client/{clientId}

Response:

json
{
  "status": "ok",
  "timestamp": 1692946211000,
  "data": {
    "uuid": "4909af12-ed0d-45bd-8eec-e205c7e95949",
    "processFinished": true,
    "personIdentified": true,
    "type": "smev-uprid",
    "client_id": null,
    "lead_id": null,
    "step": "smev-init",
    "created_at": 1692945870,
    "updated_at": 1692945870,
    "deleted_at": null,
    "created_by": 1,
    "deleted_by": null,
    "refs": []
  }
}