1. Payment
Sipay API Documentation
  • Overview
    • Getting Started
  • Authentication
    • Generating Token
      POST
  • Installments
    • Getting Installment Information
      POST
    • Installments
      POST
  • Commissions
    • Commission
      POST
  • HASH
    • Hash Information
  • Non Secure Payment
    • Non-Secure Payment Flow
    • Non-Secure Card Payment
      POST
    • Non-Secure Recurring Payment
      POST
    • Non-Secure Insurance Payment
      POST
    • Non-Secure Pre-Authorization 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
    • 3D Secure Agriculture Payment
      POST
  • Payment
    • Check Status
      POST
    • Confirm Payment
      POST
    • Complete Payment
      POST
    • Non-Secure and 3D Payment with Sipay
      POST
    • Refund
      POST
  • Payment with Saved Card
    • Card Registration
    • Pay by Card Token
    • Retrieving Saved Card
    • Edit Saved Card
    • Delete Saved Card
    • Non-Secure Payment with Hidden Card
  • Recurring
    • Recurring Query Search
    • Recurring Plan Process
    • Recurring Plan Update
  • Cashout
    • Cashout to Bank
  • Webhook
    • Webhook
  • Status Codes
    • Status Codes
  1. Payment

Non-Secure and 3D Payment with Sipay

Testing
Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
POST
/ccpayment/purchase/link
The Sipay administrator determines whether payments made from the merchant website will be processed as Non-Secure or 3D Secure transactions. The request for this endpoint must be sent from the merchant website to the Sipay payment integration system.
The cURL POST request must be received by Sipay with the required parameters listed below.
If the response is successful, a redirection is performed to the provided link value, and the user is expected to verify the transaction status via the return_url received in the response.
payment_status == 1 and transaction_type == “Auth” means that the transaction is successful and the amount will be deducted from the card immediately.
payment_status == 1 and transaction_type == “Pre-Authorization” means that the transaction is successful, and the amount will be deducted from the card later.
payment_status == 0 means that the transaction failed.

Request

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

Examples

Responses

🟢200Success
application/json
Body

🟠400Failed
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://provisioning.sipay.com.tr/ccpayment/purchase/link' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "merchant_key": "$2y$10$HmRgYosneqcwHj.UH7upGuyCZqpQ1ITgSMj9Vvxn.t6f.Vdf2SQFO",
  "name": "Sipay",
  "surname": "Sipay",
  "currency_code": "TRY",
  "invoice": "{\"invoice_id\":\"5H1smeterg3rewt\",\"invoice_description\":\"POSTMAN - INVOICE TEST DESCRIPTION\",\"total\":\"100.00\",\"discount\":0,\"coupon\":null,\"return_url\":\"https://localhost:44381/servis/Odeme/Sipay/paylink.ashx?r=1\",\"cancel_url\":\"https://localhost:44381/servis/Odeme/Sipay/paylink.ashx?r=2\",\"is_comission_from_user\":1,\"commission_for_installment\":\"1,2,3,4,5,6,7,8,9,10,11,12\",\"items\":[{\"name\":\"Item\",\"price\":\"100.00\",\"quantity\":1,\"description\":\"item description\"}],\"bill_address1\":\"İstanbul Kadıköy\",\"bill_address2\":\"İstanbul Üsküdar\",\"bill_city\":\"İstanbul\",\"bill_postcode\":\"34734\",\"bill_state\":\"Bill State Example\",\"bill_email\":\"testtest@gmail.com\",\"bill_phone\":\"\",\"response_method\":\"POST\"}"

}'
Response Response Example
200 - Success
{
    "status": true,
    "status_code": 100,
    "success_message": "Success !",
    "link": "https://provisioning.sipay.com.tr/ccpayment/makepayment/VP17697754816843201",
    "order_id": "VP17697754816843201"
}
Modified at 2026-04-20 13:22:07
Previous
Complete Payment
Next
Refund
Built with