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

Create DPL

Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
POST
/api/dpl/create
This endpoint creates a payment link for the authenticated merchant. The response includes link, the URL to share with the payer, and status_label, the payment link’s status label.
The same merchant permissions apply as in the Merchant Portal. The merchant must be permitted to use the requested link type, payment option, currency, and installment counts. Pre-authorization and recurring payments must also be enabled for the merchant if requested.
Set payment_link_type to 2 to create a payment link that can be used multiple times.

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/create' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
  "payment_link_type": 2,
  "currency": 1,
  "amount": 50.5,
  "name_of_product": "Saved product",
  "is_save_link": 1,
  "saved_link_title": "My saved link",
  "max_number_of_uses": 100,
  "expire_date": "31.12.2027",
  "expire_datetime": "2027-12-31",
  "expire_hour": "12"
}'
Response Response Example
{}
Previous
Options for Creating a DPL
Next
List Payment Links
Built with