vellTRDocs
API Referansına DönPazaryeriAlt Üye İşyerine Ödeme

Alt Üye İşyerine Ödeme

POST/v1/payoutsOptional

Bir alt üye işyerine ödeme gönderir. Üst üye işyeri submerchantId değerini iletir; hedef IBAN/hesap sahibi bilgisi sunucu tarafında alt üye işyeri kaydından alınır (bir alt üye işyerinin kendi anahtarı yalnızca kendisine ödeme yapabilir). Alt üye işyerinin defter hesaplarına ve daha düşük limitlere yönlendirilir.

Kimlik Doğrulama

İmza Deseni

HMAC-SHA256(secretKey, "{timestamp}\nPOST\n/v1/payouts\n{sha256(body)}")
BaşlıkDeğerAçıklama
X-Api-Keypk_live_a1b2c3d4e5f6g7h8Merchant public API key
X-Signature{hmac_sha256_hex}Hex HMAC-SHA256 request signature
X-Timestamp2026-04-13T10:00:00ZISO 8601 UTC request time (±5 min)

İstek Parametreleri

AdTürZorunluAçıklama
submerchantIdstringZorunluSubmerchant to pay (IBAN/holder sourced server-side)
railstringZorunlu"fast" | "eft" | "card"
amountMinorintegerZorunluAmount in kuruş
currencystringZorunluAlways "TRY"
clientReferencestringİsteğe BağlıMerchant pass-through reference

İstek Örneği

JSONİstek Gövdesi
{
  "submerchantId": "sub_1a2b3c4d",
  "rail": "fast",
  "amountMinor": 20000,
  "currency": "TRY"
}

Yanıt Parametreleri

AlanTürÖrnek
payoutIdstring"1a2b3c4d-5e6f-7081-92a3-b4c5d6e7f809"
statusstring"pending"
submerchantIdstring"sub_1a2b3c4d"

Yanıt Örneği

JSONYanıt
{
  "payoutId": "1a2b3c4d-5e6f-7081-92a3-b4c5d6e7f809",
  "status": "pending",
  "submerchantId": "sub_1a2b3c4d"
}

Durum Kodları

200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
DeneSahte
POSThttps://api.pay.sandbox.kvell.group