Müşteriyi Getir
GET
/v1/customers/{id}RecommendedBir müşteriyi kimliğine göre getirir.
Kimlik Doğrulama
İmza Deseni
HMAC-SHA256(secretKey, "{timestamp}\nGET\n/v1/customers/{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 |
X-Timestamp | 2026-04-13T10:00:00Z | ISO 8601 UTC request time (±5 min) |
Yanıt Parametreleri
| Alan | Tür | Örnek |
|---|---|---|
id | string | "cus_a1b2c3d4e5f6" |
merchantId | string | "mrc_8a1b2c3d4e5f" |
externalId | string | "CUST-4821" |
email | string | "buyer@example.com" |
phone | string | "+905551112233" |
name | string | "Ayşe Yılmaz" |
extraData | object | {…} |
createdAt | string | "2026-04-13T10:00:00Z" |
updatedAt | string | "2026-04-13T10:00:00Z" |
Yanıt Örneği
JSONYanıt
{
"id": "cus_a1b2c3d4e5f6",
"merchantId": "mrc_8a1b2c3d4e5f",
"externalId": "CUST-4821",
"email": "buyer@example.com",
"phone": "+905551112233",
"name": "Ayşe Yılmaz",
"extraData": {},
"createdAt": "2026-04-13T10:00:00Z",
"updatedAt": "2026-04-13T10:00:00Z"
}Durum Kodları
200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
DeneSahte
GEThttps://api.pay.sandbox.kvell.group