stoplightio / http-spec

Utilities to normalize OpenAPI v2 and v3 objects for the Stoplight ecosystem.
https://stoplight.io
Apache License 2.0
19 stars 12 forks source link

New Postman Collection v2.x Format #36

Closed philsturgeon closed 4 years ago

philsturgeon commented 5 years ago

User story. As a Postman user, I can use Prism CLI for mocking, Stoplight Docs via the stoplight-cli analyze to host documentation, and other read-only aspects of the Stoplight ecosystem.

Is your feature request related to a problem?

We should prove out how format agnostic our ecosystem is by adding a new format which is not OpenAPI/JSON Schema based.

Describe the solution you'd like

Similar to how we have helpers for loading up OpenAPI files and converting operations to http-spec, we should be converting the postman collection to http-spec.

Additional context

Here is a sample collection:

{
    "info": {
        "_postman_id": "02e2ea7d-9c47-4631-87d1-9d27df165bc8",
        "name": "Test collection",
        "description": "Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort).\n\nThis API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout).\n\n## Authentication\nEach request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example:\n\n```\ncurl\n-H \"Content-Type: application/json\" \\\n-H \"X-API-Key: Your_Checkout_API_key\" \\\n...\n```\nNote that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nCheckout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://checkout-test.adyen.com/v46/payments\n```\n\nContact Support:\n Name: Adyen Support\n Email: support@adyen.com",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "payments",
            "item": [
                {
                    "name": "Starts a transaction.",
                    "request": {
                        "auth": {
                            "type": "noauth"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/payments",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "payments"
                            ]
                        },
                        "description": "Sends payment parameters (like amount, country, and currency) together with the input details collected from the shopper. The response returns the result of the payment request:\n* For some payment methods (e.g. Visa, Mastercard, and SEPA Direct Debits) you'll get a final state in the `resultCode` (e.g. `authorised` or `refused`).\n* For other payment methods, you'll receive `redirectShopper` as `resultCode` together with a `redirectUrl`. In this case, the shopper must finalize the payment on the page behind the `redirectUrl`."
                    },
                    "response": [
                        {
                            "name": "Internal Server Error - the server could not process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "Internal Server Error",
                            "code": 500,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "OK - the request has succeeded.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "cookie": [],
                            "body": "{\n \"additionalData\": \"<object>\",\n \"details\": [\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"itemSearchUrl\": \"<string>\",\n   \"items\": [\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    },\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    }\n   ],\n   \"key\": \"<string>\",\n   \"optional\": \"<boolean>\",\n   \"type\": \"<string>\",\n   \"value\": \"<string>\"\n  },\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"itemSearchUrl\": \"<string>\",\n   \"items\": [\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    },\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    }\n   ],\n   \"key\": \"<string>\",\n   \"optional\": \"<boolean>\",\n   \"type\": \"<string>\",\n   \"value\": \"<string>\"\n  }\n ],\n \"fraudResult\": {\n  \"accountScore\": \"<integer>\",\n  \"results\": [\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   },\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   }\n  ]\n },\n \"outputDetails\": \"<object>\",\n \"paymentData\": \"<string>\",\n \"pspReference\": \"<string>\",\n \"redirect\": {\n  \"data\": \"<object>\",\n  \"method\": \"<string>\",\n  \"url\": \"<string>\"\n },\n \"refusalReason\": \"<string>\",\n \"refusalReasonCode\": \"<string>\",\n \"resultCode\": \"<string>\"\n}"
                        },
                        {
                            "name": "Unprocessable Entity - a request validation error.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Forbidden - insufficient permissions to process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "Forbidden",
                            "code": 403,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Bad Request - a problem reading or understanding the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Unauthorized - authentication required.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"paymentMethod\": \"<object>\",\n    \"accountInfo\": {\n        \"accountAgeIndicator\": \"<string>\",\n        \"accountChangeDate\": \"<dateTime>\",\n        \"accountChangeIndicator\": \"<string>\",\n        \"accountCreationDate\": \"<dateTime>\",\n        \"addCardAttemptsDay\": \"<integer>\",\n        \"deliveryAddressUsageDate\": \"<dateTime>\",\n        \"deliveryAddressUsageIndicator\": \"<string>\",\n        \"homePhone\": \"<string>\",\n        \"mobilePhone\": \"<string>\",\n        \"passwordChangeDate\": \"<dateTime>\",\n        \"passwordChangeIndicator\": \"<string>\",\n        \"pastTransactionsDay\": \"<integer>\",\n        \"pastTransactionsYear\": \"<integer>\",\n        \"paymentAccountAge\": \"<dateTime>\",\n        \"paymentAccountIndicator\": \"<string>\",\n        \"purchasesLast6Months\": \"<integer>\",\n        \"suspiciousActivity\": \"<boolean>\",\n        \"workPhone\": \"<string>\"\n    },\n    \"additionalData\": \"<object>\",\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"browserInfo\": {\n        \"userAgent\": \"<string>\",\n        \"acceptHeader\": \"<string>\",\n        \"javaEnabled\": \"<boolean>\",\n        \"colorDepth\": \"<integer>\",\n        \"screenHeight\": \"<integer>\",\n        \"screenWidth\": \"<integer>\",\n        \"timeZoneOffset\": \"<integer>\",\n        \"language\": \"<string>\",\n        \"javaScriptEnabled\": \"<boolean>\"\n    },\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"countryCode\": \"<string>\",\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"deviceFingerprint\": \"<string>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"merchantRiskIndicator\": {\n        \"addressMatch\": \"<boolean>\",\n        \"deliveryAddressIndicator\": \"<string>\",\n        \"deliveryEmail\": \"<string>\",\n        \"deliveryTimeframe\": \"<string>\",\n        \"giftCardAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"giftCardCount\": \"<integer>\",\n        \"preOrderDate\": \"<dateTime>\",\n        \"preOrderPurchase\": \"<boolean>\",\n        \"reorderItems\": \"<boolean>\"\n    },\n    \"metadata\": \"<object>\",\n    \"mpiData\": {\n        \"authenticationResponse\": \"<string>\",\n        \"cavv\": \"<byte>\",\n        \"cavvAlgorithm\": \"<string>\",\n        \"directoryResponse\": \"<string>\",\n        \"dsTransID\": \"<string>\",\n        \"eci\": \"<string>\",\n        \"threeDSVersion\": \"<string>\",\n        \"xid\": \"<byte>\"\n    },\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"recurringProcessingModel\": \"<string>\",\n    \"redirectFromIssuerMethod\": \"<string>\",\n    \"redirectToIssuerMethod\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"threeDS2RequestData\": {\n        \"deviceChannel\": \"<string>\",\n        \"authenticationOnly\": \"<boolean>\",\n        \"challengeIndicator\": \"<string>\",\n        \"deviceRenderOptions\": {\n            \"sdkInterface\": \"<string>\",\n            \"sdkUiType\": [\n                \"<string>\",\n                \"<string>\"\n            ]\n        },\n        \"messageVersion\": \"<string>\",\n        \"notificationURL\": \"<string>\",\n        \"sdkAppID\": \"<string>\",\n        \"sdkEncData\": \"<string>\",\n        \"sdkEphemPubKey\": {\n            \"crv\": \"<string>\",\n            \"kty\": \"<string>\",\n            \"x\": \"<string>\",\n            \"y\": \"<string>\"\n        },\n        \"sdkMaxTimeout\": \"<integer>\",\n        \"sdkReferenceNumber\": \"<string>\",\n        \"sdkTransID\": \"<string>\",\n        \"threeDSCompInd\": \"<string>\",\n        \"threeDSRequestorID\": \"<string>\",\n        \"threeDSRequestorName\": \"<string>\",\n        \"threeDSRequestorURL\": \"<string>\"\n    },\n    \"trustedShopper\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments"
                                    ]
                                }
                            },
                            "status": "Unauthorized",
                            "code": 401,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        }
                    ]
                },
                {
                    "name": "Submits details for a payment.",
                    "request": {
                        "auth": {
                            "type": "noauth"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/payments/details",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "payments",
                                "details"
                            ]
                        },
                        "description": "Submits details for a payment created using `/payments`. This step is only needed when no final state has been reached on the `/payments` request (for example for 3D Secure, or when getting redirected back directly from a payment method using an app switch).\n\nThe exact details, which need to be sent to this endpoint, are always specified in the response of the associated `/payments` request.\n\nIn addition, the endpoint can be used to verify a `payload`, which is returned after coming back from the Checkout SDK or any of the redirect based methods on the Checkout API."
                    },
                    "response": [
                        {
                            "name": "Forbidden - insufficient permissions to process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "Forbidden",
                            "code": 403,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Unprocessable Entity - a request validation error.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Internal Server Error - the server could not process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "Internal Server Error",
                            "code": 500,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Unauthorized - authentication required.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "Unauthorized",
                            "code": 401,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Bad Request - a problem reading or understanding the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "OK - the request has succeeded.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"details\": \"<object>\",\n    \"paymentData\": \"<string>\",\n    \"threeDSAuthenticationOnly\": \"<boolean>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/details",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "details"
                                    ]
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "cookie": [],
                            "body": "{\n \"additionalData\": \"<object>\",\n \"details\": [\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"itemSearchUrl\": \"<string>\",\n   \"items\": [\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    },\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    }\n   ],\n   \"key\": \"<string>\",\n   \"optional\": \"<boolean>\",\n   \"type\": \"<string>\",\n   \"value\": \"<string>\"\n  },\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"itemSearchUrl\": \"<string>\",\n   \"items\": [\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    },\n    {\n     \"id\": \"<string>\",\n     \"name\": \"<string>\"\n    }\n   ],\n   \"key\": \"<string>\",\n   \"optional\": \"<boolean>\",\n   \"type\": \"<string>\",\n   \"value\": \"<string>\"\n  }\n ],\n \"fraudResult\": {\n  \"accountScore\": \"<integer>\",\n  \"results\": [\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   },\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   }\n  ]\n },\n \"outputDetails\": \"<object>\",\n \"paymentData\": \"<string>\",\n \"pspReference\": \"<string>\",\n \"redirect\": {\n  \"data\": \"<object>\",\n  \"method\": \"<string>\",\n  \"url\": \"<string>\"\n },\n \"refusalReason\": \"<string>\",\n \"refusalReasonCode\": \"<string>\",\n \"resultCode\": \"<string>\"\n}"
                        }
                    ]
                },
                {
                    "name": "Verifies payment result.",
                    "request": {
                        "auth": {
                            "type": "noauth"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"payload\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/payments/result",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "payments",
                                "result"
                            ]
                        },
                        "description": "Verifies the payment result using the payload returned from the Checkout SDK.\n\nFor more information, refer to [How it works](https://docs.adyen.com/checkout#howitworks)."
                    },
                    "response": [
                        {
                            "name": "Forbidden - insufficient permissions to process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "Forbidden",
                            "code": 403,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Internal Server Error - the server could not process the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "Internal Server Error",
                            "code": 500,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Unprocessable Entity - a request validation error.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "Bad Request - a problem reading or understanding the request.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        },
                        {
                            "name": "OK - the request has succeeded.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "_postman_previewlanguage": "json",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "cookie": [],
                            "body": "{\n \"merchantReference\": \"<string>\",\n \"paymentMethod\": \"<string>\",\n \"shopperLocale\": \"<string>\",\n \"additionalData\": \"<object>\",\n \"fraudResult\": {\n  \"accountScore\": \"<integer>\",\n  \"results\": [\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   },\n   {\n    \"checkId\": \"<integer>\",\n    \"name\": \"<string>\",\n    \"accountScore\": \"<integer>\"\n   }\n  ]\n },\n \"pspReference\": \"<string>\",\n \"refusalReason\": \"<string>\",\n \"refusalReasonCode\": \"<string>\",\n \"resultCode\": \"<string>\",\n \"serviceError\": {\n  \"errorCode\": \"<string>\",\n  \"errorType\": \"<string>\",\n  \"message\": \"<string>\"\n }\n}"
                        },
                        {
                            "name": "Unauthorized - authentication required.",
                            "originalRequest": {
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n    \"payload\": \"<string>\"\n}"
                                },
                                "url": {
                                    "raw": "{{baseUrl}}/payments/result",
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "path": [
                                        "payments",
                                        "result"
                                    ]
                                }
                            },
                            "status": "Unauthorized",
                            "code": 401,
                            "_postman_previewlanguage": "text",
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "text/plain"
                                }
                            ],
                            "cookie": [],
                            "body": ""
                        }
                    ]
                }
            ],
            "protocolProfileBehavior": {}
        },
        {
            "name": "Returns available payment methods.",
            "request": {
                "auth": {
                    "type": "noauth"
                },
                "method": "POST",
                "header": [
                    {
                        "key": "Content-Type",
                        "value": "application/json"
                    }
                ],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                },
                "url": {
                    "raw": "{{baseUrl}}/paymentMethods",
                    "host": [
                        "{{baseUrl}}"
                    ],
                    "path": [
                        "paymentMethods"
                    ]
                },
                "description": "Queries the available payment methods for a transaction based on the transaction context (like amount, country, and currency). Besides giving back a list of the available payment methods, the response also returns which input details you need to collect from the shopper (to be submitted to `/payments`).\n\nAlthough we highly recommend using this endpoint to ensure you are always offering the most up-to-date list of payment methods, its usage is optional. You can, for example, also cache the `/paymentMethods` response and update it once a week."
            },
            "response": [
                {
                    "name": "Bad Request - a problem reading or understanding the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "Bad Request",
                    "code": 400,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Internal Server Error - the server could not process the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "Internal Server Error",
                    "code": 500,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "OK - the request has succeeded.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "cookie": [],
                    "body": "{\n \"groups\": [\n  {\n   \"groupType\": \"<string>\",\n   \"name\": \"<string>\",\n   \"types\": [\n    \"<string>\",\n    \"<string>\"\n   ]\n  },\n  {\n   \"groupType\": \"<string>\",\n   \"name\": \"<string>\",\n   \"types\": [\n    \"<string>\",\n    \"<string>\"\n   ]\n  }\n ],\n \"oneClickPaymentMethods\": [\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"group\": {\n    \"name\": \"<string>\",\n    \"paymentMethodData\": \"<string>\",\n    \"type\": \"<string>\"\n   },\n   \"name\": \"<string>\",\n   \"paymentMethodData\": \"<string>\",\n   \"recurringDetailReference\": \"<string>\",\n   \"storedDetails\": {\n    \"bank\": {\n     \"bankAccountNumber\": \"<string>\",\n     \"bankCity\": \"<string>\",\n     \"bankLocationId\": \"<string>\",\n     \"bankName\": \"<string>\",\n     \"bic\": \"<string>\",\n     \"countryCode\": \"<string>\",\n     \"iban\": \"<string>\",\n     \"ownerName\": \"<string>\",\n     \"taxId\": \"<string>\"\n    },\n    \"card\": {\n     \"number\": \"<string>\",\n     \"expiryMonth\": \"<string>\",\n     \"expiryYear\": \"<string>\",\n     \"holderName\": \"<string>\",\n     \"cvc\": \"<string>\",\n     \"issueNumber\": \"<string>\",\n     \"startMonth\": \"<string>\",\n     \"startYear\": \"<string>\"\n    },\n    \"emailAddress\": \"<string>\"\n   },\n   \"supportsRecurring\": \"<boolean>\",\n   \"type\": \"<string>\"\n  },\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"group\": {\n    \"name\": \"<string>\",\n    \"paymentMethodData\": \"<string>\",\n    \"type\": \"<string>\"\n   },\n   \"name\": \"<string>\",\n   \"paymentMethodData\": \"<string>\",\n   \"recurringDetailReference\": \"<string>\",\n   \"storedDetails\": {\n    \"bank\": {\n     \"bankAccountNumber\": \"<string>\",\n     \"bankCity\": \"<string>\",\n     \"bankLocationId\": \"<string>\",\n     \"bankName\": \"<string>\",\n     \"bic\": \"<string>\",\n     \"countryCode\": \"<string>\",\n     \"iban\": \"<string>\",\n     \"ownerName\": \"<string>\",\n     \"taxId\": \"<string>\"\n    },\n    \"card\": {\n     \"number\": \"<string>\",\n     \"expiryMonth\": \"<string>\",\n     \"expiryYear\": \"<string>\",\n     \"holderName\": \"<string>\",\n     \"cvc\": \"<string>\",\n     \"issueNumber\": \"<string>\",\n     \"startMonth\": \"<string>\",\n     \"startYear\": \"<string>\"\n    },\n    \"emailAddress\": \"<string>\"\n   },\n   \"supportsRecurring\": \"<boolean>\",\n   \"type\": \"<string>\"\n  }\n ],\n \"paymentMethods\": [\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"group\": {\n    \"name\": \"<string>\",\n    \"paymentMethodData\": \"<string>\",\n    \"type\": \"<string>\"\n   },\n   \"name\": \"<string>\",\n   \"paymentMethodData\": \"<string>\",\n   \"supportsRecurring\": \"<boolean>\",\n   \"type\": \"<string>\"\n  },\n  {\n   \"configuration\": \"<object>\",\n   \"details\": [\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    },\n    {\n     \"configuration\": \"<object>\",\n     \"details\": [\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      },\n      {\n       \"configuration\": \"<object>\",\n       \"items\": [\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        },\n        {\n         \"id\": \"<string>\",\n         \"name\": \"<string>\"\n        }\n       ],\n       \"key\": \"<string>\",\n       \"optional\": \"<boolean>\",\n       \"type\": \"<string>\",\n       \"value\": \"<string>\"\n      }\n     ],\n     \"itemSearchUrl\": \"<string>\",\n     \"items\": [\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      },\n      {\n       \"id\": \"<string>\",\n       \"name\": \"<string>\"\n      }\n     ],\n     \"key\": \"<string>\",\n     \"optional\": \"<boolean>\",\n     \"type\": \"<string>\",\n     \"value\": \"<string>\"\n    }\n   ],\n   \"group\": {\n    \"name\": \"<string>\",\n    \"paymentMethodData\": \"<string>\",\n    \"type\": \"<string>\"\n   },\n   \"name\": \"<string>\",\n   \"paymentMethodData\": \"<string>\",\n   \"supportsRecurring\": \"<boolean>\",\n   \"type\": \"<string>\"\n  }\n ]\n}"
                },
                {
                    "name": "Unprocessable Entity - a request validation error.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                    "code": 422,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Forbidden - insufficient permissions to process the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "Forbidden",
                    "code": 403,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Unauthorized - authentication required.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"channel\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperReference\": \"<string>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentMethods",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentMethods"
                            ]
                        }
                    },
                    "status": "Unauthorized",
                    "code": 401,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                }
            ]
        },
        {
            "name": "Creates a payment session.",
            "request": {
                "auth": {
                    "type": "noauth"
                },
                "method": "POST",
                "header": [
                    {
                        "key": "Content-Type",
                        "value": "application/json"
                    }
                ],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                },
                "url": {
                    "raw": "{{baseUrl}}/paymentSession",
                    "host": [
                        "{{baseUrl}}"
                    ],
                    "path": [
                        "paymentSession"
                    ]
                },
                "description": "Provides the data object that can be used to start the Checkout SDK. To set up the payment, pass its amount, currency, and other required parameters. We use this to optimise the payment flow and perform better risk assessment of the transaction.\n\nFor more information, refer to [How it works](https://docs.adyen.com/checkout#howitworks)."
            },
            "response": [
                {
                    "name": "Bad Request - a problem reading or understanding the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "Bad Request",
                    "code": 400,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "OK - the request has succeeded.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "OK",
                    "code": 200,
                    "_postman_previewlanguage": "json",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "cookie": [],
                    "body": "{\n \"paymentSession\": \"<string>\"\n}"
                },
                {
                    "name": "Unauthorized - authentication required.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "Unauthorized",
                    "code": 401,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Unprocessable Entity - a request validation error.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                    "code": 422,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Forbidden - insufficient permissions to process the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "Forbidden",
                    "code": 403,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                },
                {
                    "name": "Internal Server Error - the server could not process the request.",
                    "originalRequest": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"merchantAccount\": \"<string>\",\n    \"reference\": \"<string>\",\n    \"amount\": {\n        \"value\": \"<long>\",\n        \"currency\": \"<string>\"\n    },\n    \"returnUrl\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"additionalData\": \"<object>\",\n    \"allowedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"billingAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"blockedPaymentMethods\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"captureDelayHours\": \"<integer>\",\n    \"channel\": \"<string>\",\n    \"company\": {\n        \"homepage\": \"<string>\",\n        \"name\": \"<string>\",\n        \"registrationNumber\": \"<string>\",\n        \"registryLocation\": \"<string>\",\n        \"taxId\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"configuration\": {\n        \"avs\": {\n            \"addressEditable\": \"<boolean>\",\n            \"enabled\": \"<string>\"\n        },\n        \"cardHolderName\": \"<string>\",\n        \"installments\": {\n            \"value\": \"<integer>\"\n        },\n        \"shopperInput\": {\n            \"billingAddress\": \"<string>\",\n            \"deliveryAddress\": \"<string>\",\n            \"personalDetails\": \"<string>\"\n        }\n    },\n    \"dateOfBirth\": \"<dateTime>\",\n    \"dccQuote\": {\n        \"validTill\": \"<dateTime>\",\n        \"basePoints\": \"<integer>\",\n        \"account\": \"<string>\",\n        \"accountType\": \"<string>\",\n        \"baseAmount\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"buy\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"interbank\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"reference\": \"<string>\",\n        \"sell\": {\n            \"value\": \"<long>\",\n            \"currency\": \"<string>\"\n        },\n        \"signature\": \"<string>\",\n        \"source\": \"<string>\",\n        \"type\": \"<string>\"\n    },\n    \"deliveryAddress\": {\n        \"country\": \"<string>\",\n        \"city\": \"<string>\",\n        \"houseNumberOrName\": \"<string>\",\n        \"postalCode\": \"<string>\",\n        \"stateOrProvince\": \"<string>\",\n        \"street\": \"<string>\"\n    },\n    \"deliveryDate\": \"<dateTime>\",\n    \"enableOneClick\": \"<boolean>\",\n    \"enablePayOut\": \"<boolean>\",\n    \"enableRecurring\": \"<boolean>\",\n    \"entityType\": \"<string>\",\n    \"fraudOffset\": \"<integer>\",\n    \"installments\": {\n        \"value\": \"<integer>\"\n    },\n    \"lineItems\": [\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        },\n        {\n            \"amountExcludingTax\": \"<long>\",\n            \"amountIncludingTax\": \"<long>\",\n            \"description\": \"<string>\",\n            \"id\": \"<string>\",\n            \"quantity\": \"<long>\",\n            \"taxAmount\": \"<long>\",\n            \"taxCategory\": \"<string>\",\n            \"taxPercentage\": \"<long>\"\n        }\n    ],\n    \"mcc\": \"<string>\",\n    \"merchantOrderReference\": \"<string>\",\n    \"metadata\": \"<object>\",\n    \"orderReference\": \"<string>\",\n    \"origin\": \"<string>\",\n    \"sdkVersion\": \"<string>\",\n    \"sessionValidity\": \"<string>\",\n    \"shopperEmail\": \"<string>\",\n    \"shopperIP\": \"<string>\",\n    \"shopperInteraction\": \"<string>\",\n    \"shopperLocale\": \"<string>\",\n    \"shopperName\": {\n        \"firstName\": \"<string>\",\n        \"lastName\": \"<string>\",\n        \"gender\": \"<string>\",\n        \"infix\": \"<string>\"\n    },\n    \"shopperReference\": \"<string>\",\n    \"shopperStatement\": \"<string>\",\n    \"socialSecurityNumber\": \"<string>\",\n    \"splits\": [\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        },\n        {\n            \"amount\": {\n                \"value\": \"<long>\",\n                \"currency\": \"<string>\"\n            },\n            \"type\": \"<string>\",\n            \"account\": \"<string>\",\n            \"description\": \"<string>\",\n            \"reference\": \"<string>\"\n        }\n    ],\n    \"telephoneNumber\": \"<string>\",\n    \"token\": \"<string>\",\n    \"trustedShopper\": \"<boolean>\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/paymentSession",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "paymentSession"
                            ]
                        }
                    },
                    "status": "Internal Server Error",
                    "code": 500,
                    "_postman_previewlanguage": "text",
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "text/plain"
                        }
                    ],
                    "cookie": [],
                    "body": ""
                }
            ]
        }
    ],
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "value": "https://checkout-test.adyen.com/v46",
            "type": "string"
        }
    ],
    "protocolProfileBehavior": {}
}

