1. Settings
Sipay API Documentation
EN
  • EN
  • TR
  • Status Codes
  • Overview
    • Getting Started
    • Test Cards
    • IP Restriction
  • Authentication
    • Token Generation
      POST
  • Installments & Commission
    • Installment Details
      POST
    • Commission
      POST
    • Merchant Installments
      POST
  • HASH
    • Hash Creation
    • Hash Validation
  • Non-3DS Payment
    • Non-3DS Payment Flow
    • Non-3DS Card Payment
      POST
    • Non-3DS Recurring Payment
      POST
    • Non-3DS Insurance Payment
      POST
    • Non-3DS Pre-Authorization Payment
      POST
    • Confirm Payment
      POST
  • 3D Secure Payment
    • 3D Secure Payment Flow
    • 3D Secure Card Payment
      POST
    • 3D Secure Recurring Payment
      POST
    • 3D Secure Pre-Authorization Payment
      POST
    • Complete Payment
      POST
    • Confirm Payment
      POST
    • 3D Secure Agriculture Payment
      POST
  • Non-3DS and 3DS Payment with Sipay
    • Purchase Link Example
    • Non-3DS and 3D Secure Payment with Sipay
  • DPL
    • Options for Creating a DPL
    • Create DPL
    • List Payment Links
    • Payment Link Details
    • Update DPL
    • Remove DPL
  • Check Status
    • Check Status
  • Payment with Saved Card
    • Card Registration
    • 3D Secure Pay by Card Token
    • Non-3DS Pay by Card Token
    • Retrieving Saved Card
    • Edit Saved Card
    • Delete Saved Card
  • Recurring
    • Recurring Query Search
    • Recurring Plan Process
    • Recurring Plan Update
  • Refund
    • Refund
  • Cashout
    • Cashout to Bank
  • Webhook
    • Webhook
  • Status Codes
    • Status Codes
  • Plugin
    • Magento v1
    • Magento v2
    • Opencart
    • Presta
    • Woocommerce
    • Shopify
  • Settings
    • DPL Settings
      GET
    • Settings Update
      POST
  1. Settings

Settings Update

Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
POST
/api/dpl/settings
Static billing fields cannot be changed (static_fields_* is ignored). A dynamic field titled Name/Surname/Phone/Email/Address is rejected. Agreement arrays need exactly 3 items.

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

🟢200Success
application/json
Bodyapplication/json

⚪1001Failed
🟠422Failed
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 - Success
{
 "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 Settings
Built with