Doğrulama gerekli

Callback (Webhook)

İşlem panelde onaylandığında veya reddedildiğinde merchant callback URL'inize POST JSON gönderilir. Format, entegrasyon tipine göre değişir.

Notlar

  • •Content-Type: application/json
  • •Giden callback yalnızca altyapıya kayıtlı callback_deposit / callback_withdrawal URL'sine gider
  • •H2H callback_url bu kayıtlı URL ile birebir eşleşmeli
  • •Gelen webhook: POST https://api.trink.online/deposit/callback/{slug} ve /withdraw/callback/{slug} (IP whitelist)
  • •Başarısız giden gönderimler otomatik yeniden denenir (callback log'da izlenir)

Merchant API callback

Ödeme sayfası yönlendirmeli merchant entegrasyonları için.

{
  "transactionId": "DEP-20260711-001",
  "amount": 500,
  "status": "confirm"
}

// Red durumunda status: "cancel"

H2H API callback

/deposit/bank ve /withdrawal/bank uçlarından oluşturulan işlemler için.

{
  "type": "deposit",
  "transactionId": "H2H-DEP-001",
  "status": "APPROVED",
  "amount": 250,
  "depositId": 42,
  "timestamp": "2026-07-11T12:00:00.000Z",
  "uuid": "H2H-DEP-001",
  "metadata": {
    "userID": "12345",
    "username": "can7",
    "senderName": "Can Demir"
  }
}

// Red: status "REJECTED", reason alanı eklenir

Altyapı API callback

Pronet, EveryMatrix, Digitain, Redlane Gaming altyapıları — PascalCase format.

{
  "CustomerFullName": "Ali Veli",
  "Amount": 500,
  "CustomerMemberId": "12345",
  "RequestId": "STD-DEP-001",
  "SecurityKey": "sec-key-from-request",
  "Status": true,
  "Message": "confirmed",
  "OperationGuidBack": "550e8400-e29b-41d4-a716-446655440000"
}

// Red: Status false, Message "declined"

Betconstruct callback

Betconstruct altyapısı — MD5 imza alanı eklenir.

{
  "transactionId": "DEP-001",
  "amount": 250,
  "status": "confirmed",
  "type": "deposit",
  "signature": "md5(transactionId+status+amount+type+apiSecret)"
}