Notice how some "items" are top level and others are in a folder. Nested items are how you have operations at the top level or inside folders.

This was created from this OpenAPI file:

openapi: 3.0.0
servers:
  - url: 'https://checkout-test.adyen.com/v46'
info:
  version: '46'
  title: Adyen Checkout Service
  description: |-
    Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort).

    This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout).

    ## Authentication
    Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example:
curl
-H "Content-Type: application/json" \
-H "X-API-Key: Your_Checkout_API_key" \
...
```
Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).

## Versioning
Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: "vXX", where XX is the version number.

For example:
```
https://checkout-test.adyen.com/v46/payments
```

termsOfService: 'https://www.adyen.com/legal/terms-and-conditions' contact: name: Adyen Support url: 'https://support.adyen.com/' email: support@adyen.com x-groups:

marbemac commented 5 years ago

Hah, yes this would be nice. If we ever closed the loop and made transformers for HttpOperation -> Oas3 / Oas2, then we're back at a spec converter.

marbemac commented 5 years ago

@philsturgeon if we added transformers for postman -> IHttpOperation as you describe we would indeed be able to support mocking etc.

Additionally, if we added transformers for postman -> IHttpRequest, and we updated analyzer to send IHttpRequest up to platform along with all the other data, we could then display and use all of that in explorer (and the future requests module). Would simply be another node type that platform users could filter to. So basically if postman files exist in repositories, they'd be picked up.

philsturgeon commented 5 years ago

Yep! We will also have to infer the schema based on the example, as Postman's new OpenAPI text-editor does not store the schema in the collection (at least as of Postman Collection 2.1). So, if an example exists they can infer from that, if not its just an empty schema and that's also fine, but don't expect much useful functionality!

Here lies the sadness of the existing Postman Collection format: copy and paste examples regularly or everything is wrong and/or useless. :(