Ödemeyi Getir
GET
/v1/payments/{id}CoreTam ödeme nesnesini getirir.
Kimlik Doğrulama
İmza Deseni
HMAC-SHA256(secretKey, "{timestamp}\nGET\n/v1/payments/{id}\n{sha256(\"\")}")| Başlık | Değer | Açıklama |
|---|---|---|
X-Api-Key | pk_live_a1b2c3d4e5f6g7h8 | Merchant public API key |
X-Signature | {hmac_sha256_hex} | Hex HMAC-SHA256 request signature (see below) |
X-Timestamp | 2026-04-13T10:00:00Z | ISO 8601 UTC request time, validated within ±5 min |
Yanıt Parametreleri
| Alan | Tür | Örnek |
|---|---|---|
id | string | "pay_1a2b3c4d5e6f" |
merchantId | string | "mrc_8a1b2c3d4e5f" |
transactionId | string | "ORDER-2026-001" |
status | string | "captured" |
amount | integer | 15000 |
currency | string | "TRY" |
commission | integer | 449 |
netAmount | integer | 14551 |
cardMask | string | "415565******4321" |
cardBrand | string | "visa" |
cardType | string | "credit" |
bin | string | "415565" |
installmentCount | integer | 3 |
threeDSecure | boolean | true |
refundAmount | integer | 0 |
refundableAmount | integer | 15000 |
createdAt | string | "2026-04-13T10:00:00Z" |
completedAt | string | "2026-04-13T10:00:02Z" |
Yanıt Örneği
JSONYanıt
{
"id": "pay_1a2b3c4d5e6f",
"merchantId": "mrc_8a1b2c3d4e5f",
"transactionId": "ORDER-2026-001",
"status": "captured",
"amount": 15000,
"currency": "TRY",
"commission": 449,
"netAmount": 14551,
"cardMask": "415565******4321",
"cardBrand": "visa",
"cardType": "credit",
"bin": "415565",
"installmentCount": 3,
"threeDSecure": true,
"refundAmount": 0,
"refundableAmount": 15000,
"createdAt": "2026-04-13T10:00:00Z",
"completedAt": "2026-04-13T10:00:02Z"
}Durum Kodları
200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
DeneSahte
GEThttps://api.pay.sandbox.kvell.group