1. 3D Secure Payment
Sipay API Documentation
  • Overview
    • Getting Started
    • Status Codes
    • PreAuthorization / Authorization
    • Webhook
  • Authentication
    • Generating Token
      POST
  • Installments
    • Getting Installment Information
      POST
    • Installments
      POST
  • Commissions
    • Commission
      POST
  • Non Secure Payment
    • Non-Secure Payment Flow
    • Non-Secure Credit Card Payment
      POST
    • Non-Secure Recurring Payment
      POST
    • Non-Secure Insurance Payment
      POST
    • Non-Secure PreAuthorization Payment
      POST
  • 3D Secure Payment
    • 3D Secure Payment Flow
    • 3D Secure Credit Card Payment
      POST
    • 3D Secure Recurring Payment
      POST
    • 3D Secure PreAuthorization Payment
      POST
    • 3D Secure PreAuthorization Payment APP
      POST
    • 3D Secure Agriculture Payment
      POST
  • Payment
    • CheckStatus
      POST
    • ConfirmPayment
      POST
    • CompletePayment
      POST
    • Non-Secure and 3D Payment with Sipay
      POST
    • Refund
      POST
  • Cards
    • Card Registration
    • Pay by Card Token
    • Retrieving Saved Card
    • Edit Saved Card
    • Delete Saved Card
    • NonSecure Payment with Hidden Card
  • HASH
    • Hash Information
  • Recurring
    • Recurring Query Search
    • Recurring Plan Process
    • Recurring Plan Update
  • Cashout
    • Cashout to bank
  • Report
    • Settlement API
  1. 3D Secure Payment

3D Secure PreAuthorization Payment

Testing
Testing Env
https://provisioning.sipay.com.tr
Testing Env
https://provisioning.sipay.com.tr
POST
/ccpayment/api/paySmart3D
For detailed information, please visit the following page :

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencodedRequired

Responses

🟢200Success
application/json
Body

⚪1Failed
đźź 404Failed
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://provisioning.sipay.com.tr/ccpayment/api/paySmart3D' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'cc_holder_name=John Doe' \
--data-urlencode 'cc_no=4508034508034509' \
--data-urlencode 'cvv=000' \
--data-urlencode 'expiry_month=12' \
--data-urlencode 'expiry_year=2026' \
--data-urlencode 'currency_code=TRY' \
--data-urlencode 'installments_number=1' \
--data-urlencode 'invoice_id=preauth-deneme234567' \
--data-urlencode 'invoice_description=deneme' \
--data-urlencode 'name=John' \
--data-urlencode 'surname=Doe' \
--data-urlencode 'total=5' \
--data-urlencode 'merchant_key=$2y$10$HmRgYosneqcwHj.UH7upGuyCZqpQ1ITgSMj9Vvxn.t6f.Vdf2SQFO' \
--data-urlencode 'items=[{"name":"test","price":5,"quantity":1,"description":"test"}]' \
--data-urlencode 'cancel_url=https://provisioning.sipay.com.tr/api/payment_failed.php' \
--data-urlencode 'return_url=https://provisioning.sipay.com.tr/api/payment_success.php' \
--data-urlencode 'transaction_type=PreAuth' \
--data-urlencode 'hash_key='
Response Response Example
200 - Success
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html class="no-js" lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta charset="utf-8"/>
        <title>3-D Secure Processing</title>
        <link href="https://testvpos.asseco-see.com.tr/mdpaympi/static/mpi.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div id="main">
            <div id="content">
                <div id="order">
                    <h2>3-D Secure Processing</h2>
                    <div style="padding-bottom: 15px">
                        <img src="https://testvpos.asseco-see.com.tr/mdpaympi/static/preloader.gif" alt="Please wait.."/>
                    </div>
                    <img src="https://testvpos.asseco-see.com.tr/mdpaympi/static/verifiedbyvisa.png" alt="Verified by VISA"/>
                    <iframe id="tdsMmethodTgtFrame" name="tdsMmethodTgtFrame" style="width: 1px; height: 1px; visibility: hidden;" src="javascript:false;" xmlns="http://www.w3.org/1999/xhtml">
    <!--.-->
</iframe><form id="tdsMmethodForm" name="tdsMmethodForm" action="https://3ds-acs.test.modirum.com/mdpayacs/3ds-method" method="post" target="tdsMmethodTgtFrame" xmlns="http://www.w3.org/1999/xhtml">
    <input type="hidden" name="3DSMethodData" value="eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjEyYmQ5MjhhLTE0YzItNWM0MC04MDAwLTAwMDAwMzMwNjZkNSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL3Rlc3R2cG9zLmFzc2Vjby1zZWUuY29tLnRyL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD01MzUwMzcwMSZkaWdlc3Q9YjFJVHoweFhoZ3BSOFg3YkslMkZ2aFo5UiUyRnB0YW14V28xeDF0RnExVHFBWW8lM0QiIH0"/>
    <input type="hidden" name="threeDSMethodData" value="eyAidGhyZWVEU1NlcnZlclRyYW5zSUQiIDogIjEyYmQ5MjhhLTE0YzItNWM0MC04MDAwLTAwMDAwMzMwNjZkNSIsICJ0aHJlZURTTWV0aG9kTm90aWZpY2F0aW9uVVJMIiA6ICJodHRwczovL3Rlc3R2cG9zLmFzc2Vjby1zZWUuY29tLnRyL21kcGF5bXBpL01lcmNoYW50U2VydmVyP21uPVkmdHhpZD01MzUwMzcwMSZkaWdlc3Q9YjFJVHoweFhoZ3BSOFg3YkslMkZ2aFo5UiUyRnB0YW14V28xeDF0RnExVHFBWW8lM0QiIH0"/>
