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

Update DPL

Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
POST
/api/dpl/update
This endpoint updates a payment link belonging to the authenticated merchant and allows the merchant to enable or disable the link. Only enabled links can accept payments.
The payment link’s currency is fixed. The API validates the amount against the merchant’s limits for that currency and ignores any currency parameter sent in the request. If the amount changes, the API records the change in the payment link’s history.

Set is_enabled to false to disable the payment link.

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

🟢200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://provisioning.sipay.com.tr/api/dpl/update' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "dpl_id": "{{dpl_id}}",
  "amount": 150,
  "is_enabled": true,
  "description": "Updated",
  "max_number_of_uses": 10,
  "expire_date": "31.12.2027",
  "min_installment_limit": 1,
  "max_installment_limit": 3
}'
Response Response Example
{}
Previous
Payment Link Details
Next
Remove DPL
Built with