1. DPL Ayarları
Sipay API Documentation
TR
  • EN
  • TR
  • Genel Bakış
    • IP Kısıtlaması
    • Başlangıç
    • Test Kartları
  • Kimlik Doğrulama
    • Token Oluşturma
      POST
  • Taksitler & Komisyonlar
    • Taksit Bilgisi Sorgulama
      POST
    • Komisyon Bilgisi Sorgulama
      POST
    • Üye İşyeri Taksit Bilgisi Sorgulama
      POST
  • Non-3DS Ödeme
    • Non-3DS Ödeme Akışı
    • Non-3DS Kart Ödemesi
      POST
    • Non-3DS Tekrarlayan Ödeme
      POST
    • Non-3DS Sigorta Ödemesi
      POST
    • Non-3DS Ön Provizyon Ödemesi
      POST
    • Ödeme Onaylama
      POST
  • 3D Secure Ödemesi
    • 3D Secure Ödeme Akışı
    • 3D Secure Kart Ödemesi
      POST
    • 3D Secure Tekrarlayan Ödeme
      POST
    • 3D Secure Ön Provizyon Ödemesi
      POST
    • Ödeme Tamamlama
      POST
    • Ödeme Onaylama
      POST
    • 3D Secure Tarım Ödemesi
      POST
  • Sipay ile Non-3DS ve 3D Ödeme
    • Purchase Link Örneği
    • Sipay ile Non-3DS ve 3D Secure Ödeme
  • DPL
    • DPL
    • Durum Kodları
    • DPL Ayarları
      • DPL Ayarlarını Sorgulama
        GET
      • DPL Ayarlarını Güncelleme
        POST
    • DPL Oluşturma Seçenekleri
      GET
    • DPL Oluşturma
      POST
    • Ödeme Bağlantılarını Listeleme
      GET
    • Ödeme Bağlantısı Detayları
      GET
    • DPL Güncelleme
      POST
    • DPL Kaldırma
      POST
  • Ödeme Durumu Sorgulama
    • Durum Sorgulama
  • Kayıtlı Kart ile Ödeme
    • Kart Kaydetme
    • 3D Secure Kart Token ile Ödeme
    • Kayıtlı Kart Bilgilerini Sorgulama
    • Kayıtlı Kart Düzenleme
    • Kayıtlı Kart Silme
    • Non-3DS Kart Token ile Ödeme
  • HASH
    • Hash Oluşturma
    • Hash Doğrulama
  • Tekrarlayan Ödeme
    • Tekrarlayan Ödeme Sorgulama
    • Tekrarlayan Ödeme Plan Süreci
    • Tekrarlayan Ödeme Planı Güncelleme
  • İade
    • İade
  • Para Dağıtımı
    • Banka Hesabına Para Aktarımı
  • Webhook
    • Webhook
  • Hata Durum Kodları
    • Durum Kodları
  • Plugin
    • Magento v1
    • Magento v2
    • Opencart
    • Presta
    • Woocommerce
    • Shopify
  1. DPL Ayarları

DPL Ayarlarını Güncelleme

POST
/api/dpl/settings
Bu endpoint, DPL ödeme sayfasının ayarlarını günceller. Sabit fatura alanları değiştirilemez. İstekteki static_fields_* alanları yok sayılır. Name, Surname, Phone, Email veya Address başlıklı dinamik alanlar reddedilir. Sözleşme dizilerinin her biri tam olarak üç öğe içermelidir.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200Başarılı
application/json
Bodyapplication/json

⚪1001Başarısız
🟠422Başarısız
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://provisioning.sipay.com.tr/api/dpl/settings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "show_logo": 1,
  "show_dsc": 1,
  "show_installment_table": 1,
  "agreement_name": [
    "A1",
    "A2",
    "A3"
  ],
  "agreement_content": [
    "c1",
    "c2",
    "c3"
  ],
  "show_agreement": [
    1,
    0,
    0
  ],
  "dynamic_fields": [
    {
      "title": "Order note",
      "title_tr": "Siparis notu",
      "enable": 1,
      "mendatory": 0
    }
  ]
}'
Response Response Example
200 - Başarılı yanıt örneği
{
 "status_code": 100,
 "status_description": "Successful",
 "data": {
 "dpl_settings": {
 "id": 1,
 "merchant_id": 101,
 "brand_name": "Merchant 101",
 "logo": "",
 "distance_sale_contract": "",
 "status": 1,
 "dpl_link_background_color": "",
 "created_at": "2026-11-12T10:53:09.000000Z",
 "updated_at": "2026-11-12T10:53:09.000000Z",
 "show_installment_table": 1,
 "logo_status": 0
 },
 "dpl_agreements": [],
 "static_billing_fields": {
 "name": {
 "title": "Name",
 "enable": 1,
 "mendatory": 1
 },
 "surname": {
 "title": "Surname",
 "enable": 1,
 "mendatory": 1
 },
 "phone": {
 "title": "Phone",
 "enable": 1,
 "mendatory": 0
 },
 "email": {
 "title": "Email",
 "enable": 1,
 "mendatory": 1
 },
 "address": {
 "title": "Address",
 "enable": 0,
 "mendatory": 0
 }
 },
 "dynamic_billing_fields": []
 }
}
Previous
DPL Ayarlarını Sorgulama
Next
DPL Oluşturma Seçenekleri
Built with