{
  "info": {
    "_postman_id": "a11da78a-84de-4828-a072-02ee436fd80c",
    "name": "PF Merchant API's",
    "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
    "_exporter_id": "33061716"
  },
  "item": [
    {
      "name": "Generate Test Signature",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);\r",
              "\r",
              "pm.collectionVariables.set(\"signature\", jsonData.signature);\r",
              "pm.collectionVariables.set(\"nonce\", jsonData.nonce);\r",
              "pm.collectionVariables.set(\"publicKey\", jsonData.publicKey);\r",
              "pm.collectionVariables.set(\"conversationId\", jsonData.conversationId);\r",
              "pm.collectionVariables.set(\"merchantId\", jsonData.merchantId);\r",
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"publicKey\": \"{{publicKey}}\",\r\n  \"merchantNumber\": \"{{merchantNumber}}\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Signatures/generate-test-signature",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Signatures", "generate-test-signature"]
        }
      },
      "response": []
    },
    {
      "name": "Generate Card Token",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);\r",
              "\r",
              "pm.collectionVariables.set(\"cardToken\", jsonData.cardToken);\r",
              ""
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "CardNumber",
              "value": "4799174799173828",
              "type": "text"
            },
            {
              "key": "ExpireMonth",
              "value": "01",
              "type": "text"
            },
            {
              "key": "ExpireYear",
              "value": "30",
              "type": "text"
            },
            {
              "key": "Cvv",
              "value": "000",
              "type": "text"
            },
            {
              "key": "CardHolderName",
              "value": "Ali Veli",
              "type": "text"
            },
            {
              "key": "PublicKey",
              "value": "{{publicKey}}",
              "type": "text"
            },
            {
              "key": "Nonce",
              "value": "{{nonce}}",
              "type": "text"
            },
            {
              "key": "Signature",
              "value": "{{signature}}",
              "type": "text"
            },
            {
              "key": "ConversationId",
              "value": "{{conversationId}}",
              "type": "text"
            },
            {
              "key": "MerchantNumber",
              "value": "{{merchantNumber}}",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Tokens",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Tokens"]
        }
      },
      "response": []
    },
    {
      "name": "Provision",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"amount\": 100.98,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"Auth\",\r\n  \"installmentCount\": 0,\r\n  \"threeDSessionId\": \"\",\r\n  \"originalOrderId\": \"\",\r\n  \"LanguageCode\":\"TR\",\r\n  \"CustomerName\":\"\",\r\n  \"CustomerPhoneNumber\":\"\",\r\n  \"Description\": \" Test işlemidir \"\r\n  }",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/provision",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "provision"]
        }
      },
      "response": []
    },
    {
      "name": "PreAuth Provision",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);\r",
              "\r",
              "pm.collectionVariables.set(\"originalOrderId\", jsonData.orderId);"
            ],
            "type": "text/javascript"
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"amount\": 10,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"PreAuth\",\r\n  \"installmentCount\": 1,\r\n  \"threeDSessionId\": \"\",\r\n  \"originalOrderId\": \"\",\r\n  \"LanguageCode\":\"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/provision",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "provision"]
        }
      },
      "response": []
    },
    {
      "name": "PostAuth Provision",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"amount\": 10,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"PostAuth\",\r\n  \"installmentCount\": 1,\r\n  \"threeDSessionId\": \"\",\r\n  \"originalOrderId\": \"{{originalOrderId}}\",\r\n  \"LanguageCode\":\"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/provision",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "provision"]
        }
      },
      "response": []
    },
    {
      "name": "3d Secure Provision",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "description": "1874020373",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"amount\": 78,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"Auth\",\r\n  \"installmentCount\": 0,\r\n  \"threeDSessionId\": \"{{threedSessionId}}\",\r\n  \"OriginalOrderId\": \"\",\r\n  \"LanguageCode\":\"TR\",\r\n  \"merchantCustomerName\":\"customer name \",\r\n  \"CustomerPhoneNumber\":\"\",\r\n  \"Description\":\"7 taksit - 0-2-4 gün bloke 100 tl \"\r\n  }",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/provision",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "provision"]
        }
      },
      "response": []
    },
    {
      "name": "PreAuth",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "description": "1874020373",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"amount\": 78,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"PreAuth\",\r\n  \"installmentCount\": 0,\r\n  \"threeDSessionId\": \"{{threedSessionId}}\",\r\n  \"OriginalOrderId\": \"\",\r\n  \"LanguageCode\":\"TR\",\r\n  \"merchantCustomerName\":\"customer name \",\r\n  \"CustomerPhoneNumber\":\"\",\r\n  \"Description\":\"7 taksit - 0-2-4 gün bloke 100 tl \"\r\n  }",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/provision",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "provision"]
        }
      },
      "response": []
    },
    {
      "name": "Reverse",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"orderid\": \"02065001744030347434\",\r\n  \"LanguageCode\":\"TR\",\r\n  \"originalOrderId\":\"02065001744030347434_wasd\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/reverse",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "reverse"]
        }
      },
      "response": []
    },
    {
      "name": "Return",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n  \"amount\": 123.60,\r\n  \"orderid\": \"00646001752163041154\",\r\n  \"languageCode\":\"TR\",\r\n  \"originalOrderId\":\"00646001752163041154_iade\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/return",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "return"]
        }
      },
      "response": []
    },
    {
      "name": "Inquire",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n \"orderid\": \"02067901756306121476\",\r\n \"languageCode\": \"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/inquire",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "inquire"]
        }
      },
      "response": []
    },
    {
      "name": "Bin Information",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n  \"cardToken\": \"\",\r\n  \"binNumber\": \"409070\",\r\n  \"languageCode\": \"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/bin-information",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "bin-information"]
        }
      },
      "response": []
    },
    {
      "name": "installment",
      "protocolProfileBehavior": {
        "disableBodyPruning": true
      },
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          },
          {
            "key": "binNumber",
            "value": "435508",
            "type": "text",
            "disabled": true
          },
          {
            "key": "amount",
            "value": "123",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n \"amount\" : \"12300\",\r\n  \"binNumber\": \"409070\"\r\n}\r\n\r\n\r\n\r\n",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Installment",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Installment"]
        }
      },
      "response": []
    },
    {
      "name": "Get Threed Session",
      "event": [
        {
          "listen": "test",
          "script": {
            "exec": [
              "var jsonData = JSON.parse(responseBody);\r",
              "\r",
              "pm.collectionVariables.set(\"threedSessionId\", jsonData.threeDSessionId);"
            ],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          },
          {
            "key": "",
            "value": "",
            "type": "text",
            "disabled": true
          },
          {
            "key": "",
            "value": "",
            "type": "text",
            "disabled": true
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n  \"amount\": 78,\r\n  \"pointAmount\": 0,\r\n  \"cardToken\": \"{{cardToken}}\",\r\n  \"currency\": \"TRY\",\r\n  \"paymentType\": \"Auth\",\r\n  \"installmentCount\": 0,\r\n  \"languageCode\": \"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/threeds/getthreedsession",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "threeds", "getthreedsession"]
        }
      },
      "response": []
    },
    {
      "name": "Init 3DS",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "exec": [""],
            "type": "text/javascript",
            "packages": {}
          }
        },
        {
          "listen": "test",
          "script": {
            "exec": [""],
            "type": "text/javascript",
            "packages": {}
          }
        }
      ],
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "ThreeDSessionId",
              "value": "{{threedSessionId}}",
              "type": "text"
            },
            {
              "key": "CallbackUrl",
              "value": "https://webhook.site/#!/view/7a792b5b-4a8d-4778-afa9-711c980f14a7",
              "type": "text"
            },
            {
              "key": "LanguageCode",
              "value": "TR",
              "type": "text"
            },
            {
              "key": "ClientIpAddress",
              "value": "192.1.1.1",
              "type": "text"
            },
            {
              "key": "PublicKey",
              "value": "{{publicKey}}",
              "type": "text"
            },
            {
              "key": "Nonce",
              "value": "{{nonce}}",
              "type": "text"
            },
            {
              "key": "Signature",
              "value": "{{signature}}",
              "type": "text"
            },
            {
              "key": "ConversationId",
              "value": "{{conversationId}}",
              "type": "text"
            },
            {
              "key": "MerchantNumber",
              "value": "{{merchantNumber}}",
              "type": "text"
            },
            {
              "key": "cardHolderName",
              "value": "string",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/threeds/init3ds",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "threeds", "init3ds"]
        }
      },
      "response": []
    },
    {
      "name": "Get Threed Session Result",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n  \"threeDSessionId\": \"{{threedSessionId}}\",\r\n  \"languageCode\": \"TR\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/threeds/getthreedsessionresult",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "threeds", "getthreedsessionresult"]
        }
      },
      "response": []
    },
    {
      "name": "PointInquiry",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "publicKey",
            "value": "{{publicKey}}",
            "type": "text"
          },
          {
            "key": "nonce",
            "value": "{{nonce}}",
            "type": "text"
          },
          {
            "key": "signature",
            "value": "{{signature}}",
            "type": "text"
          },
          {
            "key": "conversationId",
            "value": "{{conversationId}}",
            "type": "text"
          },
          {
            "key": "clientIpAddress",
            "value": "192.1.1.0",
            "type": "text"
          },
          {
            "key": "merchantNumber",
            "value": "{{merchantNumber}}",
            "type": "text"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{ \r\n \"cardToken\": \"{{cardToken}}\",\r\n \"languageCode\": \"TR\",\r\n \"currency\" : \"TRY\"\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://localhost:5050/v1/Payments/pointInquiry",
          "protocol": "http",
          "host": ["localhost"],
          "port": "5050",
          "path": ["v1", "Payments", "pointInquiry"]
        }
      },
      "response": []
    },
    {
      "name": "New Request",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": ""
        }
      },
      "response": []
    },
    {
      "name": "Create - Link ",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "accept",
            "value": "text/plain"
          },
          {
            "key": "PublicKey",
            "value": "{{publicKey}}"
          },
          {
            "key": "Nonce",
            "value": "{{nonce}}"
          },
          {
            "key": "Signature",
            "value": "{{signature}}"
          },
          {
            "key": "ConversationId",
            "value": "{{conversationId}}"
          },
          {
            "key": "ClientIpAddress",
            "value": "192.168.1.1"
          },
          {
            "key": "MerchantNumber",
            "value": "{{merchantNumber}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Cookie",
            "value": "citrix_ns_id=AAM7h2OTaDtSRhwAAAAAADu2-RVrg4g12w-tOzo5kz6FrV6aG3D766UlWOkrW4hWOw==MmeTaA==sWfGZkKK09Xt_oqKOvNILk2nU0I=; citrix_ns_id_.rubikpara.com_%2F_wat=AAAAAAXg0SGvR7qBLIj6D-yBPY38ehGcpo_qKHNMECS_IC2PMHb9vHR5-zJ-Q54zpeOVC7I8IQ02-gHY5PY9xbRyUK4x&"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"linkType\": \"SingleUse\",\n  \"expiryDate\": \"2025-11-09T17:06:01Z\",\n  \"maxUsageCount\": 1,\n  \"orderId\": \"LNK-TEST80268002\",\n  \"linkAmountType\": \"FixedAmount\",\n  \"amount\": 61,\n  \"currency\": 949,\n  \"installments\": [\n    2,3,4,5,6\n  ],\n  \"commissionFromCustomer\": false,\n  \"is3dRequired\": true,\n  \"productName\": \"hizmet bedeli\",\n  \"productDescription\": \"hizmet bedeli\",\n  \"returnUrl\": \"https://webhook.site/b2c1ad48-13a2-4781-b96a-19925d662529\",\n  \"isNameRequired\": true,\n  \"isEmailRequired\": false,\n  \"isPhoneNumberRequired\": false,\n  \"isAddressRequired\": false,\n  \"isNoteRequired\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/createLink",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "createLink"]
        },
        "description": "Generated from cURL:   curl --location 'https://testpfapi.rubikpara.com/v1/Payments/createLink' \\\n--header 'accept: text/plain' \\\n--header 'PublicKey: /ZiZaIs2+9s9AozPsjTHwA==' \\\n--header 'Nonce: 1754489746020' \\\n--header 'Signature: 8NzlpQLcGwW+pmLfwyrXRhyT+FNFonVG6eas9K/tiaA=' \\\n--header 'ConversationId: 630361671' \\\n--header 'ClientIpAddress: 192.168.1.1' \\\n--header 'MerchantNumber: 1100000001' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: citrix_ns_id=AAM7h2OTaDtSRhwAAAAAADu2-RVrg4g12w-tOzo5kz6FrV6aG3D766UlWOkrW4hWOw==MmeTaA==sWfGZkKK09Xt_oqKOvNILk2nU0I=; citrix_ns_id_.rubikpara.com_%2F_wat=AAAAAAXg0SGvR7qBLIj6D-yBPY38ehGcpo_qKHNMECS_IC2PMHb9vHR5-zJ-Q54zpeOVC7I8IQ02-gHY5PY9xbRyUK4x&' \\\n--data '{\n  \"merchantId\": \"e9060409-1f17-4f3c-bb27-6a39eb3eb1de\",\n  \"linkType\": \"SingleUse\",\n  \"expiryDate\": \"2025-08-06T17:06:01Z\",\n  \"maxUsageCount\": 1,\n  \"orderId\": \"ARSAG80268\",\n  \"linkAmountType\": \"FixedAmount\",\n  \"amount\": 360000,\n  \"currency\": 949,\n  \"installments\": [\n    11\n  ],\n  \"commissionFromCustomer\": false,\n  \"is3dRequired\": true,\n  \"productName\": \"hizmet bedeli\",\n  \"productDescription\": \"hizmet bedeli\",\n  \"returnUrl\": null,\n  \"isNameRequired\": true,\n  \"isEmailRequired\": true,\n  \"isPhoneNumberRequired\": true,\n  \"isAddressRequired\": false,\n  \"isNoteRequired\": false\n}'"
      },
      "response": []
    },
    {
      "name": "Delete - Link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "accept",
            "value": "text/plain"
          },
          {
            "key": "PublicKey",
            "value": "{{publicKey}}"
          },
          {
            "key": "Nonce",
            "value": "{{nonce}}"
          },
          {
            "key": "Signature",
            "value": "{{signature}}"
          },
          {
            "key": "ConversationId",
            "value": "{{conversationId}}"
          },
          {
            "key": "ClientIpAddress",
            "value": "192.168.1.1"
          },
          {
            "key": "MerchantNumber",
            "value": "{{merchantNumber}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Cookie",
            "value": "citrix_ns_id=AAM7h2OTaDtSRhwAAAAAADu2-RVrg4g12w-tOzo5kz6FrV6aG3D766UlWOkrW4hWOw==MmeTaA==sWfGZkKK09Xt_oqKOvNILk2nU0I=; citrix_ns_id_.rubikpara.com_%2F_wat=AAAAAAXg0SGvR7qBLIj6D-yBPY38ehGcpo_qKHNMECS_IC2PMHb9vHR5-zJ-Q54zpeOVC7I8IQ02-gHY5PY9xbRyUK4x&"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"e9080614-2223-441f-a542-1acbec185d37\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/deleteLink",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "deleteLink"]
        },
        "description": "Generated from cURL:   curl --location 'https://testpfapi.rubikpara.com/v1/Payments/createLink' \\\n--header 'accept: text/plain' \\\n--header 'PublicKey: /ZiZaIs2+9s9AozPsjTHwA==' \\\n--header 'Nonce: 1754489746020' \\\n--header 'Signature: 8NzlpQLcGwW+pmLfwyrXRhyT+FNFonVG6eas9K/tiaA=' \\\n--header 'ConversationId: 630361671' \\\n--header 'ClientIpAddress: 192.168.1.1' \\\n--header 'MerchantNumber: 1100000001' \\\n--header 'Content-Type: application/json' \\\n--header 'Cookie: citrix_ns_id=AAM7h2OTaDtSRhwAAAAAADu2-RVrg4g12w-tOzo5kz6FrV6aG3D766UlWOkrW4hWOw==MmeTaA==sWfGZkKK09Xt_oqKOvNILk2nU0I=; citrix_ns_id_.rubikpara.com_%2F_wat=AAAAAAXg0SGvR7qBLIj6D-yBPY38ehGcpo_qKHNMECS_IC2PMHb9vHR5-zJ-Q54zpeOVC7I8IQ02-gHY5PY9xbRyUK4x&' \\\n--data '{\n  \"merchantId\": \"e9060409-1f17-4f3c-bb27-6a39eb3eb1de\",\n  \"linkType\": \"SingleUse\",\n  \"expiryDate\": \"2025-08-06T17:06:01Z\",\n  \"maxUsageCount\": 1,\n  \"orderId\": \"ARSAG80268\",\n  \"linkAmountType\": \"FixedAmount\",\n  \"amount\": 360000,\n  \"currency\": 949,\n  \"installments\": [\n    11\n  ],\n  \"commissionFromCustomer\": false,\n  \"is3dRequired\": true,\n  \"productName\": \"hizmet bedeli\",\n  \"productDescription\": \"hizmet bedeli\",\n  \"returnUrl\": null,\n  \"isNameRequired\": true,\n  \"isEmailRequired\": true,\n  \"isPhoneNumberRequired\": true,\n  \"isAddressRequired\": false,\n  \"isNoteRequired\": false\n}'"
      },
      "response": []
    },
    {
      "name": "Check Link Status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "accept",
            "value": "text/plain"
          },
          {
            "key": "PublicKey",
            "value": "{{publicKey}}"
          },
          {
            "key": "Nonce",
            "value": "{{nonce}}"
          },
          {
            "key": "Signature",
            "value": "{{signature}}"
          },
          {
            "key": "ConversationId",
            "value": "{{conversationId}}"
          },
          {
            "key": "ClientIpAddress",
            "value": "192.168.1.1"
          },
          {
            "key": "MerchantNumber",
            "value": "{{merchantNumber}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n \"id\": \"e908070f-3804-4605-899d-dd7cab18242d\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/v1/Payments/link-status",
          "host": ["{{baseUrl}}"],
          "path": ["v1", "Payments", "link-status"]
        },
        "description": "Generated from cURL: curl -X 'POST' \\   'https://testpfapi.rubikpara.com/v1/Payments/link-status' \\   -H 'accept: text/plain' \\   -H 'PublicKey: /ZiZaIs2+9s9AozPsjTHwA==' \\   -H 'Nonce: 1754570716473' \\   -H 'Signature: w51V7j+pic987rbTpRMr34OQjl9Xqew9xDEG9rcpipI=' \\   -H 'ConversationId: 305368087' \\   -H 'ClientIpAddress: 192.168.1.1' \\   -H 'MerchantNumber: 1100000001' \\   -H 'Content-Type: application/json' \\   -d '{   \"id\": \"e9080611-1010-400a-ad55-6d2db66193c6\" }'"
      },
      "response": []
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [""]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [""]
      }
    }
  ],
  "variable": [
    {
      "key": "signature",
      "value": "{{signature}}"
    },
    {
      "key": "publicKey",
      "value": "/ZiZaIs2+9s9AozPsjTHwA=="
    },
    {
      "key": "baseUrl",
      "value": "https://testpfapi.rubikpara.com"
    },
    {
      "key": "nonce",
      "value": "{{nonce}}"
    },
    {
      "key": "merchantId",
      "value": "",
      "disabled": true
    },
    {
      "key": "conversationId",
      "value": "{{conversationId}}"
    },
    {
      "key": "cardToken",
      "value": "{{cardToken}}"
    },
    {
      "key": "threedSessionId",
      "value": "{{threedSessionId}}"
    },
    {
      "key": "merchantNumber",
      "value": "1100000001",
      "type": "string"
    },
    {
      "key": "originalOrderId",
      "value": "",
      "type": "string"
    },
    {
      "key": "baseUrl",
      "value": "http://localhost:5007",
      "type": "string",
      "disabled": true
    },
    {
      "key": "merchantId",
      "value": "{{merchantId}}"
    }
  ]
}
