{
  "info": {
    "_postman_id": "d4940e3c-d98d-404c-991b-75fa8479cecf",
    "name": "GSA",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "8601912"
  },
  "item": [
    {
      "name": "GSA - založení platby",
      "request": {
        "auth": {
          "type": "noauth"
        },
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"amount\": 100,\r\n    \"currencyCode\": \"203\",\r\n    \"invoiceNumber\": \"\",\r\n    \"transactionId\": \"852ea3ba3ea3\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/payment",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "payment"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - stav platby",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"transactionId\": \"852ea3ba3e3\",\r\n  \"secureString\": \"27924505\"\r\n}\r\n"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/status",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "status"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - výsledek",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"transactionId\": \"852ea3ba3ea3\",\r\n  \"secureString\": \"27924505\"\r\n}\r\n"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/result",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "result"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - zrušení platby stav \"WaitForCard\"",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"transactionId\": \"852ea3ba3ea3\"\r\n}\r\n"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/cancel",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "cancel"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - refundace",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"amount\": 100,\r\n    \"currencyCode\": \"203\",\r\n    \"invoiceNumber\": \"\",\r\n    \"transactionId\": \"852ea3ba3ea3\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/refund",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "refund"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - storno poslední transakce",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"transactionId\": \"852ea3ba3ea3\",\r\n    \"originalTransactionId\": \"\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}\r\n\r\n"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/reverse",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "reverse"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA - uzávěrka",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"transactionId\": \"852ea3ba3e3\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/paya/closing",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "paya",
            "closing"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - založení předautorizace",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"amount\": 100,\r\n    \"currencyCode\": \"203\",\r\n    \"invoiceNumber\": \"\",\r\n    \"transactionId\": \"91a73c0f-1225-4908-a92c-9be886107f4b\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/api/switchio/pay/v2/preauth",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - seznam otevřených předautorizací",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",  \r\n  \"daughterCompanyId\": \"\"\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/api/switchio/pay/v2/preauth/transactions",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth",
            "transactions"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - navýšení částky předautorizace",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"transactionId\": \"290afff3-e511-41ce-9214-6ebe08c12aa5\",\r\n    \"originalTransactionId\": \"91a73c0f-1225-4908-a92c-9be886107f4b\",\r\n    \"incrementAmount\": 100,\r\n    \"invoiceNumber\": \"\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/api/switchio/pay/v2/preauth/increment",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth",
            "increment"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - dokončení otevřené předautorizace",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"transactionId\": \"d51c8354-099e-4139-853d-d0d3bab24d65\",\r\n    \"originalTransactionId\": \"91a73c0f-1225-4908-a92c-9be886107f4b\",\r\n    \"finalAmount\": 100,\r\n    \"invoiceNumber\": \"\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/api/switchio/pay/v2/preauth/complete",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth",
            "complete"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - zrušení otevřené předautorizace",
      "request": {
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n  \"secureString\": \"27924505\",\r\n  \"request\": {\r\n    \"transactionId\": \"2fed9032-6e55-4dd1-b91f-fcbda89a923e\",\r\n    \"originalTransactionId\": \"91a73c0f-1225-4908-a92c-9be886107f4b\",\r\n    \"daughterCompanyId\": \"\"\r\n  }\r\n}"
        },
        "url": {
          "raw": "http://{{ip}}:33350/api/switchio/pay/v2/preauth/cancel",
          "protocol": "http",
          "host": [
            "{{ip}}"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth",
            "cancel"
          ]
        }
      },
      "response": []
    },
    {
      "name": "GSA v2 - dokončení externí předautorizace",
      "request": {
        "auth": {
          "type": "noauth"
        },
        "method": "POST",
        "header": [],
        "body": {
          "mode": "raw",
          "raw": "{\r\n    \"secureString\":\"27924505\",\r\n    \"request\":{\r\n        \"transactionId\":\"1ee7297b-ac47-4702-ab6f-9ae723e5ca89\",\r\n        \"originalTransactionData\":{\r\n            \"terminalId\":\"T1ST3001\",\r\n            \"authCode\":\"511607\",\r\n            \"seqNumber\":\"001022106\"\r\n        },\r\n        \"finalAmount\":500,\r\n        \"invoiceNumber\":\"bbb\",\r\n        \"daughterCompanyId\":\"\"\r\n    }\r\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "http://10.13.1.42:33350/api/switchio/pay/v2/preauth/external/complete",
          "protocol": "http",
          "host": [
            "10",
            "13",
            "1",
            "42"
          ],
          "port": "33350",
          "path": [
            "api",
            "switchio",
            "pay",
            "v2",
            "preauth",
            "external",
            "complete"
          ]
        }
      },
      "response": []
    }
  ],
  "variable": [
    {
      "key": "ip",
      "value": "10.13.1.80"
    }
  ]
}