Создание нового клиента
Процесс создания клиента поисходит в два этапа:
--> 2. Создание нового клиента.
При создание нового клиента в тело запроса нужно добывить полностью тело возвращенное методом инициализации нового клиента. В тело запроса нужно ввести данные о клиенте:
firstName - имя,
lastName - фамилию,
sexId - пол,
birthDate - дату рождения в формате YYYY-MM-DD,
passport (passport.seria, passport.no, passport.issueDate) - паспортные данные (серия паспорта, номер паспорта, дата выдачи паспорта в формате YYYY-MM-DD)
mobilePhone - номер мобильного телефона в цифровом виде международного формата (напр. 89031001112, 37369123456)
managerId - идентификатор менеджера по работе с клиентом
addressData (addressData.fias, addressData.fullAddressText) - фактический адрес
registrationAddressData (registrationAddressData.fias, registrationAddressData.fullAddressText) - адрес прописки
В качестве адресов клиента можно передавать полностью заполненную структуру адреса или можно указать только два поля - код ФИАС и строка адреса (включая номер квартиры), а все остальные поля будут заполнены автоматически.
Триггером для отправки отдельного запроса по уточнению адреса является заполненные поля код ФИАС и строка адреса, а также пустое поле fiasChainText
Минимальный набор полей которые нужно заполнить в теле запроса из предыдущего списка являются: firstName, lastName, sexId, birthDate, passport.seria, passport.no, passport.issueDate, mobilePhone, addressData.fias, addressData.fullAddressText. Поле managerId (узнать его можно в справочниках - специалист по займам) заполнено уже значением по умолчанию при инициализации клиента.
Request Body required
request
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
additionalInfo object
formUpdateInfoList object[]
guaranteeInfoList object[]
propertyInfoList object[]
vehiclePropertyInfoList object[]
addressData object
attributes object
fiasChain object
addresses object[]
attributes object
fiasChain object
beneficialOwners object[]
businessAddressData object
attributes object
fiasChain object
certificate object
clientRiskStatus object[]
Possible values: [BENEFICIAL_OWNER
, BENEFICIARY
, BORROWER
, COBORROWER
, DEPOSITOR
, GUARANTOR
, PLEDGER
, REPRESENTATIVE
]
complementaryDoc object
extraFields object[]
livingDocument object
migrationCard object
passport object
personAccounts object[]
personConstitutors object[]
passportData object
personIncomes object[]
personRelatives object[]
passport object
Possible values: [APPROVE
, DENY
, GOOD
, MEDIUM
, TECH_FAULT
, UNDEFINED
, VALIDATION_ERROR
]
registrationAddressData object
attributes object
fiasChain object
registrationNumber object
settlementDebts object[]
workPlaceData object
- 200
- 201
- 401
- 403
- 404
OK
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
additionalInfo object
formUpdateInfoList object[]
guaranteeInfoList object[]
propertyInfoList object[]
vehiclePropertyInfoList object[]
addressData object
attributes object
addresses object[]
attributes object
beneficialOwners object[]
businessAddressData object
attributes object
certificate object
clientRiskStatus object[]
Possible values: [BENEFICIAL_OWNER
, BENEFICIARY
, BORROWER
, COBORROWER
, DEPOSITOR
, GUARANTOR
, PLEDGER
, REPRESENTATIVE
]
complementaryDoc object
extraFields object[]
livingDocument object
migrationCard object
passport object
personAccounts object[]
personConstitutors object[]
passportData object
personIncomes object[]
personRelatives object[]
passport object
Possible values: [APPROVE
, DENY
, GOOD
, MEDIUM
, TECH_FAULT
, UNDEFINED
, VALIDATION_ERROR
]
registrationAddressData object
attributes object
registrationNumber object
settlementDebts object[]
workPlaceData object
{
"accountant": "string",
"activitySubtypeId": 0,
"activityTypeId": 0,
"additionalExpense": 0,
"additionalIncome": 0,
"additionalInfo": {
"alimony": true,
"businessRelationsPurposeInfo": "string",
"businessReputationDoc": "string",
"checkPlanDate": "2024-11-20",
"clientRepresentativeConfirmation": "string",
"conviction": true,
"creditDealRestriction": true,
"criminalRiskLevelInfo": "string",
"diminishedCapacityRecord": true,
"enterName": "string",
"extremistCheckResult": "string",
"extremistRelationCheckResult": "string",
"financialDoc": "string",
"foreignPerson": true,
"formRegistrationDate": "2024-11-20",
"formUpdateInfoList": [
{
"comments": "string",
"id": 0,
"updateDate": "2024-11-20"
}
],
"guaranteeInfoList": [
{
"amount": 0,
"bankName": "string",
"clientName": "string",
"endDate": "2024-11-20",
"id": 0,
"startDate": "2024-11-20"
}
],
"haveYouAppliedToBanks": true,
"id": 0,
"lawsuits": true,
"licensesInfo": "string",
"moneyLaunderingTiesInfo": "string",
"moneyOrigin": "string",
"ngoTiesInfo": "string",
"pregnancy": true,
"propertyInfoList": [
{
"address": "string",
"comments": "string",
"id": 0,
"marketValue": 0,
"propertyTypeId": 0,
"purchaseManner": "string",
"totalArea": 0
}
],
"psychoOrNarcoRecord": true,
"publicOfficialInfo": "string",
"regAddressExtremistCheckResult": "string",
"regAddressTerrorRiskCheckResult": "string",
"riskStatusTypeId": 0,
"taxesDebt": true,
"unfulfilledJudgment": true,
"unsettledDebt": true,
"vehiclePropertyInfoList": [
{
"brandAndModel": "string",
"comments": "string",
"id": 0,
"issueYear": "string",
"marketValue": 0,
"propertyTypeId": 0,
"purchaseManner": "string"
}
]
},
"additionalPhone": "string",
"addressData": {
"apartmentNo": "string",
"attributes": {},
"blockNo": "string",
"buildingNo": "string",
"countryId": 0,
"fiasChainText": "string",
"fiasId": "string",
"fullAddressText": "string",
"houseNo": "string",
"housingType": "string",
"id": 0,
"localityName": "string",
"metroStation": "string",
"oldAddressText": "string",
"postalCode": "string",
"regDate": "2024-11-20",
"regionName": "string",
"streetName": "string",
"telephone": "string",
"timeZone": "string"
},
"addresses": [
{
"apartmentNo": "string",
"attributes": {},
"blockNo": "string",
"buildingNo": "string",
"countryId": 0,
"fiasChainText": "string",
"fiasId": "string",
"fullAddressText": "string",
"houseNo": "string",
"housingType": "string",
"id": 0,
"localityName": "string",
"metroStation": "string",
"oldAddressText": "string",
"postalCode": "string",
"purposeId": 0,
"regDate": "2024-11-20",
"regionName": "string",
"streetName": "string",
"telephone": "string",
"timeZone": "string"
}
],
"alimony": 0,
"availabilityAuto": true,
"availabilityPropertyInfo": "string",
"averageMonthlyCost": 0,
"beneficialOwners": [
{
"id": 0,
"ownerId": 0,
"substantiation": "string"
}
],
"birthCountryId": 0,
"birthDate": "2024-11-20",
"birthPlace": "string",
"bonusIncome": 0,
"bureauConsent": true,
"bureauConsentDate": "2024-11-20",
"businessAddressData": {
"apartmentNo": "string",
"attributes": {},
"blockNo": "string",
"buildingNo": "string",
"countryId": 0,
"fiasChainText": "string",
"fiasId": "string",
"fullAddressText": "string",
"houseNo": "string",
"housingType": "string",
"id": 0,
"localityName": "string",
"metroStation": "string",
"oldAddressText": "string",
"postalCode": "string",
"regDate": "2024-11-20",
"regionName": "string",
"streetName": "string",
"telephone": "string",
"timeZone": "string"
},
"businessOwner": true,
"businessman": true,
"cardNumber": "string",
"certificate": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"certificateTypeId": 0,
"changeName": true,
"changeNameReason": "string",
"charteredCapital": "string",
"children16Count": 0,
"childrenAge": "string",
"childrenCount": 0,
"clientAgent": 0,
"clientRiskStatus": [
{
"comments": "string",
"id": 0,
"insertDate": "2024-11-20T07:47:13.358Z",
"userId": 0,
"valueId": 0
}
],
"clientType": "BENEFICIAL_OWNER",
"comment": "string",
"complementaryDoc": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string"
},
"createSubdivisionId": 0,
"createUserId": 0,
"creationDate": "2024-11-20",
"creditLimit": 0,
"creditMaxLimit": 0,
"deathDate": "2024-11-20",
"dependent": true,
"dependents": 0,
"director": "string",
"educationId": 0,
"email": "string",
"employeesQty": 0,
"exitDate": "2024-11-20",
"extraFields": [
{
"id": 0,
"key": "string",
"value": "string"
}
],
"faculty": "string",
"fax": "string",
"firstName": "string",
"foreignFirmCode": "string",
"foreignRegNumber": "string",
"foreignTitle": "string",
"groupId": 0,
"guid": "string",
"headPositionId": 0,
"highSchool": "string",
"homePhone": "string",
"howYouKnowId": 0,
"id": 0,
"inBlackList": true,
"inEmailList": true,
"inRedList": true,
"inSMSList": true,
"investor": true,
"joiningDate": "2024-11-20",
"jurDocument": "string",
"kpp": "string",
"lastName": "string",
"latinFirstName": "string",
"latinLastName": "string",
"latinPatronymic": "string",
"leavingReasonId": 0,
"legalForm": "string",
"livingDocument": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"loanPaymentExpense": 0,
"maidenName": "string",
"managerId": 0,
"maritalStatusId": 0,
"meanIncome": 0,
"migrationCard": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"mobileNumberOwner": true,
"mobilePhone": "string",
"monthlyIncome2NDFL": 0,
"monthlyPension": 0,
"monthlyProfit": 0,
"msp": true,
"naturalperson": true,
"okato": "string",
"okfs": "string",
"okogu": "string",
"okopf": "string",
"oktmo": "string",
"okved": "string",
"oldFirstName": "string",
"oldLastName": "string",
"oldPassport": "string",
"oldPatronymic": "string",
"originalExperience": 0,
"passport": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"patronymic": "string",
"pensionTypeId": 0,
"personAccounts": [
{
"accountNo": "string",
"bankId": 0,
"bankSTR": "string",
"bik": "string",
"cardIndexPresence": "string",
"comments": "string",
"correspondingAccountNo": "string",
"id": 0,
"innRecipient": "string",
"inn_kpp": "string",
"monthlyTurnover": "string",
"openingDate": "2024-11-20",
"recipient": "string"
}
],
"personConstitutors": [
{
"activityTypeId": 0,
"birthDate": "2024-11-20",
"id": 0,
"mobilePhone": "string",
"name": "string",
"naturalPerson": true,
"passport": "string",
"passportData": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"positionId": 0,
"regAddress": "string",
"resident": true,
"share": 0,
"workPhone": "string"
}
],
"personIncomes": [
{
"amount": 0,
"id": 0,
"incomeTypeId": 0,
"info": "string"
}
],
"personRelatives": [
{
"address": "string",
"birthDate": "2024-11-20",
"collateralRelId": 0,
"comments": "string",
"email": "string",
"firstName": "string",
"id": 0,
"lastName": "string",
"passport": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"patronymic": "string",
"resident": true,
"rnn": "string",
"telephone": "string",
"verified": true,
"workPlace": "string"
}
],
"personalAccount": "string",
"personalDataConsent": true,
"personalDataConsentDate": "2024-11-20",
"pinCode": "string",
"problemClient": true,
"professionId": 0,
"rating": "APPROVE",
"ratingDate": "2024-11-20",
"registrationAddressData": {
"apartmentNo": "string",
"attributes": {},
"blockNo": "string",
"buildingNo": "string",
"countryId": 0,
"fiasChainText": "string",
"fiasId": "string",
"fullAddressText": "string",
"houseNo": "string",
"housingType": "string",
"id": 0,
"localityName": "string",
"metroStation": "string",
"oldAddressText": "string",
"postalCode": "string",
"regDate": "2024-11-20",
"regionName": "string",
"streetName": "string",
"telephone": "string",
"timeZone": "string"
},
"registrationNumber": {
"closeDate": "2024-11-20",
"complementaryDocTypeId": 0,
"extraNumber": "string",
"id": 0,
"issueDate": "2024-11-20",
"manager": "string",
"no": "string",
"seria": "string",
"subdivisionCode": "string"
},
"rentIncome": 0,
"resident": true,
"rnn": "string",
"roleId": 0,
"settlementDebts": [
{
"availabilityDelays": "string",
"bank": "string",
"contractNameAndDate": "string",
"debtAmount": 0,
"debtBankId": 0,
"debtName": "string",
"id": 0,
"intRate": 0,
"lastFactPaymentDate": "2024-11-20",
"monthlyPayment": 0,
"paymentPeriodicity": "string",
"remainderDebt": 0,
"requisites": "string"
}
],
"sexId": 0,
"shareholder": true,
"shortTitle": "string",
"smsBlockHistory": "string",
"snils": "string",
"studyForm": "string",
"studyGraduationYear": "string",
"subcode": "string",
"title": "string",
"validThruMonth": "string",
"validThruYear": "string",
"workPlaceData": {
"activityTypeId": 0,
"comments": "string",
"doNotWorkForReason": "string",
"employee2Phone": "string",
"employeeDirectorPhone": "string",
"employeeFirst": "string",
"employeePhone": "string",
"employeeSecond": "string",
"employmentRateId": 0,
"employmentTypeId": 0,
"id": 0,
"inn": "string",
"nextPayDay": "2024-11-20",
"previousWorkPlace": "string",
"website": "string",
"workAge": "string",
"workPhone": "string",
"workPlace": "string",
"workPlaceTypeId": 0,
"workPosition": "string",
"workPositionTypeId": 0,
"workStartDate": "2024-11-20"
}
}
Created
Unauthorized
Forbidden
Not Found