User Management
Kullanıcı yönetimi endpoint'leri.
Admin - Kullanıcı Listele
Kullanıcıları çoklu kriterlere göre listeler.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/list-users
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | false | - | Kullanıcı ID filtresi |
identityNumber | string | false | - | TC Kimlik numarası |
taxNumber | string | false | - | Vergi numarası |
phoneNumber | string | false | - | Telefon numarası |
email | string | false | - | E-posta adresi |
fullName | string | false | - | Tam ad |
kycConfirm | boolean | false | - | KYC onay durumu |
birthDate | date | false | - | Doğum tarihi |
type | string | false | - | Kullanıcı tipi (bireysel, kurumsal) |
status | string | false | - | Hesap durumu |
isSortedByDate | boolean | false | false | Kayıt tarihine göre sırala |
Response Body Example
[
{
"userId": "123",
"fullName": "Ahmet Yılmaz",
"email": "ahmet@example.com",
"phoneNumber": "5551234567",
"kycConfirm": true,
"status": "active"
}
]
Kullanıcı Limit Bilgisi
Kullanıcının limit bilgilerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /user/limit-info
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
userId | string | false | Kullanıcı ID |
levelId | number | false | KYC seviyesi |
levelLabel | string | false | Seviye etiketi |
sendLimitTRYDaily | number | false | Günlük TRY gönderim limiti |
sendLimitCryptoDaily | number | false | Günlük kripto gönderim limiti |
sendLimitTRYMonthly | number | false | Aylık TRY gönderim limiti |
sendLimitCryptoMonthly | number | false | Aylık kripto gönderim limiti |
receiveLimitTRYDaily | number | false | Günlük TRY alma limiti |
receiveLimitCryptoDaily | number | false | Günlük kripto alma limiti |
creditRemainingDaily | number | false | Kalan günlük kredi limiti |
debitRemainingDaily | number | false | Kalan günlük borç limiti |
creditRemainingMonthly | number | false | Kalan aylık kredi limiti |
debitRemainingMonthly | number | false | Kalan aylık borç limiti |
Admin - Kullanıcı Limit Bilgisi
Admin için kullanıcı limit bilgilerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/user/limit-info
Response Parameters
Kullanıcı limit bilgisi ile aynı yapıda döner.
Kullanıcı Profili
Kullanıcı profil bilgilerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /user/user-profile
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
totp | boolean | false | TOTP aktif mi |
isWithdrawProhibited | boolean | false | Çekim yasak mı |
Admin - Giriş Geçmişi
Kullanıcı giriş geçmişini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/login-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Kullanıcı ID |
limit | number | false | 5 | Maksimum kayıt sayısı |
Admin - Giriş Geçmişi V2
IP adresine göre giriş geçmişini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/login-history-v2
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
ipaddress | string | true | - | IP adresi |
Admin - Kayıt Tarihine Göre Kullanıcılar
Belirli tarih aralığında kayıt olan kullanıcıları getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-users-by-register-date
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
beginDate | date | true | - | Başlangıç tarihi |
endDate | date | true | - | Bitiş tarihi |
Admin - Kayıt Tarihine Göre Kullanıcı Sayısı
Belirli tarih aralığındaki kullanıcı sayısını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-user-counts-by-register-date
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
beginDate | date | true | - | Başlangıç tarihi |
endDate | date | true | - | Bitiş tarihi |
Admin - Tam Ad Güncelle
Kullanıcının tam adını günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/user/update-fullname
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Kullanıcı ID |
name | string | true | - | Ad |
surname | string | true | - | Soyad |
Admin - Telefon Numarası Güncelle
Kullanıcının telefon numarasını günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/user/update-phonenumber
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Kullanıcı ID |
phoneNum | string | true | - | Telefon numarası |
countryCode | string | true | - | Ülke kodu |
Admin - E-posta Güncelle
Kullanıcının e-posta adresini günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/user/update-email
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Kullanıcı ID |
mailAddress | string | true | - | E-posta adresi |
Duruma Göre Toplam Kullanıcı Sayısı
Duruma göre kullanıcı sayılarını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /user/total-count-by-status
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
statusCode | string | false | - | Durum kodu filtresi |
Response Body Example
[
{
"statusCode": "active",
"statusName": "Aktif",
"total": 15000
},
{
"statusCode": "inactive",
"statusName": "Pasif",
"total": 500
}
]
Son Ay Günlük Kullanıcı Sayısı
Son bir ayın günlük kullanıcı sayılarını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /user/last-month-user-count-day-by-day
Response Body Example
[
{
"description": "2025-01-01",
"customerCount": 120
},
{
"description": "2025-01-02",
"customerCount": 135
}
]
Admin - Aktif Kullanıcılar
Son belirli ay içindeki aktif kullanıcıları getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-active-users
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
pastMonths | number | false | - | Geçmiş ay sayısı |
Admin - Seviyeye Göre Kullanıcı Sayısı
Her seviyedeki kullanıcı sayısını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-count-of-users-by-level
Admin - Ülke Listesi
Kullanılabilir ülkeleri listeler.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-country-list
Admin - E-posta Değişiklik Geçmişi
Kullanıcının e-posta değişiklik geçmişini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-email-change-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Kullanıcı ID |
startDate | date | false | - | Başlangıç tarihi |
endDate | date | false | - | Bitiş tarihi |