# Sipay API Documentation ## Docs - Overview [Getting Started](https://apidocs.sipay.com.tr/getting-started-1699520m0.md): - Overview [Test Cards ](https://apidocs.sipay.com.tr/test-cards-2130967m0.md): - Overview [IP Restriction](https://apidocs.sipay.com.tr/ip-restriction-2365343m0.md): - [Installments & Commission](https://apidocs.sipay.com.tr/installments-commission-6248393f0.md): - HASH [Hash Creation](https://apidocs.sipay.com.tr/hash-creation-2106879m0.md): - HASH [Hash Validation](https://apidocs.sipay.com.tr/hash-validation-2106880m0.md): - [Non-3DS Payment](https://apidocs.sipay.com.tr/non-3ds-payment-7245899f0.md): - Non-3DS Payment [Non-3DS Payment Flow](https://apidocs.sipay.com.tr/non-3ds-payment-flow-2009892m0.md): - [3D Secure Payment](https://apidocs.sipay.com.tr/3d-secure-payment-7245902f0.md): - 3D Secure Payment [3D Secure Payment Flow](https://apidocs.sipay.com.tr/3d-secure-payment-flow-2042941m0.md): - Non-3DS and 3DS Payment with Sipay [Purchase Link Example](https://apidocs.sipay.com.tr/purchase-link-example-2202667m0.md): - [Check Status](https://apidocs.sipay.com.tr/check-status-5348690f0.md): - [Payment with Saved Card](https://apidocs.sipay.com.tr/payment-with-saved-card-6247061f0.md): - [Recurring](https://apidocs.sipay.com.tr/recurring-6263014f0.md): - Webhook [Webhook](https://apidocs.sipay.com.tr/webhook-2009891m0.md): - Status Codes [Status Codes](https://apidocs.sipay.com.tr/status-codes-2006876m0.md): - Plugin [Magento v1](https://apidocs.sipay.com.tr/magento-v1-2382046m0.md): - Plugin [Magento v2](https://apidocs.sipay.com.tr/magento-v2-2381963m0.md): - Plugin [Opencart](https://apidocs.sipay.com.tr/opencart-2381974m0.md): - Plugin [Presta](https://apidocs.sipay.com.tr/presta-2382043m0.md): - Plugin [Woocommerce](https://apidocs.sipay.com.tr/woocommerce-2382133m0.md): - Plugin [Shopify](https://apidocs.sipay.com.tr/shopify-2382337m0.md): ## API Docs - Authentication [Token Generation](https://apidocs.sipay.com.tr/token-generation-23283730e0.md): This endpoint generates a token used to authenticate the merchant in subsequent API requests. - Installments & Commission [Installment Details](https://apidocs.sipay.com.tr/installment-details-23284389e0.md): This endpoint is used to retrieve the installment options based on the card number provided on the payment page. - Installments & Commission [Commission ](https://apidocs.sipay.com.tr/commission-26908946e0.md): This endpoint returns the commission information applicable to the merchant or the end user based on the card program. - Installments & Commission [Merchant Installments](https://apidocs.sipay.com.tr/merchant-installments-26909434e0.md): This endpoint enables member merchants to retrieve and display their active installment options, allowing them to present suitable installment choices to users during the payment process. - Non-3DS Payment [Non-3DS Card Payment](https://apidocs.sipay.com.tr/non-3ds-card-payment-23308516e0.md): This endpoint used for Non-3DS card payment. - Non-3DS Payment [Non-3DS Recurring Payment](https://apidocs.sipay.com.tr/non-3ds-recurring-payment-31329114e0.md): This endpoint and its parameters are used to process recurring payments. - Non-3DS Payment [Non-3DS Insurance Payment](https://apidocs.sipay.com.tr/non-3ds-insurance-payment-31340612e0.md): #### `vpos_type` - Non-3DS Payment [Non-3DS Pre-Authorization Payment](https://apidocs.sipay.com.tr/non-3ds-pre-authorization-payment-31343298e0.md): Pre-authorization is a process in which a card's available limit is temporarily reserved for a payment transaction. - Non-3DS Payment [Confirm Payment ](https://apidocs.sipay.com.tr/confirm-payment-33925946e0.md): `confirm_payment` endpoint is used to confirm the payment. - 3D Secure Payment [3D Secure Card Payment](https://apidocs.sipay.com.tr/3d-secure-card-payment-25721952e0.md): This endpoint is used to transmit order and card information from the merchant’s server to the Sipay payment integration system. - 3D Secure Payment [3D Secure Recurring Payment](https://apidocs.sipay.com.tr/3d-secure-recurring-payment-31339735e0.md): This endpoint and its parameters are used to process recurring payments. - 3D Secure Payment [3D Secure Pre-Authorization Payment ](https://apidocs.sipay.com.tr/3d-secure-pre-authorization-payment-31344786e0.md): Pre-authorization is a process in which a card's available limit is temporarily reserved for a payment transaction. The amount is not immediately captured from the card, but it is blocked from the cardholder’s available balance. The purpose is to secure the payment for a later finalization (complete-confirm). - 3D Secure Payment [Complete Payment ](https://apidocs.sipay.com.tr/complete-payment-26547484e0.md): When the transaction is processed via 3D Secure Payment, the Complete Payment endpoint must be executed if the `payment_completed_by` parameter is set to `merchant`. - 3D Secure Payment [Confirm Payment](https://apidocs.sipay.com.tr/confirm-payment-26547483e0.md): `confirm_payment` endpoint is used to confirm the payment. - 3D Secure Payment [3D Secure Agriculture Payment](https://apidocs.sipay.com.tr/3d-secure-agriculture-payment-33736680e0.md): This endpoint describes the 3D Secure Payment process for agricultural payments. - Non-3DS and 3DS Payment with Sipay [Non-3DS and 3D Secure Payment with Sipay](https://apidocs.sipay.com.tr/non-3ds-and-3d-secure-payment-with-sipay-26902318e0.md): The Sipay administrator determines whether payments made from the merchant website will be processed as Non-3DS or 3D Secure transactions. The request for this endpoint must be sent from the merchant website to the Sipay payment integration system. - Check Status [Check Status](https://apidocs.sipay.com.tr/check-status-25727396e0.md): This endpoint is used for checking the status of a transaction. It allows merchants to verify whether a payment has been successfully completed, is still pending, or has failed. By using this endpoint, the current state of a transaction can be retrieved in real time based on the provided transaction details. This helps ensure accurate payment tracking and provides a reliable way to confirm the final result of a payment process within the system. - Payment with Saved Card [Card Registration](https://apidocs.sipay.com.tr/card-registration-26908219e0.md): The Card Registration endpoint is used to securely store card information within the Sipay system. Upon successful registration, the system generates and returns a unique token `card_token ` that represents the stored card data. - Payment with Saved Card [3D Secure Pay by Card Token](https://apidocs.sipay.com.tr/3d-secure-pay-by-card-token-26908142e0.md): The stored card payment service is used to place orders using previously saved card information. After completing and submitting the payment form on the merchant’s website, the user is redirected directly to the bank’s authentication page. - Payment with Saved Card [Non-3DS Pay by Card Token](https://apidocs.sipay.com.tr/non-3ds-pay-by-card-token-26908291e0.md): The `payByCardTokenNonSecure` endpoint enables merchants to initiate payment transactions using a previously stored card token within the Sipay payment integration system. - Payment with Saved Card [Retrieving Saved Card](https://apidocs.sipay.com.tr/retrieving-saved-card-26908225e0.md): This endpoint used to retrieve saved cards associated with a customer. Returns the list of previously stored card information in a secure and masked format, allowing merchants to display available cards for repeat or faster checkout experiences. - Payment with Saved Card [Edit Saved Card](https://apidocs.sipay.com.tr/edit-saved-card-26908250e0.md): This endpoint is used to **make changes** to a customer’s card. - Payment with Saved Card [Delete Saved Card](https://apidocs.sipay.com.tr/delete-saved-card-26908277e0.md): This endpoint is used to deletion of a previously saved card belonging to a customer. - Recurring [Recurring Query Search](https://apidocs.sipay.com.tr/recurring-query-search-26965533e0.md): This endpoint is used to check recurring payments for which a payment request has been previously submitted. The response contains the details of the related recurring payment. - Recurring [Recurring Plan Process](https://apidocs.sipay.com.tr/recurring-plan-process-23283314e0.md): This endpoint is used to view whether the related recurring payment has been successfully processed. - Recurring [Recurring Plan Update](https://apidocs.sipay.com.tr/recurring-plan-update-26965560e0.md): This endpoint is used to update a recurring payment. - Refund [Refund](https://apidocs.sipay.com.tr/refund-26908125e0.md): This endpoint is used to request a refund for a transaction that has already been successfully completed and paid. Enables merchants to initiate a full or partial refund process in accordance with their business rules and payment provider policies. Once the request is submitted, the transaction is evaluated and processed through the payment system to ensure the appropriate refund action is applied. The outcome of the refund request is then returned to the merchant. - Cashout [Cashout to Bank](https://apidocs.sipay.com.tr/cashout-to-bank-27078845e0.md): This API is used to cash out funds from a Sipay account to a bank account. Funds can also be transferred to customers’ bank accounts.