Doğrulama gerekli

H2H API — Çekim

Host-to-host çekim ucu. Doğrudan çekim talebi oluşturur; onay sonrası H2H callback formatında bildirim gönderilir.

POST/withdrawal/bankveya /api/withdrawal/bank

Parametreler

AlanTipZorunluAçıklama
apikeystringEvetAPI anahtarı
transaction_idstringEvetBenzersiz işlem ID
hashstringEvetSHA256 hash
amountnumberEvetTutar (TRY)
fullnamestringEvetAlıcı ad soyad
ibanstringEvetHedef IBAN
callback_urlstringHayırCallback URL

Örnek istek

{
  "apikey": "YOUR_API_KEY",
  "transaction_id": "H2H-WTH-001",
  "hash": "sha256_hex_digest",
  "amount": 750,
  "fullname": "Ayşe Yılmaz",
  "iban": "TR330006100519786457841326",
  "callback_url": "https://merchant.example/h2h/callback"
}

Başarılı yanıt

{
  "status": true,
  "code": 200,
  "id": 789,
  "transaction_id": "H2H-WTH-001",
  "message": "Withdrawal request received. You will be notified via callback after approval."
}

API Console

Canlı gateway testi

POST
https://api.trink.online/withdrawal/bank

H2H API — çekim talebi.