{
  "info": {
    "_postman_id": "22883262-afa3-4178-a9b9-d640081bf7c6",
    "name": "Demo Cloud",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "49486338",
    "_collection_link": "https://go.postman.co/collection/49486338-22883262-afa3-4178-a9b9-d640081bf7c6?source=collection_link"
  },
  "item": [
    {
      "name": "Authentication",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "pm.collectionVariables.set(\"AccessToken\",jsonData.AccessToken);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"AppToken\": \"97b7a056881768d5a5eccac57402166b3024b798\",\r\n    \"ApiKey\": \"fb347f4fcd5ce09bfa64acff1368592ffafb9d59323459668617d1957c5a5ce9\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/ApiAuthentication/Authenticate",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "ApiAuthentication",
            "Authenticate"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PairingRequest",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "pm.collectionVariables.set(\"PairingId\",jsonData.Data.Id);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"SourceFingerPrint\": \"DOMINOS\",\r\n  \"TargetSerialNo\":  \"{{N86}}\",\r\n  \"ApplicationName\": \"CloudApp\",\r\n  \"SourceReference\": \"12345\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/PairingRequest",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PairingRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "CheckPairing",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"PairingId\": {{PairingId}},\r\n    \"TargetSerialNo\": \"{{N86}}\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/CheckPairing",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "CheckPairing"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PaymentLinkRequest",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "let orderNo = parseInt(pm.collectionVariables.get(\"orderNo\")) || 0;\r",
              "orderNo += 1;\r",
              "pm.collectionVariables.set(\"orderNo\", orderNo);\r",
              "console.log(\"New orderNo:\", orderNo);\r",
              "\r",
              ""
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "pm.collectionVariables.set(\"PaymenLinkId\",jsonData.Data.Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": \"SPRD/sl8541e_1h10_oversea/sl8541e_1h10:9/PPR1.180610.011/245:user/release-keys\",\r\n    \"TargetSerialNo\": \"PAV860075682\",\r\n    \"PushNow\": true,\r\n    \"PaymentLinkReference\": \"12449\",\r\n    \"PaymentAmount\": 330.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"DisplayLayout\": \"1000018178@winet\",\r\n    \"RequestedMethod\": \"P\",\r\n    \"ApplicationName\": \"CloudApp\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            \"RefererApp\": \"Harici Uygulama\",\r\n            \"RefererAppVersion\": \"1.0.0\",\r\n            \"SendEMailNotification\": false,\r\n            \"SendPhoneNotification\": false,\r\n            \"SaleReason\": \"Test\",\r\n            \"SkipAmountCash\": false,\r\n            //\"TryAgainOnPaymentFailure\": false,\r\n            \"TotalAmount\": 330.0,\r\n            \"IntegrationSaleType\": 1, // avans:2 cari:3 kuyum:4\r\n            //\"InstallmentCount\": 6, // kaç taksit isteniyorsa set edili\"\r\n            \"OrderNo\": \"1113\",\r\n            //\"JewelleryItem\": \"Bilezik\", // kuyum\r\n            //\"TaxGroupCode\": \"805\", //kuyum\r\n            //\"GramPrice\": 40, //kuyum\r\n            //\"GramWeight\": 10, //kuyum\r\n            //\"LaborCostPerGram\": 1, //kuyum\r\n            //\"SingleLaborCost\": 100,//kuyum\r\n            \"TotalPrice\": 330.0,\r\n            \"GrossPrice\": 330.0, //Toplam tutar 360 lira\r\n            \"CurrencyCode\": \"TRY\",\r\n            \"ExchangeRate\": 1.0,\r\n            \"MainDocumentType\": 1,\r\n            \"NotificationEMail\": \"me@info.com\",\r\n            \"ReturnUrl\": \"https://28b9d6a3-ab0c-4cf7-b466-02bcebff195e.mock.pstmn.io\",\r\n            \"NotificationPhone\": \"25568417656\",\r\n            \"ShowCreditCardMenu\": false,\r\n            \"AddedSaleItems\": [\r\n                {\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"SADE SODA\",\r\n                    \"TaxGroupCode\": \"KDV20\",\r\n                    \"UnitCode\": \"C62\",\r\n                    \"GrossPriceAmount\": 110.0, //KDV dahil 120 lira\r\n                    \"TotalPriceAmount\": 110.0,\r\n                    \"UnitPriceAmount\": 110.0,\r\n                    \"RelatedSaleItemId\": 574061\r\n                },\r\n                {\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"KAHVE\",\r\n                    \"TaxGroupCode\": \"KDV20\",\r\n                    \"UnitCode\": \"C62\",\r\n                    \"GrossPriceAmount\": 220.0, //KDV dahil 240 lira\r\n                    \"TotalPriceAmount\": 220.0,\r\n                    \"UnitPriceAmount\": 220.0,\r\n                    \"RelatedSaleItemId\": 574061\r\n                }\r\n            ], /*\r\n            \"InvoiceData\": [ // cari için gerekli\r\n                {\r\n                    \"InvoiceNo\": \"XXX123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                },\r\n                {\r\n                    \"InvoiceNo\": \"YYY123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                }\r\n            ],*/\r\n            \"CustomerParty\": {\r\n                \"CustomerType\": 2,\r\n                \"FirstName\": \"Nihai\",\r\n                \"FamilyName\": \"Tüketici\",\r\n                \"CompanyName\": \"Nihai Tüketici\",\r\n                \"TaxOfficeCode\": \"001115\",\r\n                \"TaxNumber\": \"9220036550\", //9220036550 efatura vknsi/ 0621557370 e arşiv vknsi\r\n                \"Phone\": \"5555555555\",\r\n                \"EMail\": \"TEST@gmail.com\",\r\n                \"Country\": \"Türkiye\",\r\n                \"City\": \"İstanbul\",\r\n                \"District\": \"Başakşehir\",\r\n                \"Neighborhood\": \"Kayabaşı Mah\",\r\n                \"Address\": \"Kayabaşı mah,safahat sokak\"\r\n            },\r\n            \"ReceiptInformation\": {\r\n                \"ReceiptImageEnabled\": false,\r\n                \"ReceiptTextEnabled\": true,\r\n                \"ReceiptWidth\": \"58mm\",\r\n                \"PrintCustomerReceipt\": true,\r\n                \"PrintCustomerReceiptCopy\": false,\r\n                \"PrintMerchantReceipt\": true\r\n            },\r\n            \"PaymentInformations\": [\r\n                {\r\n                    \"Mediator\": 2,\r\n                    \"Amount\": 330.0,\r\n                    \"CurrencyCode\": \"TRY\",\r\n                    \"ExchangeRate\": 1.0\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{testpavopayws}}/api/PaymentLinkIntegration/PaymentLinkRequest",
          "host": [
            "{{testpavopayws}}"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PaymentLinkRequest kuyum",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [
              "let orderNo = parseInt(pm.collectionVariables.get(\"orderNo\")) || 0;\r",
              "orderNo += 1;\r",
              "pm.collectionVariables.set(\"orderNo\", orderNo);\r",
              "console.log(\"New orderNo:\", orderNo);\r",
              "\r",
              ""
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "pm.collectionVariables.set(\"PaymenLinkId\",jsonData.Data.Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": \"SPRD/sl8541e_1h10_oversea/sl8541e_1h10:9/PPR1.180610.011/22411:user/release-keys\",\r\n    \"TargetSerialNo\": \"PAV860075682\",\r\n    //\"PushNow\": true,\r\n    \"PaymentLinkReference\": \"12449\",\r\n    \"PaymentAmount\": 330.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"DisplayLayout\": \"1000018178@winet\",\r\n    \"RequestedMethod\": \"P\",\r\n    \"ApplicationName\": \"CloudApp\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            \"RefererApp\": \"Harici Uygulama\",\r\n            \"RefererAppVersion\": \"1.0.0\",\r\n            \"SendEMailNotification\": false,\r\n            \"SendPhoneNotification\": false,\r\n            \"SaleReason\": \"Test\",\r\n            \"SkipAmountCash\": false,\r\n            //\"TryAgainOnPaymentFailure\": false,\r\n            \"TotalAmount\": 330.0,\r\n            //\"IntegrationSaleType\": 2, // avans:2 cari:3 kuyum:4\r\n            //\"InstallmentCount\": 6, // kaç taksit isteniyorsa set edili\"r\r\n            \"OrderNo\": \"1113\",\r\n            //\"JewelleryItem\": \"Bilezik\", // kuyum\r\n            //\"TaxGroupCode\": \"805\", //kuyum\r\n            //\"GramPrice\": 40, //kuyum\r\n            //\"GramWeight\": 10, //kuyum\r\n            //\"LaborCostPerGram\": 1, //kuyum\r\n            //\"SingleLaborCost\": 100,//kuyum\r\n            \"TotalPrice\": 330.0,\r\n            \"GrossPrice\": 330.0, //Toplam tutar 360 lira\r\n            \"CurrencyCode\": \"TRY\",\r\n            \"ExchangeRate\": 1.0,\r\n            \"MainDocumentType\": 1,\r\n            \"NotificationEMail\": \"me@info.com\",\r\n            \"ReturnUrl\": \"https://28b9d6a3-ab0c-4cf7-b466-02bcebff195e.mock.pstmn.io\",\r\n            \"NotificationPhone\": \"25568417656\",\r\n            \"ShowCreditCardMenu\": false,\r\n            \"AddedSaleItems\": [\r\n                {\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"SADE SODA\",\r\n                    \"TaxGroupCode\": \"KDV20\",\r\n                    \"UnitCode\": \"C62\",\r\n                    \"GrossPriceAmount\": 110.0, //KDV dahil 120 lira\r\n                    \"TotalPriceAmount\": 110.0,\r\n                    \"UnitPriceAmount\": 110.0,\r\n                    \"RelatedSaleItemId\": 574061\r\n                },\r\n                {\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"KAHVE\",\r\n                    \"TaxGroupCode\": \"KDV20\",\r\n                    \"UnitCode\": \"C62\",\r\n                    \"GrossPriceAmount\": 220.0, //KDV dahil 240 lira\r\n                    \"TotalPriceAmount\": 220.0,\r\n                    \"UnitPriceAmount\": 220.0,\r\n                    \"RelatedSaleItemId\": 574061\r\n                }\r\n            ], /*\r\n            \"InvoiceData\": [ // cari için gerekli\r\n                {\r\n                    \"InvoiceNo\": \"XXX123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                },\r\n                {\r\n                    \"InvoiceNo\": \"YYY123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                }\r\n            ],*/\r\n            \"CustomerParty\": {\r\n                \"CustomerType\": 1,\r\n                \"FirstName\": \"MUSTAFA\",\r\n                \"MiddleName\": \"\",\r\n                \"FamilyName\": \"CETINKAYA\",\r\n                \"CompanyName\": \"\",\r\n                \"TaxOfficeCode\": \"\",\r\n                \"TaxNumber\": \"31336519898\",\r\n                \"Phone\": \"\",\r\n                \"EMail\": null,\r\n                \"Country\": \"Türkiye\",\r\n                \"City\": \"İSTANBUL\",\r\n                \"District\": \"ÇATALCA\",\r\n                \"Neighborhood\": \"\",\r\n                \"Address\": \"\"\r\n            },\r\n            \"ReceiptInformation\": {\r\n                \"ReceiptImageEnabled\": false,\r\n                \"ReceiptTextEnabled\": true,\r\n                \"ReceiptWidth\": \"58mm\",\r\n                \"PrintCustomerReceipt\": true,\r\n                \"PrintCustomerReceiptCopy\": false,\r\n                \"PrintMerchantReceipt\": true\r\n            },\r\n            \"PaymentInformations\": [\r\n                {\r\n                    \"Mediator\": 2,\r\n                    \"Amount\": 330.0,\r\n                    \"CurrencyCode\": \"TRY\",\r\n                    \"ExchangeRate\": 1.0\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{testpavopayws}}/api/PaymentLinkIntegration/PaymentLinkRequest",
          "host": [
            "{{testpavopayws}}"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PaymentLinkRequest Cari",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "pm.collectionVariables.set(\"PaymenLinkId\",jsonData.Data.Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": \"SPRD/sl8541e_1h10_oversea/sl8541e_1h10:9/PPR1.180610.011/22411:user/release-keys\",\r\n    \"TargetSerialNo\": \"PAV860075682\",\r\n    \"PushNow\": true,\r\n    \"PaymentLinkReference\": \"123123\",\r\n    \"PaymentAmount\": 130.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"DisplayLayout\": \"1000018178@winet\",\r\n    \"RequestedMethod\": \"P\",\r\n    \"ApplicationName\": \"CloudApp\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            \"RefererApp\": \"Harici Uygulama\",\r\n            \"RefererAppVersion\": \"1.0.0\",\r\n            \"SendEMailNotification\": false,\r\n            \"SendPhoneNotification\": false,\r\n            \"SendResponseBeforePrint\": false,\r\n            \"SaleReason\": \"Test\",\r\n            \"IntegrationSaleType\": 3,\r\n            \"TotalPrice\": 130,\r\n            \"GrossPrice\": 130,\r\n            \"TotalAmount\": 130,\r\n            \"MainDocumentType\": 1,\r\n            \"NotificationEMail\": \"me@info.com\",\r\n            \"ReturnUrl\": \"https://9747ccb6-a276-4f20-b5ca-0ba34c9515fa.mock.pstmn.io\",\r\n            \"NotificationPhone\": \"25568412656\",\r\n            \"ShowCreditCardMenu\": false,\r\n            \"InvoiceData\": [\r\n                {\r\n                    \"InvoiceNo\": \"SATS0000009138\",\r\n                    \"InvoiceDate\": \"2024-12-11\"\r\n                }\r\n            ],\r\n            \"CustomerParty\": {\r\n                \"CustomerType\": 1,\r\n                \"FirstName\": \"ÜZEYİR\",\r\n                \"MiddleName\": \"\",\r\n                \"FamilyName\": \"TUYLU\",\r\n                \"CompanyName\": \"\",\r\n                \"TaxOfficeCode\": \"001103\",\r\n                \"TaxNumber\": \"31336519898\",\r\n                \"Phone\": \"\",\r\n                \"EMail\": \"\",\r\n                \"Country\": \"Türkiye\",\r\n                \"City\": \"İSTANBUL\",\r\n                \"District\": \"ÇATALCA\",\r\n                \"Neighborhood\": \"\",\r\n                \"Address\": \"\"\r\n            },\r\n            \"ReceiptInformation\": {\r\n                \"ReceiptImageEnabled\": false,\r\n                \"ReceiptTextEnabled\": true,\r\n                \"ReceiptWidth\": \"58mm\",\r\n                \"PrintCustomerReceipt\": true,\r\n                \"PrintCustomerReceiptCopy\": false,\r\n                \"PrintMerchantReceipt\": true\r\n            },\r\n            \"PaymentInformations\": [\r\n                {\r\n                    \"Mediator\": 1,\r\n                    \"Amount\": 130\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{testpavopayws}}/api/PaymentLinkIntegration/PaymentLinkRequest",
          "host": [
            "{{testpavopayws}}"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PaymentLinkReques iptal",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": null,\r\n    \"TargetSerialNo\": null,\r\n    \"PaymentLinkReference\": \"52555\",\r\n    \"RequestedMethod\": \"C\",\r\n    \"ApplicationName\": \"PAVO Satış Uygulaması\",\r\n    \"PaymentAmount\": 330.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            //\"InvoiceNo\": \"8ZZ2025000000022\",\r\n             \"SaleNumber\":\"skIX49CyTL\",\r\n            //\"Id\": 52546,\r\n            \"ReceiptInformation\": {\r\n                \"PrintCustomerReceipt\": true,\r\n                \"PrintMerchantReceipt\": false,\r\n                \"ReceiptWidth\": \"80mm\"\r\n            }\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/PaymentLinkRequest",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "UpdatePaymentLink",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n\"PaymentLinkId\":\"{{PaymenLinkId}}\",\r\n \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": null,\r\n    \"TargetSerialNo\": null,\r\n    \"PaymentLinkReference\": \"12448\",\r\n    \"PaymentAmount\": 40.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"DisplayLayout\": \"1000018178@winet\",\r\n    \"RequestedMethod\": \"P\",\r\n    \"ApplicationName\": \"Wiradius Satış Uygulaması\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            \"RefererApp\": \"Harici Uygulama\",\r\n            \"RefererAppVersion\": \"1.0.0\",\r\n            \"SendEMailNotification\": false,\r\n            \"SendPhoneNotification\": false,\r\n            \"SaleReason\": \"Test\",\r\n            \"TotalAmount\": 20.0,\r\n           // \"OrderNo\":\"123456781\",\r\n           // \"IntegrationSaleType\": 2,\r\n            \"TotalPrice\": 20.0,\r\n            \"GrossPrice\": 20.0,\r\n            \"CurrencyCode\": \"TRY\",\r\n            \"ExchangeRate\": 1.0,\r\n            \"MainDocumentType\": 1,\r\n            \"NotificationEMail\": \"me@info.com\",\r\n            \"ReturnUrl\": \"https://9747ccb6-a276-4f20-b5ca-0ba34c9515fa.mock.pstmn.io\",\r\n            \"NotificationPhone\": \"25568417656\",\r\n            \"ShowCreditCardMenu\": false,\r\n            \"AddedSaleItems\": [\r\n                {\r\n                    \"GrossPriceAmount\": 20.0,\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"SADE SODA\",\r\n                    \"TaxGroupCode\": \"KDV10\",\r\n                    \"TotalPriceAmount\": 20.0,\r\n                    \"UnitCode\": \"KGM\",\r\n                    \"UnitPriceAmount\": 20.0\r\n                    // \"RelatedSaleItemId\": 160999\r\n                }\r\n            ],\r\n           /*     \"InvoiceData\": [\r\n                {\r\n                    \"InvoiceNo\": \"XXX123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                },\r\n                {\r\n                    \"InvoiceNo\": \"YYY123\",\r\n                    \"InvoiceDate\": \"2023-07-26\"\r\n                }\r\n            ] */\r\n               \"CustomerParty\": {\r\n                \"CustomerType\": 1,\r\n                \"FirstName\": \"MUSTAFA\",\r\n                \"MiddleName\": \"\",\r\n                \"FamilyName\": \"CETINKAYA\",\r\n                \"CompanyName\": \"\",\r\n                \"TaxOfficeCode\": \"\",\r\n                \"TaxNumber\": \"31336519898\",\r\n                \"Phone\": \"\",\r\n                \"EMail\": \"\",\r\n                \"Country\": \"Türkiye\",\r\n                \"City\": \"İSTANBUL\",\r\n                \"District\": \"ÇATALCA\",\r\n                \"Neighborhood\": \"\",\r\n                \"Address\": \"\"\r\n            }, \r\n            \"ReceiptInformation\": {\r\n                \"ReceiptImageEnabled\": false,\r\n                \"ReceiptWidth\": \"58mm\",\r\n                \"PrintCustomerReceipt\": true,\r\n                \"PrintCustomerReceiptCopy\": false,\r\n                \"PrintMerchantReceipt\": true\r\n            }\r\n          /*    \"PaymentInformations\": [\r\n                {\r\n                    \"Mediator\": 1,\r\n                    \"Amount\": 10.0,\r\n                    \"CurrencyCode\": \"TRY\",\r\n                    \"ExchangeRate\": 1.0\r\n                }\r\n            ]  */\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{testpavopayws}}/api/PaymentLinkIntegration/UpdatePaymentLinkRequest",
          "host": [
            "{{testpavopayws}}"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "UpdatePaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "CheckLinkRequest",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"PaymentLinkId\":{{PaymenLinkId}},\r\n  \"PaymentLinkReference\":\"12449\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/CheckLinkRequest",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "CheckLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "CancelLinkRequest",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"PaymentLinkId\":{{PaymenLinkId}},\r\n  \"PaymentLinkReference\":\"12448\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/CancelLinkRequest",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "CancelLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "PaymentLinkRequest Kısmi İade",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"LinkType\": \"P\",\r\n    \"SourceFingerPrint\": \"DOMINOS\",\r\n    \"SourceTerminalReference\": \"Servis_Internet_Odemesi\",\r\n    \"TargetFingerPrint\": null,\r\n    \"TargetSerialNo\": null,\r\n    \"PaymentLinkReference\": \"12448\",\r\n    \"PaymentAmount\": 10.0,\r\n    \"CurrencyCode\": \"TRY\",\r\n    \"DisplayLayout\": \"SiparişNumarası\", //{{orderNumber}}\",\r\n    \"RequestedMethod\": \"P\",\r\n    \"ApplicationName\": \"CloudApp\",\r\n    \"Request\": {\r\n        \"Sale\": {\r\n            \"RelatedSaleId\": {{saleId}},\r\n            \"AdisyonName\": \"A12345670000\",\r\n            \"AdisyonTableName\": \"BAHCE-01\",\r\n            \"AdisyonStaffName\": \"Garson Bülent\",\r\n            \"AdisyonOpenTime\": \"2023-03-29T13:10:30.310773\",\r\n            //\"OrderNo\": \"{{orderNumber}}\",\r\n            \"IntegrationSaleType\": 6,\r\n            \"RefererApp\": \"Harici Uygulama\",\r\n            \"RefererAppVersion\": \"1.0.0\",\r\n            \"SendEMailNotification\": true,\r\n            \"SendPhoneNotification\": false,\r\n            \"TotalPrice\": 10.0,\r\n            \"GrossPrice\": 10.0,\r\n            \"MainDocumentType\": 1,\r\n            \"NotificationEMail\": \"me@info.com\",\r\n            \"ReturnUrl\": \"https://9747ccb6-a276-4f20-b5ca-0ba34c9515fa.mock.pstmn.io\",\r\n            \"NotificationPhone\": \"\",\r\n            \"ShowCreditCardMenu\": false,\r\n            \"AddedSaleItems\": [\r\n             \r\n                {\r\n                    \"RelatedSaleItemId\": {{RelatedSaleItemId}},\r\n                    \"GrossPriceAmount\": 10.0,\r\n                    \"IsGeneric\": false,\r\n                    \"ItemQuantity\": 1.0,\r\n                    \"Name\": \"Dondurma\",\r\n                    \"TaxGroupCode\": \"KDV8\",\r\n                    \"TotalPriceAmount\": 10.0,\r\n                    \"UnitCode\": \"KGM\",\r\n                    \"UnitPriceAmount\": 10.0,\r\n                    \"ReturnAmount\":10\r\n                }\r\n            ],\r\n            \"PaymentInformations\": [\r\n                {\r\n                    \"Amount\": 10.0,\r\n                    \"Mediator\": 1,\r\n                    \"IsVoid\": false,\r\n                    \"RelatedPaymentId\":{{paymentId}}\r\n\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/PaymentLinkIntegration/PaymentLinkRequest",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "PaymentLinkIntegration",
            "PaymentLinkRequest"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GetCompletedSale",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "//pm.collectionVariables.set(\"saleId\",jsonData.Data.Id);\r",
              "//pm.collectionVariables.set(\"paymentId\",jsonData.Data.AddedPayments[0].Id);\r",
              "//pm.collectionVariables.set(\"RelatedSaleItemId\",jsonData.Data.AddedSaleItems[0].Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/ExternalSalesIntegration/GetCompletedSale?OrderNo={{orderNo}}",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "ExternalSalesIntegration",
            "GetCompletedSale"
          ],
          "query": [
            {
              "key": "SaleNumber",
              "value": "NkIX3Hmj0l",
              "disabled": true
            },
            {
              "key": "OrderNo",
              "value": "{{orderNo}}"
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "UploadProduct",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "//pm.collectionVariables.set(\"saleId\",jsonData.Data.Id);\r",
              "//pm.collectionVariables.set(\"paymentId\",jsonData.Data.AddedPayments[0].Id);\r",
              "//pm.collectionVariables.set(\"RelatedSaleItemId\",jsonData.Data.AddedSaleItems[0].Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "[\r\n  {\r\n    \"ProductId\": 0,\r\n    \"Reference\": \"TEST001\",\r\n    \"Name\": \"TolgaTestÜrün1\",\r\n    \"TaxGroupName\": \"KDV %20\",\r\n    \"Category\":\"TolgaTestCategory\",\r\n    \"UnitName\": \"Adet\",\r\n    \"Barcode\": \"11111111111\",\r\n    \"StockReference\": \"TEST001\",\r\n    \"ShortCodeName\": \"TEST001\",\r\n    \"IsGeneric\": false,\r\n    \"IsDeleted\": false,\r\n    \"HideDualDisplay\": false,\r\n    \"Properties\": [],\r\n    \"Price\": {\r\n      \"Amount\": 1,\r\n      \"StartDate\": \"2026-05-05T00:00:00.000Z\",\r\n      \"EndDate\": \"2099-12-31T23:59:59.000Z\",\r\n      \"PaymentTypePrices\": [],\r\n      \"BranchName\": \"TolgaTest\"\r\n    }\r\n  }\r\n]\r\n",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/ProductIntegration/UploadProduct",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "ProductIntegration",
            "UploadProduct"
          ],
          "query": [
            {
              "key": "SaleNumber",
              "value": "NkIX3Hmj0l",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "UploadCategory",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "//pm.collectionVariables.set(\"saleId\",jsonData.Data.Id);\r",
              "//pm.collectionVariables.set(\"paymentId\",jsonData.Data.AddedPayments[0].Id);\r",
              "//pm.collectionVariables.set(\"RelatedSaleItemId\",jsonData.Data.AddedSaleItems[0].Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "[\r\n  {\r\n    \"Reference\": \"TolgaTestCategory\",\r\n    \"Name\": \"Tolga Test\",\r\n    \"ParentReference\": \"\",\r\n    \"TaxGroupName\": \"KDV %20\",\r\n    \"MainDocumentType\": \"EInvoice\",\r\n    \"Description\": \"Test\",\r\n    \"IsDeleted\": false,\r\n    \"Properties\": []\r\n  }\r\n]",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/ProductIntegration/UploadCategory",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "ProductIntegration",
            "UploadCategory"
          ],
          "query": [
            {
              "key": "SaleNumber",
              "value": "NkIX3Hmj0l",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "UploadCustomer",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "const jsonData = pm.response.json();\r",
              "//pm.collectionVariables.set(\"saleId\",jsonData.Data.Id);\r",
              "//pm.collectionVariables.set(\"paymentId\",jsonData.Data.AddedPayments[0].Id);\r",
              "//pm.collectionVariables.set(\"RelatedSaleItemId\",jsonData.Data.AddedSaleItems[0].Id);"
            ],
            "type": "text/javascript",
            "packages": {},
            "requests": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "[\r\n  {\r\n    \"AccountType\": 0,\r\n    \"CustomerType\": 1,\r\n    \"FirstName\": \"Tolga\",\r\n    \"FamilyName\": \"Kayabaş\",\r\n    \"CustomerName\": null,\r\n    \"InvoiceTitle\": \"Tolga Arda Kayabaş\",\r\n    \"TaxOffice\": \"Şişli\",\r\n    \"TaxNumber\": \"11111111111\",\r\n    \"Segment\": \"\",\r\n    \"IsActive\": true,\r\n    \"Country\": \"Türkiye\",\r\n    \"City\": \"İstanbul\",\r\n    \"District\": \"Başakşehir\",\r\n    \"Neighborhood\": \"Kayabaşı Mah\",\r\n    \"Address\": \"Kayabaşı mah,safahat sokak\",\r\n    \"InvoiceEMail\": \"tolga@gmail.com\",\r\n    \"InvoiceMobilePhone\": \"5555555555\"\r\n  }\r\n]",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/CustomerIntegration/UploadCustomer",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "CustomerIntegration",
            "UploadCustomer"
          ],
          "query": [
            {
              "key": "SaleNumber",
              "value": "NkIX3Hmj0l",
              "disabled": true
            }
          ]
        }
      },
      "response": []
    },
    {
      "name": "ListSales",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "https://overpaywsdemo.overtech.com.tr/api/ExternalSalesIntegration/ListCompletedSales?startDate=2026-04-28T00:00:00.597&endDate=2026-04-28T23:59:59.597",
          "protocol": "https",
          "host": [
            "overpaywsdemo",
            "overtech",
            "com",
            "tr"
          ],
          "path": [
            "api",
            "ExternalSalesIntegration",
            "ListCompletedSales"
          ],
          "query": [
            {
              "key": "startDate",
              "value": "2026-04-28T00:00:00.597"
            },
            {
              "key": "endDate",
              "value": "2026-04-28T23:59:59.597"
            }
          ]
        }
      },
      "response": []
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{AccessToken}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "requests": {},
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "AccessToken",
      "value": ""
    },
    {
      "key": "PairingId",
      "value": ""
    },
    {
      "key": "PaymenLinkId",
      "value": ""
    },
    {
      "key": "orderNumber",
      "value": ""
    },
    {
      "key": "saleId",
      "value": ""
    },
    {
      "key": "paymentId",
      "value": ""
    },
    {
      "key": "RelatedSaleItemId",
      "value": ""
    },
    {
      "key": "testpavopayws",
      "value": ""
    },
    {
      "key": "N86",
      "value": ""
    },
    {
      "key": "orderNo",
      "value": ""
    }
  ]
}