</form><script type="text/javascript" xmlns="http://www.w3.org/1999/xhtml">
			document.getElementById("tdsMmethodForm").submit();
		</script>
                    <div id="formdiv">
                        <script type="text/javascript">
				function hideAndSubmitTimed(formid)
				{
				var timer=setTimeout("hideAndSubmit('"+formid+"');",
	2500);
}

				function hideAndSubmit(formid)
				{
				var formx=document.getElementById(formid);
				if (formx!=null)
				{
				formx.style.visibility="hidden";
				formx.submit();
	}
}
			</script>
                        <div>
                            <form id="webform0" name="ddcoll" method="POST" action="https://testvpos.asseco-see.com.tr/mdpaympi/MerchantServer" accept_charset="UTF-8">
                                <input type="hidden" name="txid" value="53503701"/>
                                <input type="hidden" name="TDS2_Navigator_language" value=""/>
                                <input type="hidden" name="TDS2_Navigator_javaEnabled" value=""/>
                                <input type="hidden" name="TDS2_Navigator_jsEnabled" value=""/>
                                <input type="hidden" name="TDS2_Screen_colorDepth" value=""/>
                                <input type="hidden" name="TDS2_Screen_height" value=""/>
                                <input type="hidden" name="TDS2_Screen_width" value=""/>
                                <input type="hidden" name="TDS2_Screen_PixelDepth" value=""/>
                                <input type="hidden" name="TDS2_TimezoneOffset" value=""/>
                                <input type="text" name="digest" value="lUfPf/rtrspn/COQmwIKjnH66iw6CiKBV4Df+UqglQc=" readonly="true" style="display:none;"/>
                                <input type="hidden" name="transientData" value="q5idHrzmwpgRmXvf9SGzR+xUlurS7OxkX8VG9oMafQgcsUOMNWNMjkeR7iKwczfOTLw4T0qJqJuT0g5MbivgJq9xqYdukI4nu8W1B4vi3oxXedM1FoZlRs/AVPrg/6jFbmhuZst29T3s0D1WMSJaLs39WUxjUffzUhASVRvBKXcBM+7S8zsDer+Qf9vSscK3y1kYANzRhATLzWC+rt5FGlQiQXjyhgFm5ayJty6LqAT+sc8e6OVUBRAcl2o13P02SzxabbcjbDzsRGfbrGoz+IFdLXcq2a6qJn15oechOnfYV1r/933Tl06PqT26eyfKD2n2pCXJyL/ytPJKFetznR7IgvI/x1Fe3Zge/OIodlDDmz3IO+ts9x/g55n+FLdovs+jT0SEdnRVN4BeEjOdICfIByykA0ETtiirnbEbxEJ9SQ4edd10pMzMEaCg2x+JCPfnrnB+d0iU5nc3lH5IcFLJGDpxPb6iXrwMQXmCOHRlFZ3wMXfRX0kLj19lPzG33Bc6M8pTSUXQChyMxlpc5nHiEhJZm/jP0ljOGKUccOCBUL01gGCjSUKrsYsQ0u3Vsjtqzq9+o0H1ulqEfk0BDQ=="/>
                                <noscript>
                                    <input type="submit" name="submitBtn" value="Please click here to continue"/>
                                </noscript>
                            </form>
                        </div>
                    </div>
                    <script type="text/javascript">
			hideAndSubmitTimed('webform0');
		</script>
                    <noscript>
                        <div align="center">
                            <b>Javascript is turned off or not supported!</b>
                            <br/>
                        </div>
                    </noscript>
                    <script type="text/javascript">
			function populateData()
			{
				var form = document.getElementById("webform0");
				if (form != null)
				{
					if (form[
			"TDS2_Navigator_language"
		]!=null)
					{
						form[
				"TDS2_Navigator_language"
			].value=(navigator.language || '');
		}
					if (form[
			"TDS2_Navigator_jsEnabled"
		]!=null)
					{
			// if this scipt runs js is enabled
						form[
				"TDS2_Navigator_jsEnabled"
			].value="true";
		}
					if (form[
			"TDS2_Navigator_javaEnabled"
		]!=null)
					{
						form[
				"TDS2_Navigator_javaEnabled"
			].value=navigator.javaEnabled();
		}
					if (form[
			"TDS2_Screen_colorDepth"
		]!=null)
					{
						form[
				"TDS2_Screen_colorDepth"
			].value=screen.colorDepth;
		}
					if (form[
			"TDS2_Screen_height"
		]!=null)
					{
						form[
				"TDS2_Screen_height"
			].value=screen.height;
		}
					if (form[
			"TDS2_Screen_width"
		]!=null)
					{
						form[
				"TDS2_Screen_width"
			].value=screen.width;
		}
					if (form[
			"TDS2_Screen_pixelDepth"
		]!=null)
					{
						form[
				"TDS2_Screen_pixelDepth"
			].value=screen.pixelDepth;
		}

					var timezoneOffsetField = form[
			"TDS2_TimezoneOffset"
		];
					if (timezoneOffsetField!=null)
					{
						timezoneOffsetField.value=new Date().getTimezoneOffset();
		}
	}
}
			populateData();
		</script>
                </div>
                <div id="content-footer"/>
            </div>
        </div>
    </body>
</html>
Modified at 2026-03-25 09:11:04
Previous
3D Secure Recurring Payment
Next
3D Secure PreAuthorization Payment APP
Built with