{
  "info": {
    "_postman_id": "7eac60b3-27fe-4153-82eb-1124a143ea28",
    "name": "Worldpay-Payments-API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "7202534"
  },
  "item": [
    {
      "name": "Card - plain",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\", //randomly generated uuid value\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\" \n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - payment facilitator",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n    \"transactionReference\": \"{{$guid}}\", //randomly generated uuid value\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n        \"entity\": \"{{entity}}\",\n        \"paymentFacilitator\": {\n            \"schemeId\": \"12345\",\n            \"independentSalesOrganizationId\": \"12345\",\n            \"subMerchant\": {\n                \"name\": \"Sub Merchant Plc\",\n                \"reference\": \"12345\",\n                \"address\": {\n                \"postalCode\": \"SW1 1AA\",\n                \"street\": \"Regent Street\",\n                \"city\": \"London\",\n                \"countryCode\": \"GB\",\n                \"state\": \"CA\"\n                },\n                \"taxReference\": \"12345\",\n                \"phoneNumber\": \"0123456789\",\n                \"email\": \"test@email.com\",\n                \"url\": \"url.example.com\"\n            }\n         } \n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"plain\",\n            \"cardHolderName\": \"Sherlock Holmes\",\n            \"cardNumber\": \"4000000000001091\",\n            \"expiryDate\": {\n                \"month\": 3,\n                \"year\": 2030\n            },\n            \"billingAddress\": {\n                \"address1\": \"221B Baker Street\",\n                \"address2\": \"Marylebone\",\n                \"postalCode\": \"SW1 1AA\",\n                \"city\": \"London\",\n                \"state\": \"Greater London\",\n                \"countryCode\": \"GB\"\n            },\n            \"cvc\": \"123\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - Moto",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n    \"channel\": \"moto\",\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - auto settlement enabled",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"settlement\": {\n        \"auto\": true,\n        \"cancelOn\": {\n            \"cvcNotMatched\": \"disabled\",\n            \"avsNotMatched\": \"disabled\"\n       }\n  \t},\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - use Checkout SDK / 3DS authentication / FraudSight / Token Creation",
      "item": [
        {
          "name": "Frictionless",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n            \"type\": \"checkout\",\n            \"cardHolderName\": \"Sherlock Holmes\",\n            \"sessionHref\": \"https://try.access.worldpay.com/sessions/eyJrIjoxLCJkIjoiSUZyU3hHR05OZnZXYU54NHk3amx1dTN5SjY2dmYwdHJQemF3RTVOMFlrNDlJVW9yZURCeFFhRjloUEduS1NMRiJ9\",\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t}\n\t\t},\n        \"fraud\": {\n            \"type\": \"fraudSight\"\n        },\n        \"tokenCreation\": {\n\t\t\t\"type\": \"worldpay\"\n\t\t},\n        \"customerAgreement\": {\n\t\t\t\"type\": \"cardOnFile\",\n\t\t\t\"storedCardUsage\":\"first\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"add here\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Challenge",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n    \"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n        \"entity\": \"{{entity}}\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"checkout\",\n            \"cardHolderName\": \"Sherlock Holmes\",\n            \"sessionHref\": \"https://try.access.worldpay.com/sessions/eyJrIjoxLCJkIjoicEplZmo4M2ZpWmtrd29oR2JURE5HYjBrSHB5WWF4MzNVVWtOUkZqVVVQUFdZWlBMcmg3WXhZU1pwVkVvdzFpNCJ9\",\n            \"billingAddress\": {\n                \"address1\": \"221B Baker Street\",\n                \"address2\": \"Marylebone\",\n                \"postalCode\": \"SW1 1AA\",\n                \"city\": \"London\",\n                \"state\": \"Greater London\",\n                \"countryCode\": \"GB\"\n            }\n        },\n        \"fraud\": {\n            \"type\": \"fraudSight\"\n        },\n        \"tokenCreation\": {\n            \"type\": \"worldpay\"\n        },\n        \"customerAgreement\": {\n            \"type\": \"cardOnFile\",\n            \"storedCardUsage\": \"first\"\n        },\n        \"threeDS\": {\n            \"type\": \"integrated\",\n            \"mode\": \"always\",\n            \"deviceData\": {\n                \"acceptHeader\": \"text/html\",\n                \"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n                \"browserLanguage\": \"en-GB\",\n                \"browserScreenWidth\": 900,\n                \"browserScreenHeight\": 1200,\n                \"browserJavaEnabled\": true,\n                \"browserColorDepth\": \"32\",\n                \"timeZone\": \"300\",\n                \"browserJavascriptEnabled\": true,\n                \"channel\": \"browser\"\n            },\n            \"challenge\": {\n                \"returnUrl\": \"http://payment.example.com\"\n            }\n        },\n        \"customer\": {\n            \"email\": \"test@example.com\",\n            \"phone\": \"000000000000\",\n            \"ipAddress\": \"192.0.0.1\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let complete3dsChallenge = pm.response.json()._actions.complete3dsChallenge.href;",
                      "",
                      "pm.collectionVariables.set('complete3dsChallenge', complete3dsChallenge);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"0_fcf479a3-37fc-4e10-897f-90a80785a8a1\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsChallenges ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "url": {
                  "raw": "{{complete3dsChallenge}}",
                  "host": [
                    "{{complete3dsChallenge}}"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Card - 3DS authentication enabled",
      "item": [
        {
          "name": "Frictionless",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"add here\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Challenge",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 10\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let complete3dsChallenge = pm.response.json()._actions.complete3dsChallenge.href;",
                      "",
                      "pm.collectionVariables.set('complete3dsChallenge', complete3dsChallenge);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"0_fcf479a3-37fc-4e10-897f-90a80785a8a1\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsChallenges ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "url": {
                  "raw": "{{complete3dsChallenge}}",
                  "host": [
                    "{{complete3dsChallenge}}"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Card - External 3DS authentication",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"external\",\n            \"version\": \"2.2.0\",\n            \"eci\": \"05\",\n            \"authenticationValue\": \"kBNHXUAy4+HT1gAMBSDajheBcxQh\",\n            \"dsTransactionId\": \"b8fb4ecc-7e2e-4b1c-816d-0149849776b8\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - SCA Exemptions",
      "item": [
        {
          "name": "Exemption granted (authorization/lowRisk) / honored",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"ex-exemption-lowRisk-authorization\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"exemption\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\":  \"always\",\n\t\t\t\"capability\":  \"authorizationAndAuthentication\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Exemption granted (authorization/lowValue) / honored",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"ex-exemption-lowValue-authorization\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"exemption\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\":  \"always\",\n\t\t\t\"capability\":  \"authorizationAndAuthentication\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Exemption granted (authentication/lowRisk) / honored",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"ex-exemption-lowRisk-authentication\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"exemption\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\":  \"always\",\n\t\t\t\"capability\":  \"authorizationAndAuthentication\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Exemption not granted / 3DS frictionless",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"ex-noExemption\",\n\t\t\t\"cardNumber\": \"4000000000001000\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"exemption\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\":  \"always\",\n\t\t\t\"capability\":  \"authorizationAndAuthentication\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"0_4dffb74e-dbcb-4d36-b327-88cc4706946f\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Card - use checkout session",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n    \"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n        \"entity\": \"{{entity}}\"\n    },\n    \"instruction\": {\n        \"method\": \"card\",\n        \"paymentInstrument\": {\n            \"type\": \"checkout\",\n            \"cardHolderName\": \"Sherlock Holmes\",\n            \"sessionHref\": \"https://try.access.worldpay.com/sessions/eyJrIjoxLCJkIjoiRVVBSGltckY3cnpaVkNJN0oyVFlpU0N3Y1NEMTNmTzYvN1paOXFZM3YzR0tkeUl6YTVVMHZSTlMvdGFmc1hHRSJ9\",\n            \"billingAddress\": {\n                \"address1\": \"221B Baker Street\",\n                \"address2\": \"Marylebone\",\n                \"postalCode\": \"SW1 1AA\",\n                \"city\": \"London\",\n                \"state\": \"Greater London\",\n                \"countryCode\": \"GB\"\n            }\n        },\n        \"fraud\": {\n            \"type\": \"fraudSight\"\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - create worldpay token",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"tokenCreation\": {\n\t\t\t\"type\": \"worldpay\"\n\t\t},\n        \"customerAgreement\": {\n\t\t\t\"type\": \"cardOnFile\",\n\t\t\t\"storedCardUsage\":\"first\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 10\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - use worldpay token ",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"token\",\n      \"cvc\": \"123\",\n      \"href\": \"{% response 'body', 'req_9e55a3f269fc41a0a44390ac97913959', 'b64::JC50b2tlbi5ocmVm::46b', 'never', 60 %}\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"customerAgreement\": {\n      \"type\": \"cardOnFile\",\n      \"storedCardUsage\": \"subsequent\"\n   },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - use network token",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n            \"type\": \"networkToken\",\n            \"tokenNumber\": \"4417123456789113\",\n            \"cryptogram\": \"MAAAAAAAAAAAAAAAAAAAAAAAAAB=\",\n            \"eci\": \"07\",\n            \"expiryDate\": {\n                \"month\": 4,\n                \"year\": 2028\n            }\n        },\n\t\t\"customerAgreement\": {\n            \"type\": \"cardOnFile\",\n            \"storedCardUsage\": \"subsequent\"\n        },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 10\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - use checkout session and create worldpay token ",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"checkout\",\n      \"cardHolderName\": \"Sherlock Holmes\",\n      \"sessionHref\": \"add card session here\",\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t}\n\t\t},\n\t\t\"tokenCreation\": {\n\t\t\t\"type\": \"worldpay\"\n\t\t},\n\t\t\"customerAgreement\": {\n      \"type\": \"cardOnFile\",\n      \"storedCardUsage\": \"first\"\n   },\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 10\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - use worldpay token & cvc session",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"add token here\",\n\t\t\t\"cvcSessionHref\": \"add cvc session here\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"customerAgreement\": {\n      \"type\": \"cardOnFile\",\n      \"storedCardUsage\": \"subsequent\"\n   },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - fraudSight enabled",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n        \"fraud\": {\n            \"type\": \"fraudSight\"\n        },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - Store a card only (no payment)",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"tokenCreation\": {\n\t\t\t\"type\": \"worldpay\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\"type\": \"cardOnFile\",\n\t\t\t\"storedCardUsage\":\"first\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 0\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Card - recurring - installment",
      "item": [
        {
          "name": "Installment - first - create worldpay token",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\",\n\t\t\t\t\"preference\": \"challengeMandated\"\n\t\t\t}\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\t\"type\": \"installment\",\n\t\t\t\t\"storedCardUsage\":\"first\"\n\t\t},\n\t\t\"tokenCreation\": {\n\t\t\t\t\"type\": \"worldpay\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let complete3dsChallenge = pm.response.json()._actions.complete3dsChallenge.href;",
                      "",
                      "pm.collectionVariables.set('complete3dsChallenge', complete3dsChallenge);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"add collection reference here\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsChallenges ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "url": {
                  "raw": "{{complete3dsChallenge}}",
                  "host": [
                    "{{complete3dsChallenge}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Installment - subsequent - use worldpay token",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"add token here\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\"type\": \"installment\",\n\t\t\t\"storedCardUsage\":\"subsequent\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Card - recurring - subscription",
      "item": [
        {
          "name": "Subscription - first - create worldpay token",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let supply3dsDeviceData = pm.response.json()._actions.supply3dsDeviceData.href;",
                      "",
                      "pm.collectionVariables.set('supply3dsDeviceData', supply3dsDeviceData);"
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n\t\t\t\"type\": \"plain\",\n\t\t\t\"cardHolderName\": \"Sherlock Holmes\",\n\t\t\t\"cardNumber\": \"4000000000001091\",\n\t\t\t\"expiryDate\": {\n\t\t\t\t\"month\": 3,\n\t\t\t\t\"year\": 2030\n\t\t\t},\n\t\t\t\"billingAddress\": {\n\t\t\t\t\"address1\": \"221B Baker Street\",\n\t\t\t\t\"address2\": \"Marylebone\",\n\t\t\t\t\"postalCode\": \"SW1 1AA\",\n\t\t\t\t\"city\": \"London\",\n\t\t\t\t\"state\": \"Greater London\",\n\t\t\t\t\"countryCode\": \"GB\"\n\t\t\t},\n\t\t\t\"cvc\": \"123\"\n\t\t},\n\t\t\"threeDS\": {\n\t\t\t\"type\": \"integrated\",\n\t\t\t\"mode\": \"always\",\n\t\t\t\"deviceData\": {\n\t\t\t\t\"acceptHeader\": \"text/html\",\n\t\t\t\t\"userAgentHeader\": \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)\",\n\t\t\t\t\"browserLanguage\": \"en-GB\",\n\t\t\t\t\"browserScreenWidth\": 900,\n\t\t\t\t\"browserScreenHeight\": 1200,\n\t\t\t\t\"browserJavaEnabled\": true,\n\t\t\t\t\"browserColorDepth\": \"32\",\n\t\t\t\t\"timeZone\": \"300\",\n\t\t\t\t\"browserJavascriptEnabled\": true,\n\t\t\t\t\"channel\": \"browser\"\n\t\t\t},\n\t\t\t\"challenge\": {\n\t\t\t\t\"returnUrl\": \"http://payment.example.com\"\n\t\t\t}\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\"type\": \"subscription\",\n\t\t\t\"storedCardUsage\":\"first\"\n\t\t},\n\t\t\"tokenCreation\": {\n\t\t\t\"type\": \"worldpay\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsDeviceData",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "let complete3dsChallenge = pm.response.json()._actions.complete3dsChallenge.href;",
                      "",
                      "pm.collectionVariables.set('complete3dsChallenge', complete3dsChallenge);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"collectionReference\":\"0_da9f14db-96e9-4fa5-88ca-c2c138cfafd5\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{supply3dsDeviceData}}",
                  "host": [
                    "{{supply3dsDeviceData}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "3dsChallenges ",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "url": {
                  "raw": "{{complete3dsChallenge}}",
                  "host": [
                    "{{complete3dsChallenge}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Subscription - subsequent - use worldpay token",
          "item": [
            {
              "name": "payment",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {},
                    "requests": {}
                  }
                }
              ],
              "protocolProfileBehavior": {
                "followRedirects": true,
                "disableUrlEncoding": false,
                "disableCookies": false
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "WP-Api-Version",
                    "value": "{{payments_api_version}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"https://try.access.worldpay.com/tokens/eyJrIjoxLCJkIjoiVHNjSXFPZnl6S0NnNWZhWERTK2g1eGp6dkIrM09EbXlMRWxYRlo2SThMTT0ifQ\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\"type\": \"subscription\",\n\t\t\t\"storedCardUsage\":\"subsequent\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "https://{{environment}}/api/payments",
                  "protocol": "https",
                  "host": [
                    "{{environment}}"
                  ],
                  "path": [
                    "api",
                    "payments"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Card - unscheduled",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"card\",\n\t\t\"paymentInstrument\": {\n      \"type\": \"token\",\n      \"href\": \"add token here\"\n\t\t},\n\t\t\"fraud\": {\n\t\t\t\"type\": \"fraudSight\"\n\t\t},\n\t\t\"customerAgreement\": {\n\t\t\t\"type\": \"unscheduled\"\n\t\t},\n\t\t\"customer\": {\n\t\t\t\"email\": \"test@example.com\",\n\t\t\t\"phone\": \"000000000000\",\n\t\t\t\"ipAddress\": \"192.0.0.1\"\n\t\t},\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Googlepay - encrypted",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"googlepay\",\n    \"paymentInstrument\": {\n      \"type\": \"encrypted\",\n      \"walletToken\": \"\"\n   },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Googlepay - decrypted",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n    \"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n        \"entity\": \"{{entity}}\"\n    },\n    \"instruction\": {\n        \"method\": \"googlepay\",\n        \"paymentInstrument\": {\n            \"type\": \"decrypted\",\n            \"number\": \"4000000000002701\",\n            \"cryptogram\": \"MAAAAAAAAAAAAAAAAAAAAAAAAAB=\",\n            \"eci\": \"07\",\n            \"expiryDate\": {\n                \"month\": 5,\n                \"year\": 2035\n            },\n            \"billingAddress\": {\n                \"address1\": \"221B Baker Street\",\n                \"address2\": \"Marylebone\",\n                \"postalCode\": \"SW1 1AA\",\n                \"city\": \"London\",\n                \"state\": \"Greater London\",\n                \"countryCode\": \"GB\"\n            }\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Applepay - encrypted",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n\t\"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n\t\"merchant\": {\n\t\t\"entity\": \"{{entity}}\"\n\t},\n\t\"instruction\": {\n\t\t\"method\": \"applepay\",\n    \"paymentInstrument\": {\n      \"type\": \"encrypted\",\n      \"walletToken\": \"\"\n   },\n\t\t\"narrative\": {\n\t\t\t\"line1\": \"trading name\"\n\t\t},\n\t\t\"value\": {\n\t\t\t\"currency\": \"GBP\",\n\t\t\t\"amount\": 42\n\t\t}\n\t}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Applepay - decrypted",
      "item": [
        {
          "name": "payment",
          "event": [
            {
              "listen": "test",
              "script": {
                "exec": [
                  ""
                ],
                "type": "text/javascript",
                "packages": {},
                "requests": {}
              }
            }
          ],
          "protocolProfileBehavior": {
            "followRedirects": true,
            "disableUrlEncoding": false,
            "disableCookies": false
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "WP-Api-Version",
                "value": "{{payments_api_version}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{ //change username, password, entity, API version and environment url in folder `Worldpay` - variables tab\n    \"transactionReference\": \"{{$guid}}\",\n    \"orderReference\": \"order-12345\",\n    \"merchant\": {\n        \"entity\": \"{{entity}}\"\n    },\n    \"instruction\": {\n        \"method\": \"applepay\",\n        \"paymentInstrument\": {\n            \"type\": \"decrypted\",\n            \"number\": \"4000000000002701\",\n            \"cryptogram\": \"MAAAAAAAAAAAAAAAAAAAAAAAAAB=\",\n            \"eci\": \"07\",\n            \"expiryDate\": {\n                \"month\": 5,\n                \"year\": 2035\n            },\n            \"billingAddress\": {\n                \"address1\": \"221B Baker Street\",\n                \"address2\": \"Marylebone\",\n                \"postalCode\": \"SW1 1AA\",\n                \"city\": \"London\",\n                \"state\": \"Greater London\",\n                \"countryCode\": \"GB\"\n            }\n        },\n        \"narrative\": {\n            \"line1\": \"trading name\"\n        },\n        \"value\": {\n            \"currency\": \"GBP\",\n            \"amount\": 42\n        }\n    }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "https://{{environment}}/api/payments",
              "protocol": "https",
              "host": [
                "{{environment}}"
              ],
              "path": [
                "api",
                "payments"
              ]
            }
          },
          "response": []
        }
      ]
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "password",
        "value": "{{password}}",
        "type": "string"
      },
      {
        "key": "username",
        "value": "{{username}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "requests": {},
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "username",
      "value": ""
    },
    {
      "key": "password",
      "value": ""
    },
    {
      "key": "environment",
      "value": "try.access.worldpay.com"
    },
    {
      "key": "entity",
      "value": "default"
    },
    {
      "key": "payments_api_version",
      "value": "2024-06-01"
    },
    {
      "key": "supply3dsDeviceData",
      "value": ""
    }
  ]
}