User Additional Info
Kullanıcı ek bilgi ve kimlik doğrulama endpoint'leri.
Dropdown Parametresi Getir
Dropdown/seçim listesi parametrelerini getirir.
Authentication
- Gerekli değil
HTTP Request
GET /dropdown/get-parameter
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
code | string | false | - | Dropdown kodu |
dropdownCode | string | false | - | Dropdown parametre kodu |
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
id | number | false | Parametre ID |
code | string | false | Dropdown kodu |
name | string | false | Parametre adı |
isExplainMandatory | boolean | false | Açıklama zorunlu mu |
Response Body Example
[
{
"id": 1,
"code": "income_source",
"name": "Maaş",
"isExplainMandatory": false
},
{
"id": 2,
"code": "income_source",
"name": "Diğer",
"isExplainMandatory": true
}
]
Notlar
_requesterLanguageparametresi ile çoklu dil desteği sağlanır
Kullanıcı Ek Bilgisi Ekle
Kullanıcıya ek bilgi kaydı oluşturur.
Authentication
x-auth (tenant-id)- IP adresi filtreleme (accessFromIPsAllowedByUser)
HTTP Request
POST /user/insert-additional-info
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
purposeOfTransactionId | string | true | - | İşlem amacı dropdown ID |
explainPurposeOfTransaction | string | cond | - | Açıklama (dropdown'da zorunlu ise) |
sourceOfFundingId | string | true | - | Fon kaynağı dropdown ID |
explainSourceOfFunding | string | cond | - | Açıklama (dropdown'da zorunlu ise) |
monthlyIncomeAmountId | string | true | - | Aylık gelir dropdown ID |
explainMonthlyIncomeAmount | string | cond | - | Açıklama (dropdown'da zorunlu ise) |
estimatedMonthlyDWAmountId | string | true | - | Tahmini aylık çekim/yatırım tutarı ID |
explainEstimatedMonthlyDWAmount | string | cond | - | Açıklama (dropdown'da zorunlu ise) |
estimatedMonthlyDWCountId | string | true | - | Tahmini aylık çekim/yatırım sayısı ID |
explainEstimatedMonthlyDWCount | string | cond | - | Açıklama (dropdown'da zorunlu ise) |
Request Body Example
{
"purposeOfTransactionId": "1",
"sourceOfFundingId": "2",
"explainSourceOfFunding": "Freelance gelir",
"monthlyIncomeAmountId": "3",
"estimatedMonthlyDWAmountId": "2",
"estimatedMonthlyDWCountId": "1"
}
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
id | string | true | Kayıt ID |
purposeOfTransactionId | string | true | İşlem amacı ID |
sourceOfFundingId | string | true | Fon kaynağı ID |
monthlyIncomeAmountId | string | true | Aylık gelir ID |
Notlar
isExplainMandatoryolan dropdown seçenekleri için açıklama alanı zorunludur- Açıklama alanları minimum uzunluk gerektirebilir
Kullanıcı Kimlik Doğrulama
Kullanıcı kimlik doğrulaması yapar.
Authentication
x-auth (tenant-id)- IP adresi filtreleme (accessFromIPsAllowedByUser)
HTTP Request
POST /user/confirm-user-identity
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userIdentityNumber | string | true | - | TC Kimlik numarası |
name | string | true | - | Ad |
surname | string | true | - | Soyad |
secondName | string | false | - | İkinci ad |
birthDate | string | true | - | Doğum tarihi |
countryCode | string | false | - | Ülke kodu |
cityId | string | false | - | Şehir ID |
districtId | string | false | - | İlçe ID |
address | string | false | - | Adres |
occupationId | string | false | - | Meslek ID |
useTCKNService | boolean | false | - | TCKN servisi kullanılsın mı |
additionalInfo | object | true | - | Ek bilgiler |
additionalInfo.purposeOfTransactionId | string | true | - | İşlem amacı ID |
additionalInfo.sourceOfFundingId | string | true | - | Fon kaynağı ID |
additionalInfo.monthlyIncomeAmountId | string | true | - | Aylık gelir ID |
additionalInfo.estimatedMonthlyDWAmountId | string | true | - | Tahmini aylık tutar ID |
additionalInfo.estimatedMonthlyDWCountId | string | true | - | Tahmini aylık sayı ID |
additionalInfo.explainPurposeOfTransaction | string | cond | - | Açıklama |
additionalInfo.explainSourceOfFunding | string | cond | - | Açıklama |
additionalInfo.explainMonthlyIncomeAmount | string | cond | - | Açıklama |
additionalInfo.explainEstimatedMonthlyDWAmount | string | cond | - | Açıklama |
additionalInfo.explainEstimatedMonthlyDWCount | string | cond | - | Açıklama |
Request Body Example
{
"userIdentityNumber": "12345678901",
"name": "Ahmet",
"surname": "Yılmaz",
"birthDate": "1990-01-15",
"cityId": "34",
"districtId": "1",
"address": "Örnek Mah. Test Sok. No:1",
"occupationId": "5",
"additionalInfo": {
"purposeOfTransactionId": "1",
"sourceOfFundingId": "2",
"monthlyIncomeAmountId": "3",
"estimatedMonthlyDWAmountId": "2",
"estimatedMonthlyDWCountId": "1"
}
}
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
token | string | true | Yeni kimlik doğrulama token |
data | object | true | Kullanıcı ve onay bilgileri |
İşlem Akışı
- AML (Anti-Money Laundering) durum kontrolü
- Çoklu hesap limit kontrolü
- Kimlik bilgileri doğrulaması (opsiyonel TCKN servisi)
- Kullanıcı profili güncelleme
- Ek bilgi kaydı
- Yeni JWT token oluşturma
Response Body Example
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"data": {
"userId": "123",
"verified": true
}
}
Rol Kaynak İzin Logu
Rol ve kaynak izin loglarını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/role-resource-permission-log
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | string | false | - | Kaynak ID |
roleId | string | false | - | Rol ID |
resourceId | string | false | - | Kaynak ID |
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
id | string | false | Log kayıt ID |
roleId | string | false | Rol ID |
resourceId | string | false | Kaynak ID |
permission | string | false | İzin tipi |
createdAt | date | false | Oluşturulma tarihi |