API Kimlik Doğrulama & Giriş
Değerlet REST API, HTTPS üzerinden JSON payload ile çalışır. Tüm isteklerde Bearer Token kimlik doğrulaması zorunludur.
curl -X POST https://api.degerlet.com/v1/payments/create \
-H "Authorization: Bearer sec_key_live_..." \
-H "Content-Type: application/json" \
-d '{{"amount": 1500.00, "currency": "TRY", "order_id": "ORD-9821"}}'
-H "Authorization: Bearer sec_key_live_..." \
-H "Content-Type: application/json" \
-d '{{"amount": 1500.00, "currency": "TRY", "order_id": "ORD-9821"}}'
Webhook Bildirimleri
Ödeme başarılı, başarısız veya iade edildiğinde sunucunuza anlık HMAC-SHA256 imzalı POST isteği gönderilir.
Hazır E-Ticaret Eklentileri
WooCommerce
OpenCart
PrestaShop