1. DPL
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
      GET
    • Create DPL
      POST
    • List Payment Links
      GET
    • Payment Link Details
      GET
    • Update DPL
      POST
    • Remove DPL
      POST
  • 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
    • Settings Update
  1. DPL

Options for Creating a DPL

Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
GET
/ccpayment/api/dpl/options
This endpoint returns the link types, payment options, and currencies available to the merchant, along with the installment counts supported by the merchant’s virtual POS and the features enabled by its DPL permissions. Use the response to populate the link creation request.

Request

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

Responses

🟢200Success
application/json
Bodyapplication/json

⚪1001Failed
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://provisioning.sipay.com.tr/ccpayment/api/dpl/options' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "status_code": 100,
    "status_description": "Successful",
    "data": {
        "payment_link_types": {
            "1": "One Time",
            "2": "Multi Time",
            "3": "One Page Payment"
        },
        "dpl_pos_options": [
            "3D’less",
            "3D Only",
            "Allow 2D/3D Payment"
        ],
        "installments": [
            1,
            2,
            3,
            4,
            5,
            6,
            7
        ],
        "currencies": [
            {
                "id": 1,
                "code": "TRY",
                "symbol": "₺"
            }
        ],
        "is_allow_one_page_payment": 0,
        "is_allow_pre_auth": 1,
        "is_allow_recurring_payment": 1,
        "recurring_webhook_keys": [
            "Deneme",
            "recurring_webhook"
        ],
        "payment_cycles": {
            "D": "DAILY",
            "M": "MONTHLY",
            "Y": "YEARLY"
        }
    }
}
Previous
DPL
Next
Create DPL
Built with