Blockage
Blokaj (engelleme) yönetimi endpoint'leri.
Blokaj Geçmişini Getir
Kullanıcının blokaj geçmişini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /blockage/get-blockage-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | false | - | Kullanıcı ID filtresi |
currencyId | number | false | - | Para birimi ID |
blockTypeId | array | false | - | Blok tipi ID'leri |
status | string | false | - | Blokaj durumu |
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
id | string | false | Blokaj kayıt ID |
userId | string | false | Kullanıcı ID |
currencyCode | string | false | Para birimi kodu |
blockTypeId | number | false | Blok tipi ID |
amount | number | false | Bloke edilen miktar |
status | string | false | Blokaj durumu |
description | string | true | Açıklama |
createdAt | date | false | Oluşturulma tarihi |
updatedAt | date | true | Güncellenme tarihi |
Admin - Tüm Blokaj Geçmişleri
Tüm kullanıcıların blokaj geçmişlerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/blockage/get-all-block-histories
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
currencyCode | string | false | - | Para birimi kodu |
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
id | string | false | Blokaj kayıt ID |
userId | string | false | Kullanıcı ID |
fullName | string | true | Kullanıcı tam adı |
currencyCode | string | false | Para birimi kodu |
blockTypeId | number | false | Blok tipi ID |
amount | number | false | Bloke edilen miktar |
status | string | false | Blokaj durumu |
createdAt | date | false | Oluşturulma tarihi |
Blokaj Ekle
Yeni bir blokaj kaydı oluşturur.
Authentication
x-auth (tenant-id)
HTTP Request
POST /blockage/insert-blockage-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Bloke edilecek kullanıcı ID |
currencyCode | string | true | - | Para birimi kodu |
blockTypeId | number | true | - | Blok tipi ID |
amount | number | true | - | Bloke edilen miktar |
description | string | false | - | Açıklama |
blockSourceId | number | false | - | Blok kaynağı ID |
descriptionJson | object | false | - | Çoklu dil açıklaması |
Request Body Example
{
"userId": "123",
"currencyCode": "TRY",
"blockTypeId": 1,
"amount": 10000,
"description": "Şüpheli işlem nedeniyle bloke edildi"
}
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
data | object | true | Oluşturulan blokaj kaydı |
Blokaj Güncelle
Mevcut bir blokaj kaydını günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /blockage/update-blockage-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | string | true | - | Blokaj kayıt ID |
status | string | true | - | Yeni durum |
comment | string | false | - | Güncelleme yorumu |
Request Body Example
{
"id": "block_123",
"status": "released",
"comment": "Soruşturma tamamlandı, blokaj kaldırıldı"
}
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
data | object | true | Güncellenen blokaj kaydı |
Blokaj Sil
Blokaj kaydını siler.
Authentication
x-auth (tenant-id)
HTTP Request
POST /blockage/delete-blockage-history
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | string | true | - | Blokaj kayıt ID |
Request Body Example
{
"id": "block_123"
}
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
data | object | true | Silme onay bilgisi |