Process & Balance
İşlem ve bakiye sorgulama endpoint'leri.
Provider Bakiyelerini Asset'e Göre Getir
Belirli bir asset için provider bakiyelerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /process/get-provider-balances-of-asset
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
account | string | true | - | Provider hesap adı |
provider | string | true | - | Provider tanımlayıcı |
asset | string | true | - | Asset/coin kodu |
fromdate | timestamp | false | - | Başlangıç tarihi (milisaniye) |
todate | timestamp | false | - | Bitiş tarihi (milisaniye) |
Response Parameters
| Field | Type | Nullable | Desc |
|---|---|---|---|
accountname | string | false | Hesap adı |
assetObject | object | false | Asset bilgileri |
assetObject.asset | string | false | Asset/coin kodu |
assetObject.free | number | false | Kullanılabilir bakiye |
assetObject.locked | number | false | Kilitli bakiye |
Response Body Example
[
{
"accountname": "main_account",
"assetObject": {
"asset": "BTC",
"free": 10.5,
"locked": 2.3
}
}
]
Provider Bakiyelerini Getir
Tüm provider bakiyelerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /process/get-provider-balances
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
provider | string | true | - | Provider tanımlayıcı |
account | string | false | - | Hesap adı (boş ise 'AllAccounts' kullanılır) |
Response Body Example
[
{
"accountname": "AllAccounts",
"assetObject": {
"asset": "ETH",
"free": 150.25,
"locked": 10.0
}
}
]
Provider Bakiyeleri Toplam
Belirli bir zaman aralığı için toplam provider bakiyelerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /process/get-provider-balances-total
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
provider | string | true | - | Provider tanımlayıcı |
datetime5min | timestamp | true | - | 5 dakikalık aralık timestamp |
asset | string | false | - | Asset/coin kodu filtresi |
Admin - İşlem Detayları
Admin için işlem detaylarını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /process/get-process-admin
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Üye/kullanıcı ID |
code | string | false | - | Para birimi kodu |
startDate | timestamp | false | - | Başlangıç tarihi (milisaniye) |
endDate | timestamp | false | - | Bitiş tarihi (milisaniye) |
type | string | false | - | Kullanıcı tipi filtresi |
Response Body Example
[
{
"transactionId": "tx_123456",
"networkCode": "ETH",
"txId": "0xabc123...",
"explorerUrl": "https://etherscan.io/tx/0xabc123...",
"internalTransaction": false
}
]
Admin - Üye Asset Bakiyeleri
Üyenin asset bakiyelerini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-member-asset-balances
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | Üye ID |
type | string | false | - | Kullanıcı tipi |
Admin - Üye Asset Bakiyeleri Toplamı
Üyenin toplam bakiyesini getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-member-asset-balances-sum
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | false | - | Üye ID |
code | string | false | - | Asset/para birimi kodu |
currencyId | string | false | - | Para birimi ID |
Günlük Pozisyonları Getir
Kullanıcının günlük pozisyonlarını getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /balance/get-daily-position
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
startDate | date | false | - | Başlangıç tarihi |
endDate | date | false | - | Bitiş tarihi |
symbol | string | false | - | Trading sembol filtresi |
Admin - Çekim Kripto Kuyruğu
Kripto çekim kuyruğunu getirir.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/get-withdrawal-crypto-queue
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | string | false | - | Kayıt ID |
userId | string | false | - | Üye ID |
code | string | false | - | Kripto para kodu |
address | string | false | - | Cüzdan adresi |
addressTag | string | false | - | Adres etiketi |
network | string | false | - | Blockchain ağı |
startDate | timestamp | false | - | Başlangıç tarihi |
endDate | timestamp | false | - | Bitiş tarihi |
isActive | boolean | false | - | Aktif durumu |
statusCode | number | false | - | Çekim durumu kodu |
externalId | string | false | - | Harici sistem ID |
attemptIdentifier | string | false | - | Deneme takip ID |
txId | string | false | - | Transaction ID |
fullName | string | false | - | Üye tam adı |
Response Body Example
[
{
"id": "123",
"userId": "user_456",
"code": "BTC",
"address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
"network": "BTC",
"explorerUrl": "https://blockchair.com/bitcoin/transaction/...",
"transactionStatus": 6,
"transactionDescription": "Completed"
}
]