{"title":"Implement SCA compliance","category":"default","creationDate":1680678660,"content":"<p><a href=\"\/pt\/online-payments\/psd2-sca-compliance-and-implementation-guide#are-my-payments-affected\">Do your transactions need to be PSD2 SCA compliant?<\/a> If yes, you need to <a href=\"\/pt\/online-payments\/3d-secure\">implement 3D Secure<\/a>.<\/p>\n<p>After you have implemented 3D Secure with Adyen, choose one of the <a href=\"#compliance-options\">compliance options<\/a> on this page to comply with PSD2 SCA.<\/p>\n<h2>Requirements<\/h2>\n<p>Before you begin, take into account the following requirements:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">An <a href=\"\/pt\/online-payments\/build-your-integration\">online payments integration<\/a> with <a href=\"\/pt\/online-payments\/3d-secure\">3D Secure<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Guidelines for compliance<\/h2>\n<p>PSD2 mandates strong customer authentication for online payments and online banking transactions. This means that before issuing banks authenticate a transaction, the shopper is required to provide two out of three factors:<\/p>\n<ul>\n<li>Something only the shopper knows.<\/li>\n<li>Something only the shopper possesses.<\/li>\n<li>Something the shopper is.<\/li>\n<\/ul>\n<p>For example, before an issuing bank authenticates and authorizes a payment, a shopper is required to supply an account password (something the shopper knows) and a one-time authentication code (something the shopper possesses).<\/p>\n<p>Along with 3D Secure, you can ensure your transactions meet SCA requirements by using local payment methods and international wallets. Depending on your market and use case, using these may result in significantly higher conversion rates. See our <a href=\"\/pt\/payment-methods\">payment method overview<\/a> page for all payment method options.<\/p>\n<p>Regardless of the option you choose, note that the general rule for chargeback liability shift applies:<\/p>\n<ul>\n<li>If you, Adyen on your behalf, or your acquirer requests an exemption and the request is accepted by the issuer, the liability stays with you.<\/li>\n<li>If the exemption is applied by the issuer, the liability shifts to the issuer.<\/li>\n<\/ul>\n<h2>SCA requirements for online payments<\/h2>\n<h3>One-off payments<\/h3>\n<p>SCA can be required for one-off payments depending on regulations and scheme rules.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Payment request parameter<\/th>\n<th style=\"text-align: left;\">Initial payment<\/th>\n<th style=\"text-align: left;\">Later payment<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>recurringProcessingModel<\/code><\/td>\n<td style=\"text-align: left;\"><strong>CardOnFile<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>CardOnFile<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>shopperInteraction<\/code><\/td>\n<td style=\"text-align: left;\"><strong>Ecommerce<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>ContAuth<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Subscriptions<\/h3>\n<p>SCA is required for the initial payment of a subscription.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Payment request parameter<\/th>\n<th style=\"text-align: left;\">Initial payment<\/th>\n<th style=\"text-align: left;\">Later payment<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>recurringProcessingModel<\/code><\/td>\n<td style=\"text-align: left;\"><strong>Subscription<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>Subscription<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>shopperInteraction<\/code><\/td>\n<td style=\"text-align: left;\"><strong>Ecommerce<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>ContAuth<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Automatic top-ups and other non-fixed schedule contracts<\/h3>\n<p>SCA is required for the initial payment of automatic top-ups and other non-fixed schedule contracts.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Payment request parameter<\/th>\n<th style=\"text-align: left;\">Initial payment<\/th>\n<th style=\"text-align: left;\">Later payment<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>recurringProcessingModel<\/code><\/td>\n<td style=\"text-align: left;\"><strong>UnscheduledCardOnFile<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>UnscheduledCardOnFile<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>shopperInteraction<\/code><\/td>\n<td style=\"text-align: left;\"><strong>Ecommerce<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>ContAuth<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"notices green\">\n<p>SCA is also required for subscriptions and non-fixed schedule contracts when the <em>initial payment<\/em> takes place at the <em>point of sale<\/em>. The physical card plus PIN authenticates the cardholder.<\/p>\n<\/div>\n<h2 id=\"compliance-options\">Compliance options with Adyen<\/h2>\n<p>Adyen offers the following methods for complying with PSD2 SCA:<\/p>\n<ul>\n<li><a href=\"#option-1-default-compliance\">Let Adyen handle PSD2 compliance by default.<\/a><\/li>\n<li><a href=\"#option-2-dynamic-3ds\">Configure rules using Dynamic 3D Secure.<\/a><\/li>\n<li><a href=\"#option-3-specify-your-preference-in-the-api-request\">Submit your preference for each transaction in your API request.<\/a><\/li>\n<\/ul>\n<h3>Option 1: Default compliance<\/h3>\n<p>With this option, you let Adyen handle PSD2 compliance by default.<\/p>\n<p>Our Authentication Engine will handle PSD2 SCA compliance for you. We will not trigger 3D Secure for out-of-scope transactions or if the issuing bank does not enforce 3D Secure. Our Authentication Engine will also handle requesting an exemption whenever applicable.<\/p>\n<h3>Option 2: Dynamic 3DS<\/h3>\n<p>With this option you use <a href=\"\/pt\/risk-management\/dynamic-3d-secure\">Dynamic 3D Secure<\/a> to define additional conditions for transactions that you want to apply 3D Secure authentication on. For example, you can set conditions to use 3D Secure for transactions that you deem as high risk.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Scenarios<\/th>\n<th style=\"text-align: left;\">Action from Adyen<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">Transaction meets condition with a <strong>Use 3DS: Always<\/strong> rule<\/td>\n<td style=\"text-align: left;\">We will request the issuer to perform 3D Secure 1 or 2 depending on the version supported by the issuer.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Transaction meets condition with a <strong>Use 3DS: Prefer no<\/strong> rule<\/td>\n<td style=\"text-align: left;\">We will not request 3D Secure authentication unless the issuing bank requires it to complete the authorization.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Transaction does not meet any of your configured rules<\/td>\n<td style=\"text-align: left;\">Our <a href=\"https:\/\/www.adyen.com\/knowledge-hub\/psd2-simplified-with-our-new-authentication-engine\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Authentication Engine<\/a> will automatically trigger 3D Secure (1 or 2) if a transaction is in scope of PSD2 and SCA is mandated. We expect issuers to soft decline unauthenticated transactions more as the transition period continues in 2020 and 2021. If an exemption is applicable for a transaction, we will manage the exemption request. For more information on how different countries\/regions and issuers plan to handle PSD2 SCA compliance, refer to our <a href=\"https:\/\/help.adyen.com\/knowledge\/compliance\/psd2-compliance\/what-do-i-need-to-know-about-psd2-compliance\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support guide<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>See <a href=\"\/pt\/risk-management\/dynamic-3d-secure\">Dynamic 3D Secure<\/a> to learn how you can configure rules.<\/p>\n<h3 id=\"specify-preference-in-api-request\">Option 3: Specify your preference in the API request<\/h3>\n<p>With this option, you specify your preference in the API request.<\/p>\n<div class=\"notices red\">\n<p>This option overrides our default PSD2 compliance handling logic, including checking if the transaction is out of scope, determining the most suitable exemption type, and evaluating whether to send the exemption in the authentication or authorization request.  We recommend you use the API fields only if you have an extensive knowledge of PSD2 SCA regulations and the 3D Secure protocol.<\/p>\n<\/div>\n<p>We support the following scenarios using the API request:<\/p>\n\n<div id=\"tab2NDC4\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;&lt;strong&gt;Perform 3DS authentication&lt;\\\/strong&gt;&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;With this option, you specify whether to perform 3D Secure on a per-transaction basis.&lt;\\\/p&gt;\\n&lt;p&gt;If you include one of the following parameters, it overrides any Dynamic 3D Secure rules that you have configured.&lt;\\\/p&gt;\\n&lt;h4&gt;Checkout API v69 and later&lt;\\\/h4&gt;\\n&lt;ul&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-authenticationData-attemptAuthentication\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;authenticationData.attemptAuthentication&lt;\\\/a&gt;: &lt;div data-component-wrapper=\\&quot;tag\\&quot;&gt;\\n    &lt;tag :variant=&amp;quot;warning&amp;quot;&gt;\\n        Optional\\n    &lt;\\\/tag&gt;\\n&lt;\\\/div&gt;\\n Indicates if you want to perform 3D Secure authentication for the particular transaction. Possible values:\\n&lt;ul&gt;\\n&lt;li&gt;&lt;strong&gt;always&lt;\\\/strong&gt;: Perform 3D Secure authentication.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;never&lt;\\\/strong&gt;: Do not perform 3D Secure authentication. If PSD2 SCA regulations require that you must perform authentication, the transaction gets declined.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&amp;lt;code&amp;gt;\\\/payments&amp;lt;\\\/code&amp;gt; request to perform 3D Secure authentication&#039;\\&quot; :id=\\&quot;&#039;payments-request-example-to-perform-3d-secure-authentication-1825379503&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;authenticationData\\\\&amp;quot; : {\\\\n     \\\\&amp;quot;attemptAuthentication\\\\&amp;quot; : \\\\&amp;quot;always\\\\&amp;quot;,\\\\n     \\\\&amp;quot;threeDSRequestData\\\\&amp;quot;: {\\\\n         \\\\&amp;quot;nativeThreeDS\\\\&amp;quot;: \\\\&amp;quot;preferred\\\\&amp;quot;\\\\n     }\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\\\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\\\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\\\\\\\\\/70.0.3538.110 Safari\\\\\\\\\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;:\\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;:\\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;:24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;:723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;:1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;:0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: true\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot; : \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v27.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nThreeDSRequestData threeDSRequestData = new ThreeDSRequestData()\\\\n  .nativeThreeDS(ThreeDSRequestData.NativeThreeDSEnum.PREFERRED);\\\\n\\\\nAuthenticationData authenticationData = new AuthenticationData()\\\\n  .threeDSRequestData(threeDSRequestData)\\\\n  .attemptAuthentication(AuthenticationData.AttemptAuthenticationEnum.ALWAYS);\\\\n\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nCardDetails cardDetails = new CardDetails()\\\\n  .encryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .holderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  .encryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .type(CardDetails.TypeEnum.SCHEME);\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo()\\\\n  .acceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  .screenWidth(1536)\\\\n  .javaEnabled(true)\\\\n  .screenHeight(723)\\\\n  .timeZoneOffset(0)\\\\n  .userAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  .language(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  .colorDepth(24);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .authenticationData(authenticationData)\\\\n  .amount(amount)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .origin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  .channel(PaymentRequest.ChannelEnum.WEB)\\\\n  .paymentMethod(new CheckoutPaymentMethod(cardDetails))\\\\n  .shopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  .browserInfo(browserInfo);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen PHP API Library v19.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\ThreeDSRequestData;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\AuthenticationData;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BrowserInfo;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$threeDSRequestData = new ThreeDSRequestData();\\\\n$threeDSRequestData\\\\n  -&amp;gt;setNativeThreeDS(\\\\&amp;quot;preferred\\\\&amp;quot;);\\\\n\\\\n$authenticationData = new AuthenticationData();\\\\n$authenticationData\\\\n  -&amp;gt;setThreeDSRequestData($threeDSRequestData)\\\\n  -&amp;gt;setAttemptAuthentication(\\\\&amp;quot;always\\\\&amp;quot;);\\\\n\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n\\\\n$browserInfo = new BrowserInfo();\\\\n$browserInfo\\\\n  -&amp;gt;setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  -&amp;gt;setScreenWidth(1536)\\\\n  -&amp;gt;setJavaEnabled(true)\\\\n  -&amp;gt;setScreenHeight(723)\\\\n  -&amp;gt;setTimeZoneOffset(0)\\\\n  -&amp;gt;setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  -&amp;gt;setLanguage(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  -&amp;gt;setColorDepth(24);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAuthenticationData($authenticationData)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setOrigin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setChannel(\\\\&amp;quot;web\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setBrowserInfo($browserInfo);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v17.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nThreeDSRequestData threeDSRequestData = new ThreeDSRequestData\\\\n{\\\\n  NativeThreeDS = ThreeDSRequestData.NativeThreeDSEnum.Preferred\\\\n};\\\\n\\\\nAuthenticationData authenticationData = new AuthenticationData\\\\n{\\\\n  ThreeDSRequestData = threeDSRequestData,\\\\n  AttemptAuthentication = AuthenticationData.AttemptAuthenticationEnum.Always\\\\n};\\\\n\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nCardDetails cardDetails = new CardDetails\\\\n{\\\\n  EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  Type = CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo\\\\n{\\\\n  AcceptHeader = \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth = 1536,\\\\n  JavaEnabled = true,\\\\n  ScreenHeight = 723,\\\\n  TimeZoneOffset = 0,\\\\n  UserAgent = \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language = \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth = 24\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  AuthenticationData = authenticationData,\\\\n  Amount = amount,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  Channel = PaymentRequest.ChannelEnum.Web,\\\\n  PaymentMethod = new CheckoutPaymentMethod(cardDetails),\\\\n  ShopperIP = \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo = browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  authenticationData: {\\\\n    attemptAuthentication: \\\\&amp;quot;always\\\\&amp;quot;,\\\\n    threeDSRequestData: {\\\\n      nativeThreeDS: \\\\&amp;quot;preferred\\\\&amp;quot;\\\\n    }\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    colorDepth: 24,\\\\n    screenHeight: 723,\\\\n    screenWidth: 1536,\\\\n    timeZoneOffset: 0,\\\\n    javaEnabled: true\\\\n  },\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v10.4.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nthreeDSRequestData := checkout.ThreeDSRequestData{\\\\n  NativeThreeDS: common.PtrString(\\\\&amp;quot;preferred\\\\&amp;quot;),\\\\n}\\\\n\\\\nauthenticationData := checkout.AuthenticationData{\\\\n  ThreeDSRequestData: &amp;amp;threeDSRequestData,\\\\n  AttemptAuthentication: common.PtrString(\\\\&amp;quot;always\\\\&amp;quot;),\\\\n}\\\\n\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\ncardDetails := checkout.CardDetails{\\\\n  EncryptedCardNumber: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  HolderName: common.PtrString(\\\\&amp;quot;S. Hopper\\\\&amp;quot;),\\\\n  EncryptedSecurityCode: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryYear: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryMonth: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  Type: common.PtrString(\\\\&amp;quot;scheme\\\\&amp;quot;),\\\\n}\\\\n\\\\nbrowserInfo := checkout.BrowserInfo{\\\\n  AcceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth: 1536,\\\\n  JavaEnabled: true,\\\\n  ScreenHeight: 723,\\\\n  TimeZoneOffset: 0,\\\\n  UserAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth: 24,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  AuthenticationData: &amp;amp;authenticationData,\\\\n  Amount: amount,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin: common.PtrString(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;),\\\\n  Channel: common.PtrString(\\\\&amp;quot;web\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.CardDetailsAsCheckoutPaymentMethod(&amp;amp;cardDetails),\\\\n  ShopperIP: common.PtrString(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo: &amp;amp;browserInfo,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v12.5.1\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;authenticationData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;attemptAuthentication\\\\&amp;quot;: \\\\&amp;quot;always\\\\&amp;quot;,\\\\n    \\\\&amp;quot;threeDSRequestData\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;nativeThreeDS\\\\&amp;quot;: \\\\&amp;quot;preferred\\\\&amp;quot;\\\\n    }\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;: 24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;: 723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;: 1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;: 0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: True\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v9.5.1\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;scheme&#039;,\\\\n    :encryptedCardNumber =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryMonth =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryYear =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedSecurityCode =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :holderName =&amp;gt; &#039;S. Hopper&#039;\\\\n  },\\\\n  :authenticationData =&amp;gt; {\\\\n    :attemptAuthentication =&amp;gt; &#039;always&#039;,\\\\n    :threeDSRequestData =&amp;gt; {\\\\n      :nativeThreeDS =&amp;gt; &#039;preferred&#039;\\\\n    }\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; &#039;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36&#039;,\\\\n    :acceptHeader =&amp;gt; &#039;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8&#039;,\\\\n    :language =&amp;gt; &#039;nl-NL&#039;,\\\\n    :colorDepth =&amp;gt; 24,\\\\n    :screenHeight =&amp;gt; 723,\\\\n    :screenWidth =&amp;gt; 1536,\\\\n    :timeZoneOffset =&amp;gt; 0,\\\\n    :javaEnabled =&amp;gt; true\\\\n  },\\\\n  :shopperIP =&amp;gt; &#039;192.0.2.1&#039;,\\\\n  :channel =&amp;gt; &#039;web&#039;,\\\\n  :origin =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst threeDSRequestData: Types.checkout.ThreeDSRequestData = {\\\\n  nativeThreeDS: Types.checkout.ThreeDSRequestData.NativeThreeDSEnum.Preferred\\\\n};\\\\n\\\\nconst authenticationData: Types.checkout.AuthenticationData = {\\\\n  threeDSRequestData: threeDSRequestData,\\\\n  attemptAuthentication: Types.checkout.AuthenticationData.AttemptAuthenticationEnum.Always\\\\n};\\\\n\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst cardDetails: Types.checkout.CardDetails = {\\\\n  encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  type: Types.checkout.CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nconst browserInfo: Types.checkout.BrowserInfo = {\\\\n  acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  screenWidth: 1536,\\\\n  javaEnabled: true,\\\\n  screenHeight: 723,\\\\n  timeZoneOffset: 0,\\\\n  userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  colorDepth: 24\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  authenticationData: authenticationData,\\\\n  amount: amount,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  channel: Types.checkout.PaymentRequest.ChannelEnum.Web,\\\\n  paymentMethod: cardDetails,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  browserInfo: browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;h4&gt;Checkout API v68 and earlier&lt;\\\/h4&gt;\\n&lt;ul&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-additionalData-AdditionalData3DSecure-executeThreeD\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;executeThreeD&lt;\\\/a&gt;: Indicates if you want to perform 3D Secure authentication for the particular transaction. Possible values:\\n&lt;ul&gt;\\n&lt;li&gt;&lt;strong&gt;true&lt;\\\/strong&gt;: Perform 3D Secure authentication.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;false&lt;\\\/strong&gt;: Do not perform 3D Secure authentication. If PSD2 SCA or other national regulations require that you must perform authentication, the transaction gets declined.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&amp;lt;code&amp;gt;\\\/payments&amp;lt;\\\/code&amp;gt; request for 3D Secure authentication&#039;\\&quot; :id=\\&quot;&#039;payments-request-example-for-3d-secure-authentication-3512220002&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v68\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;additionalData\\\\&amp;quot; : {\\\\n     \\\\&amp;quot;executeThreeD\\\\&amp;quot;: true,\\\\n     \\\\&amp;quot;allow3DS2\\\\&amp;quot;: true\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\\\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\\\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\\\\\\\\\/70.0.3538.110 Safari\\\\\\\\\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;:\\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;:\\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;:24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;:723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;:1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;:0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: true\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot; : \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v32.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nCardDetails cardDetails = new CardDetails()\\\\n  .encryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .holderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  .encryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .type(CardDetails.TypeEnum.SCHEME);\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo()\\\\n  .acceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  .screenWidth(1536)\\\\n  .javaEnabled(true)\\\\n  .screenHeight(723)\\\\n  .timeZoneOffset(0)\\\\n  .userAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  .language(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  .colorDepth(24);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .origin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  .channel(PaymentRequest.ChannelEnum.WEB)\\\\n  .paymentMethod(new CheckoutPaymentMethod(cardDetails))\\\\n  .shopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  .additionalData(new HashMap&amp;lt;String, String&amp;gt;(Map.of(\\\\n    \\\\&amp;quot;allow3DS2\\\\&amp;quot;, \\\\&amp;quot;true\\\\&amp;quot;,\\\\n    \\\\&amp;quot;executeThreeD\\\\&amp;quot;, \\\\&amp;quot;true\\\\&amp;quot;\\\\n  )))\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  .browserInfo(browserInfo);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;&amp;lt;?php\\\\n\\\\\\\/\\\\\\\/ Adyen PHP API Library v23.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BrowserInfo;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n\\\\n$browserInfo = new BrowserInfo();\\\\n$browserInfo\\\\n  -&amp;gt;setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  -&amp;gt;setScreenWidth(1536)\\\\n  -&amp;gt;setJavaEnabled(true)\\\\n  -&amp;gt;setScreenHeight(723)\\\\n  -&amp;gt;setTimeZoneOffset(0)\\\\n  -&amp;gt;setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  -&amp;gt;setLanguage(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  -&amp;gt;setColorDepth(24);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setOrigin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setChannel(\\\\&amp;quot;web\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  -&amp;gt;setAdditionalData(\\\\n    array(\\\\n      \\\\&amp;quot;allow3DS2\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;true\\\\&amp;quot;,\\\\n      \\\\&amp;quot;executeThreeD\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;true\\\\&amp;quot;\\\\n    )\\\\n  )\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setBrowserInfo($browserInfo);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v26.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nCardDetails cardDetails = new CardDetails\\\\n{\\\\n  EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  Type = CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo\\\\n{\\\\n  AcceptHeader = \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth = 1536,\\\\n  JavaEnabled = true,\\\\n  ScreenHeight = 723,\\\\n  TimeZoneOffset = 0,\\\\n  UserAgent = \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language = \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth = 24\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  Channel = PaymentRequest.ChannelEnum.Web,\\\\n  PaymentMethod = new CheckoutPaymentMethod(cardDetails),\\\\n  ShopperIP = \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  AdditionalData = new Dictionary&amp;lt;string, string&amp;gt;\\\\n  {\\\\n\\\\n    { \\\\&amp;quot;allow3DS2\\\\&amp;quot;, \\\\&amp;quot;true\\\\&amp;quot; },\\\\n    { \\\\&amp;quot;executeThreeD\\\\&amp;quot;, \\\\&amp;quot;true\\\\&amp;quot; }\\\\n  },\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo = browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v22.1.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst client = new Client({ apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot; });\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  additionalData: {\\\\n    executeThreeD: true,\\\\n    allow3DS2: true\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    colorDepth: 24,\\\\n    screenHeight: 723,\\\\n    screenWidth: 1536,\\\\n    timeZoneOffset: 0,\\\\n    javaEnabled: true\\\\n  },\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v16.1.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\ncardDetails := checkout.CardDetails{\\\\n  EncryptedCardNumber: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  HolderName: common.PtrString(\\\\&amp;quot;S. Hopper\\\\&amp;quot;),\\\\n  EncryptedSecurityCode: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryYear: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryMonth: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  Type: common.PtrString(\\\\&amp;quot;scheme\\\\&amp;quot;),\\\\n}\\\\n\\\\nbrowserInfo := checkout.BrowserInfo{\\\\n  AcceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth: 1536,\\\\n  JavaEnabled: true,\\\\n  ScreenHeight: 723,\\\\n  TimeZoneOffset: 0,\\\\n  UserAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth: 24,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount: amount,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin: common.PtrString(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;),\\\\n  Channel: common.PtrString(\\\\&amp;quot;web\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.CardDetailsAsCheckoutPaymentMethod(&amp;amp;cardDetails),\\\\n  ShopperIP: common.PtrString(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;),\\\\n  AdditionalData: &amp;amp;map[string]string{\\\\n    \\\\&amp;quot;allow3DS2\\\\&amp;quot;: \\\\&amp;quot;true\\\\&amp;quot;,\\\\n    \\\\&amp;quot;executeThreeD\\\\&amp;quot;: \\\\&amp;quot;true\\\\&amp;quot;,\\\\n  },\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo: &amp;amp;browserInfo,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v13.2.0\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;additionalData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;executeThreeD\\\\&amp;quot;: True,\\\\n    \\\\&amp;quot;allow3DS2\\\\&amp;quot;: True\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;: 24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;: 723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;: 1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;: 0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: True\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v10.1.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;scheme&#039;,\\\\n    :encryptedCardNumber =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryMonth =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryYear =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedSecurityCode =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :holderName =&amp;gt; &#039;S. Hopper&#039;\\\\n  },\\\\n  :additionalData =&amp;gt; {\\\\n    :executeThreeD =&amp;gt; true,\\\\n    :allow3DS2 =&amp;gt; true\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; &#039;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36&#039;,\\\\n    :acceptHeader =&amp;gt; &#039;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8&#039;,\\\\n    :language =&amp;gt; &#039;nl-NL&#039;,\\\\n    :colorDepth =&amp;gt; 24,\\\\n    :screenHeight =&amp;gt; 723,\\\\n    :screenWidth =&amp;gt; 1536,\\\\n    :timeZoneOffset =&amp;gt; 0,\\\\n    :javaEnabled =&amp;gt; true\\\\n  },\\\\n  :shopperIP =&amp;gt; &#039;192.0.2.1&#039;,\\\\n  :channel =&amp;gt; &#039;web&#039;,\\\\n  :origin =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v22.1.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst client = new Client({ apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot; });\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst cardDetails: Types.checkout.CardDetails = {\\\\n  encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  type: Types.checkout.CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nconst browserInfo: Types.checkout.BrowserInfo = {\\\\n  acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  screenWidth: 1536,\\\\n  javaEnabled: true,\\\\n  screenHeight: 723,\\\\n  timeZoneOffset: 0,\\\\n  userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  colorDepth: 24\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  channel: Types.checkout.PaymentRequest.ChannelEnum.Web,\\\\n  paymentMethod: cardDetails,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  additionalData: {\\\\n    \\\\&amp;quot;allow3DS2\\\\&amp;quot;: \\\\&amp;quot;true\\\\&amp;quot;,\\\\n    \\\\&amp;quot;executeThreeD\\\\&amp;quot;: \\\\&amp;quot;true\\\\&amp;quot;\\\\n  },\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  browserInfo: browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;perform-3ds-authentication&quot;,&quot;oldTabId&quot;:&quot;perform-3ds-authentication_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;&lt;strong&gt;Request or apply an exemption&lt;\\\/strong&gt;&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;With this option, you request a specific exemption in the 3D Secure authentication flow. The issuer can grant or deny this request. If the exemption is granted, and you use the &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure\\\/other-3ds-flows\\\/authorize-mpidata\\&quot;&gt;authorization-only flow&lt;\\\/a&gt;, you must also apply the exemption. Alternatively, Adyen can request exemptions for you.&lt;\\\/p&gt;\\n&lt;h4&gt;Step 1: Request an exemption&lt;\\\/h4&gt;\\n&lt;p&gt;To request exemption for a transaction during the authentication flow, include an additional field in your payment request, depending on your API version:&lt;\\\/p&gt;\\n&lt;div class=\\&quot;accordion-shortcode adl-accordion adl-accordion--max-height-transition\\&quot; data-expand=\\&quot;true\\&quot; data-ignore=\\&quot;anchorjs-link\\&quot;&gt;\\n    \\n    &lt;div class=\\&quot;adl-accordion__item\\&quot; style=\\&quot;\\&quot;&gt;\\n        &lt;div tabindex=\\&quot;0\\&quot; role=\\&quot;item\\&quot; aria-expanded=\\&quot;false\\&quot; class=\\&quot;adl-accordion__header\\&quot;&gt;\\n            &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n            &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot; data-accordion=\\&quot;#checkout-api-v69-and-later\\&quot;&gt;\\n                                    &lt;h4 class=\\&quot;adl-accordion__title\\&quot;&gt;Checkout API v69 and later&lt;\\\/h4&gt;\\n                            &lt;\\\/div&gt;\\n        &lt;\\\/div&gt;\\n        &lt;div role=\\&quot;region\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n            \\n&lt;ul&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-threeDS2RequestData-threeDSRequestorChallengeInd\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;threeDSRequestorChallengeInd&lt;\\\/a&gt;: Indicates your preference for a challenge for the particular transaction. Possible values:\\n&lt;ul&gt;\\n&lt;li&gt;&lt;strong&gt;01&lt;\\\/strong&gt;: No preference. Default if not set.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;02&lt;\\\/strong&gt;: No challenge requested.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;03&lt;\\\/strong&gt;: Challenge requested (3DS Requestor preference).&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;04&lt;\\\/strong&gt;: Challenge requested (Mandate).&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;05&lt;\\\/strong&gt;: No challenge (transactional risk analysis is already performed).&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;The following table describes sample setting and request values:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Dynamic 3D Secure setting&lt;\\\/th&gt;\\n&lt;th&gt;scaExemption provided?&lt;\\\/th&gt;\\n&lt;th&gt;threeDSRequestorChallengeInd provided?&lt;\\\/th&gt;\\n&lt;th&gt;Action from Adyen&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen performs 3D Secure authentication depending on the version the issuer supports.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;transactionRiskAnalysis&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen applies and asks for the specified exemption in the authorization request.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;PREFERNO&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;lowValue&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen applies and asks for the specified exemption in an authorization request. Device fingerprinting isn&#039;t performed.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;PREFERNO&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen chooses the path with the highest authorization rate.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;02&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen performs 3D Secure authentication depending on the version the issuer supports. We relay your challenge preference to the issuer. However, the issuer decides if the shopper gets a challenge.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&amp;lt;code&amp;gt;\\\/payments&amp;lt;\\\/code&amp;gt; request with &amp;lt;em&amp;gt;No challenge requested&amp;lt;\\\/em&amp;gt;&#039;\\&quot; :id=\\&quot;&#039;payments-request-sample-to-request-no-challenge-7633030919&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;threeDS2RequestData\\\\&amp;quot; : {\\\\n     \\\\&amp;quot;threeDSRequestorChallengeInd\\\\&amp;quot;: \\\\&amp;quot;02\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\\\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\\\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\\\\\\\\\/70.0.3538.110 Safari\\\\\\\\\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;:\\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;:\\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;:24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;:723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;:1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;:0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: true\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot; : \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v27.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nThreeDS2RequestFields threeDS2RequestFields = new ThreeDS2RequestFields()\\\\n  .threeDSRequestorChallengeInd(ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum.02);\\\\n\\\\nCardDetails cardDetails = new CardDetails()\\\\n  .encryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .holderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  .encryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .type(CardDetails.TypeEnum.SCHEME);\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo()\\\\n  .acceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  .screenWidth(1536)\\\\n  .javaEnabled(true)\\\\n  .screenHeight(723)\\\\n  .timeZoneOffset(0)\\\\n  .userAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  .language(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  .colorDepth(24);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .threeDS2RequestData(threeDS2RequestFields)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .origin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  .channel(PaymentRequest.ChannelEnum.WEB)\\\\n  .paymentMethod(new CheckoutPaymentMethod(cardDetails))\\\\n  .shopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  .browserInfo(browserInfo);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen PHP API Library v19.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\ThreeDS2RequestFields;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BrowserInfo;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$threeDS2RequestFields = new ThreeDS2RequestFields();\\\\n$threeDS2RequestFields\\\\n  -&amp;gt;setThreeDSRequestorChallengeInd(\\\\&amp;quot;02\\\\&amp;quot;);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n\\\\n$browserInfo = new BrowserInfo();\\\\n$browserInfo\\\\n  -&amp;gt;setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  -&amp;gt;setScreenWidth(1536)\\\\n  -&amp;gt;setJavaEnabled(true)\\\\n  -&amp;gt;setScreenHeight(723)\\\\n  -&amp;gt;setTimeZoneOffset(0)\\\\n  -&amp;gt;setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  -&amp;gt;setLanguage(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  -&amp;gt;setColorDepth(24);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setThreeDS2RequestData($threeDS2RequestFields)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setOrigin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setChannel(\\\\&amp;quot;web\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setBrowserInfo($browserInfo);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v17.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nThreeDS2RequestFields threeDS2RequestFields = new ThreeDS2RequestFields\\\\n{\\\\n  ThreeDSRequestorChallengeInd = ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum.02\\\\n};\\\\n\\\\nCardDetails cardDetails = new CardDetails\\\\n{\\\\n  EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  Type = CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo\\\\n{\\\\n  AcceptHeader = \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth = 1536,\\\\n  JavaEnabled = true,\\\\n  ScreenHeight = 723,\\\\n  TimeZoneOffset = 0,\\\\n  UserAgent = \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language = \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth = 24\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  ThreeDS2RequestData = threeDS2RequestFields,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  Channel = PaymentRequest.ChannelEnum.Web,\\\\n  PaymentMethod = new CheckoutPaymentMethod(cardDetails),\\\\n  ShopperIP = \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo = browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  threeDS2RequestData: {\\\\n    threeDSRequestorChallengeInd: \\\\&amp;quot;02\\\\&amp;quot;\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    colorDepth: 24,\\\\n    screenHeight: 723,\\\\n    screenWidth: 1536,\\\\n    timeZoneOffset: 0,\\\\n    javaEnabled: true\\\\n  },\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v10.4.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\nthreeDS2RequestFields := checkout.ThreeDS2RequestFields{\\\\n  ThreeDSRequestorChallengeInd: common.PtrString(\\\\&amp;quot;02\\\\&amp;quot;),\\\\n}\\\\n\\\\ncardDetails := checkout.CardDetails{\\\\n  EncryptedCardNumber: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  HolderName: common.PtrString(\\\\&amp;quot;S. Hopper\\\\&amp;quot;),\\\\n  EncryptedSecurityCode: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryYear: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryMonth: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  Type: common.PtrString(\\\\&amp;quot;scheme\\\\&amp;quot;),\\\\n}\\\\n\\\\nbrowserInfo := checkout.BrowserInfo{\\\\n  AcceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth: 1536,\\\\n  JavaEnabled: true,\\\\n  ScreenHeight: 723,\\\\n  TimeZoneOffset: 0,\\\\n  UserAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth: 24,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount: amount,\\\\n  ThreeDS2RequestData: &amp;amp;threeDS2RequestFields,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin: common.PtrString(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;),\\\\n  Channel: common.PtrString(\\\\&amp;quot;web\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.CardDetailsAsCheckoutPaymentMethod(&amp;amp;cardDetails),\\\\n  ShopperIP: common.PtrString(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo: &amp;amp;browserInfo,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v12.5.1\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;threeDS2RequestData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;threeDSRequestorChallengeInd\\\\&amp;quot;: \\\\&amp;quot;02\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;: 24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;: 723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;: 1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;: 0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: True\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v9.5.1\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;scheme&#039;,\\\\n    :encryptedCardNumber =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryMonth =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryYear =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedSecurityCode =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :holderName =&amp;gt; &#039;S. Hopper&#039;\\\\n  },\\\\n  :threeDS2RequestData =&amp;gt; {\\\\n    :threeDSRequestorChallengeInd =&amp;gt; &#039;02&#039;\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; &#039;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36&#039;,\\\\n    :acceptHeader =&amp;gt; &#039;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8&#039;,\\\\n    :language =&amp;gt; &#039;nl-NL&#039;,\\\\n    :colorDepth =&amp;gt; 24,\\\\n    :screenHeight =&amp;gt; 723,\\\\n    :screenWidth =&amp;gt; 1536,\\\\n    :timeZoneOffset =&amp;gt; 0,\\\\n    :javaEnabled =&amp;gt; true\\\\n  },\\\\n  :shopperIP =&amp;gt; &#039;192.0.2.1&#039;,\\\\n  :channel =&amp;gt; &#039;web&#039;,\\\\n  :origin =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst threeDS2RequestFields: Types.checkout.ThreeDS2RequestFields = {\\\\n  threeDSRequestorChallengeInd: Types.checkout.ThreeDS2RequestFields.ThreeDSRequestorChallengeIndEnum.02\\\\n};\\\\n\\\\nconst cardDetails: Types.checkout.CardDetails = {\\\\n  encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  type: Types.checkout.CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nconst browserInfo: Types.checkout.BrowserInfo = {\\\\n  acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  screenWidth: 1536,\\\\n  javaEnabled: true,\\\\n  screenHeight: 723,\\\\n  timeZoneOffset: 0,\\\\n  userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  colorDepth: 24\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  threeDS2RequestData: threeDS2RequestFields,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  channel: Types.checkout.PaymentRequest.ChannelEnum.Web,\\\\n  paymentMethod: cardDetails,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  browserInfo: browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n\\n        &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n&lt;\\\/div&gt;\\n\\n&lt;div class=\\&quot;accordion-shortcode adl-accordion adl-accordion--max-height-transition\\&quot; data-expand=\\&quot;true\\&quot; data-ignore=\\&quot;anchorjs-link\\&quot;&gt;\\n    \\n    &lt;div class=\\&quot;adl-accordion__item\\&quot; style=\\&quot;\\&quot;&gt;\\n        &lt;div tabindex=\\&quot;0\\&quot; role=\\&quot;item\\&quot; aria-expanded=\\&quot;false\\&quot; class=\\&quot;adl-accordion__header\\&quot;&gt;\\n            &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n            &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot; data-accordion=\\&quot;#checkout-api-v68-and-earlier\\&quot;&gt;\\n                                    &lt;h4 class=\\&quot;adl-accordion__title\\&quot;&gt;Checkout API v68 and earlier&lt;\\\/h4&gt;\\n                            &lt;\\\/div&gt;\\n        &lt;\\\/div&gt;\\n        &lt;div role=\\&quot;region\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n            \\n&lt;ul&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-threeDS2RequestData-challengeIndicator\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;challengeIndicator&lt;\\\/a&gt;: Indicates your preference for a challenge for the particular transaction. Possible values:\\n&lt;ul&gt;\\n&lt;li&gt;&lt;strong&gt;noPreference&lt;\\\/strong&gt;: Default if not set.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;requestNoChallenge&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;requestChallenge&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;requestChallengeAsMandate&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;requestNoChallengeRiskAlreadyPerformed&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;The following table describes sample setting and request values:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Dynamic 3D Secure setting&lt;\\\/th&gt;\\n&lt;th&gt;scaExemption provided?&lt;\\\/th&gt;\\n&lt;th&gt;challengeIndicator provided?&lt;\\\/th&gt;\\n&lt;th&gt;Action from Adyen&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen performs 3D Secure authentication depending on the version the issuer supports.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;transactionRiskAnalysis&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen applies and asks for the specified exemption in the authorization request.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;PREFERNO&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;lowValue&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen applies and asks for the specified exemption in an authorization request. Device fingerprinting isn&#039;t performed.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;PREFERNO&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen chooses the path with the highest authorization rate.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;ALWAYS&lt;\\\/td&gt;\\n&lt;td&gt;No.&lt;\\\/td&gt;\\n&lt;td&gt;Yes, for example &lt;strong&gt;requestNoChallenge&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&gt;Adyen performs 3D Secure authentication depending on the version the issuer supports. We relay your challenge preference to the issuer. However, the issuer decides if the shopper gets a challenge.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&amp;lt;code&amp;gt;\\\/payments&amp;lt;\\\/code&amp;gt; request with &amp;lt;code&amp;gt;requestNoChallenge&amp;lt;\\\/code&amp;gt;&#039;\\&quot; :id=\\&quot;&#039;payments-request-sample-with-request-no-challenge-4415045964&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v68\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;threeDS2RequestData\\\\&amp;quot; : {\\\\n     \\\\&amp;quot;challengeIndicator\\\\&amp;quot;: \\\\&amp;quot;requestNoChallenge\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\\\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\\\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\\\\\\\\\/70.0.3538.110 Safari\\\\\\\\\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;:\\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;:\\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;:24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;:723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;:1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;:0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: true\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot; : \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; : \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v27.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nThreeDS2RequestFields threeDS2RequestFields = new ThreeDS2RequestFields()\\\\n  .challengeIndicator(ThreeDS2RequestFields.ChallengeIndicatorEnum.REQUESTNOCHALLENGE);\\\\n\\\\nCardDetails cardDetails = new CardDetails()\\\\n  .encryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .holderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  .encryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .encryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  .type(CardDetails.TypeEnum.SCHEME);\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo()\\\\n  .acceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  .screenWidth(1536)\\\\n  .javaEnabled(true)\\\\n  .screenHeight(723)\\\\n  .timeZoneOffset(0)\\\\n  .userAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  .language(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  .colorDepth(24);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .threeDS2RequestData(threeDS2RequestFields)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .origin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  .channel(PaymentRequest.ChannelEnum.WEB)\\\\n  .paymentMethod(new CheckoutPaymentMethod(cardDetails))\\\\n  .shopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  .browserInfo(browserInfo);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen PHP API Library v19.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\ThreeDS2RequestFields;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BrowserInfo;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$threeDS2RequestFields = new ThreeDS2RequestFields();\\\\n$threeDS2RequestFields\\\\n  -&amp;gt;setChallengeIndicator(\\\\&amp;quot;requestNoChallenge\\\\&amp;quot;);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$MT6ppy0FAMVMLH...\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n\\\\n$browserInfo = new BrowserInfo();\\\\n$browserInfo\\\\n  -&amp;gt;setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;)\\\\n  -&amp;gt;setScreenWidth(1536)\\\\n  -&amp;gt;setJavaEnabled(true)\\\\n  -&amp;gt;setScreenHeight(723)\\\\n  -&amp;gt;setTimeZoneOffset(0)\\\\n  -&amp;gt;setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;)\\\\n  -&amp;gt;setLanguage(\\\\&amp;quot;nl-NL\\\\&amp;quot;)\\\\n  -&amp;gt;setColorDepth(24);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setThreeDS2RequestData($threeDS2RequestFields)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setOrigin(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setChannel(\\\\&amp;quot;web\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;)\\\\n  -&amp;gt;setBrowserInfo($browserInfo);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v17.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nThreeDS2RequestFields threeDS2RequestFields = new ThreeDS2RequestFields\\\\n{\\\\n  ChallengeIndicator = ThreeDS2RequestFields.ChallengeIndicatorEnum.RequestNoChallenge\\\\n};\\\\n\\\\nCardDetails cardDetails = new CardDetails\\\\n{\\\\n  EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  Type = CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nBrowserInfo browserInfo = new BrowserInfo\\\\n{\\\\n  AcceptHeader = \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth = 1536,\\\\n  JavaEnabled = true,\\\\n  ScreenHeight = 723,\\\\n  TimeZoneOffset = 0,\\\\n  UserAgent = \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language = \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth = 24\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  ThreeDS2RequestData = threeDS2RequestFields,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  Channel = PaymentRequest.ChannelEnum.Web,\\\\n  PaymentMethod = new CheckoutPaymentMethod(cardDetails),\\\\n  ShopperIP = \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo = browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  threeDS2RequestData: {\\\\n    challengeIndicator: \\\\&amp;quot;requestNoChallenge\\\\&amp;quot;\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    colorDepth: 24,\\\\n    screenHeight: 723,\\\\n    screenWidth: 1536,\\\\n    timeZoneOffset: 0,\\\\n    javaEnabled: true\\\\n  },\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v10.4.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\nthreeDS2RequestFields := checkout.ThreeDS2RequestFields{\\\\n  ChallengeIndicator: common.PtrString(\\\\&amp;quot;requestNoChallenge\\\\&amp;quot;),\\\\n}\\\\n\\\\ncardDetails := checkout.CardDetails{\\\\n  EncryptedCardNumber: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  HolderName: common.PtrString(\\\\&amp;quot;S. Hopper\\\\&amp;quot;),\\\\n  EncryptedSecurityCode: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryYear: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  EncryptedExpiryMonth: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;),\\\\n  Type: common.PtrString(\\\\&amp;quot;scheme\\\\&amp;quot;),\\\\n}\\\\n\\\\nbrowserInfo := checkout.BrowserInfo{\\\\n  AcceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  ScreenWidth: 1536,\\\\n  JavaEnabled: true,\\\\n  ScreenHeight: 723,\\\\n  TimeZoneOffset: 0,\\\\n  UserAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  Language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  ColorDepth: 24,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount: amount,\\\\n  ThreeDS2RequestData: &amp;amp;threeDS2RequestFields,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  Origin: common.PtrString(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;),\\\\n  Channel: common.PtrString(\\\\&amp;quot;web\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.CardDetailsAsCheckoutPaymentMethod(&amp;amp;cardDetails),\\\\n  ShopperIP: common.PtrString(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  BrowserInfo: &amp;amp;browserInfo,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v12.5.1\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;threeDS2RequestData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;challengeIndicator\\\\&amp;quot;: \\\\&amp;quot;requestNoChallenge\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot;: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n    \\\\&amp;quot;language\\\\&amp;quot;: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;colorDepth\\\\&amp;quot;: 24,\\\\n    \\\\&amp;quot;screenHeight\\\\&amp;quot;: 723,\\\\n    \\\\&amp;quot;screenWidth\\\\&amp;quot;: 1536,\\\\n    \\\\&amp;quot;timeZoneOffset\\\\&amp;quot;: 0,\\\\n    \\\\&amp;quot;javaEnabled\\\\&amp;quot;: True\\\\n  },\\\\n  \\\\&amp;quot;shopperIP\\\\&amp;quot;: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;origin\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v9.5.1\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;scheme&#039;,\\\\n    :encryptedCardNumber =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryMonth =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedExpiryYear =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :encryptedSecurityCode =&amp;gt; &#039;adyenjs_0_1_18$MT6ppy0FAMVMLH...&#039;,\\\\n    :holderName =&amp;gt; &#039;S. Hopper&#039;\\\\n  },\\\\n  :threeDS2RequestData =&amp;gt; {\\\\n    :challengeIndicator =&amp;gt; &#039;requestNoChallenge&#039;\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; &#039;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36&#039;,\\\\n    :acceptHeader =&amp;gt; &#039;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8&#039;,\\\\n    :language =&amp;gt; &#039;nl-NL&#039;,\\\\n    :colorDepth =&amp;gt; 24,\\\\n    :screenHeight =&amp;gt; 723,\\\\n    :screenWidth =&amp;gt; 1536,\\\\n    :timeZoneOffset =&amp;gt; 0,\\\\n    :javaEnabled =&amp;gt; true\\\\n  },\\\\n  :shopperIP =&amp;gt; &#039;192.0.2.1&#039;,\\\\n  :channel =&amp;gt; &#039;web&#039;,\\\\n  :origin =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst threeDS2RequestFields: Types.checkout.ThreeDS2RequestFields = {\\\\n  challengeIndicator: Types.checkout.ThreeDS2RequestFields.ChallengeIndicatorEnum.RequestNoChallenge\\\\n};\\\\n\\\\nconst cardDetails: Types.checkout.CardDetails = {\\\\n  encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$MT6ppy0FAMVMLH...\\\\&amp;quot;,\\\\n  type: Types.checkout.CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nconst browserInfo: Types.checkout.BrowserInfo = {\\\\n  acceptHeader: \\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;,\\\\n  screenWidth: 1536,\\\\n  javaEnabled: true,\\\\n  screenHeight: 723,\\\\n  timeZoneOffset: 0,\\\\n  userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/70.0.3538.110 Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n  language: \\\\&amp;quot;nl-NL\\\\&amp;quot;,\\\\n  colorDepth: 24\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  threeDS2RequestData: threeDS2RequestFields,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  origin: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/\\\\&amp;quot;,\\\\n  channel: Types.checkout.PaymentRequest.ChannelEnum.Web,\\\\n  paymentMethod: cardDetails,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout\\\\\\\/\\\\&amp;quot;,\\\\n  browserInfo: browserInfo\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n\\n        &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n&lt;\\\/div&gt;\\n\\n&lt;h4&gt;Possible responses&lt;\\\/h4&gt;\\n&lt;p&gt;The  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response contains a &lt;code&gt;transStatus&lt;\\\/code&gt; parameter that tells you if the requested exemption was granted. If you use the &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure\\\/standalone-authentication\\&quot;&gt;authentication-only flow&lt;\\\/a&gt;, your integration must be able to handle all the following responses.&lt;\\\/p&gt;\\n&lt;p&gt;When the issuer declines the exemption without failing the transaction, you get a response indicating that an authentication is required for the transaction and the shopper must challenged.&lt;\\\/p&gt;\\n&lt;p&gt;The response differs depending on scheme (Visa or Mastercard) and 3D Secure 2 version (2.2 or 2.1):&lt;\\\/p&gt;\\n&lt;div class=\\&quot;accordion-shortcode adl-accordion adl-accordion--max-height-transition\\&quot; data-expand=\\&quot;true\\&quot; data-ignore=\\&quot;anchorjs-link\\&quot;&gt;\\n    \\n    &lt;div class=\\&quot;adl-accordion__item\\&quot; style=\\&quot;\\&quot;&gt;\\n        &lt;div tabindex=\\&quot;0\\&quot; role=\\&quot;item\\&quot; aria-expanded=\\&quot;false\\&quot; class=\\&quot;adl-accordion__header\\&quot;&gt;\\n            &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n            &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot; data-accordion=\\&quot;#3-d-secure-2-2\\&quot;&gt;\\n                                    &lt;h4 class=\\&quot;adl-accordion__title\\&quot;&gt;3D Secure 2.2&lt;\\\/h4&gt;\\n                            &lt;\\\/div&gt;\\n        &lt;\\\/div&gt;\\n        &lt;div role=\\&quot;region\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n            \\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Scheme&lt;\\\/th&gt;\\n&lt;th&gt;Granted&lt;\\\/th&gt;\\n&lt;th&gt;Not granted&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;Visa&lt;\\\/td&gt;\\n&lt;td&gt;- &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;I&lt;\\\/strong&gt;&lt;br&gt;- &lt;code&gt;ECI&lt;\\\/code&gt;: &lt;strong&gt;07&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Either:&lt;br&gt;- &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure#challenge-flow\\&quot;&gt;Challenge&lt;\\\/a&gt; with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;C&lt;\\\/strong&gt;. &lt;br&gt;- Failure with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;N&lt;\\\/strong&gt;, &lt;strong&gt;R&lt;\\\/strong&gt;, &lt;strong&gt;U&lt;\\\/strong&gt;, or &lt;strong&gt;A&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;Mastercard&lt;\\\/td&gt;\\n&lt;td&gt;- &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;I&lt;\\\/strong&gt;&lt;br&gt;- &lt;code&gt;ECI&lt;\\\/code&gt;: &lt;strong&gt;07&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Either:&lt;br&gt;- &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure#challenge-flow\\&quot;&gt;Challenge&lt;\\\/a&gt; with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;C&lt;\\\/strong&gt;. &lt;br&gt;- Failure with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;N&lt;\\\/strong&gt;, &lt;strong&gt;R&lt;\\\/strong&gt;, &lt;strong&gt;U&lt;\\\/strong&gt;, or &lt;strong&gt;A&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n\\n        &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n&lt;\\\/div&gt;\\n\\n&lt;div class=\\&quot;accordion-shortcode adl-accordion adl-accordion--max-height-transition\\&quot; data-expand=\\&quot;true\\&quot; data-ignore=\\&quot;anchorjs-link\\&quot;&gt;\\n    \\n    &lt;div class=\\&quot;adl-accordion__item\\&quot; style=\\&quot;\\&quot;&gt;\\n        &lt;div tabindex=\\&quot;0\\&quot; role=\\&quot;item\\&quot; aria-expanded=\\&quot;false\\&quot; class=\\&quot;adl-accordion__header\\&quot;&gt;\\n            &lt;i class=\\&quot;adl-accordion__toggle adl-icon-chevron-down\\&quot;&gt;&lt;\\\/i&gt;\\n            &lt;div class=\\&quot;adl-accordion__title-wrapper\\&quot; data-accordion=\\&quot;#3-d-secure-2-1\\&quot;&gt;\\n                                    &lt;h4 class=\\&quot;adl-accordion__title\\&quot;&gt;3D Secure 2.1&lt;\\\/h4&gt;\\n                            &lt;\\\/div&gt;\\n        &lt;\\\/div&gt;\\n        &lt;div role=\\&quot;region\\&quot; class=\\&quot;adl-accordion__content\\&quot;&gt;\\n            \\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Scheme&lt;\\\/th&gt;\\n&lt;th&gt;Granted&lt;\\\/th&gt;\\n&lt;th&gt;Not granted&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;Visa&lt;\\\/td&gt;\\n&lt;td&gt;Exemptions not supported.&lt;\\\/td&gt;\\n&lt;td&gt;Exemptions not supported.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;Mastercard&lt;\\\/td&gt;\\n&lt;td&gt;- &lt;code&gt;directoryResponse&lt;\\\/code&gt;: &lt;strong&gt;N&lt;\\\/strong&gt;&lt;br&gt;- &lt;code&gt;ECI&lt;\\\/code&gt;: &lt;strong&gt;07&lt;\\\/strong&gt; or &lt;strong&gt;06&lt;\\\/strong&gt;&lt;br&gt;- &lt;code&gt;transStatusReason&lt;\\\/code&gt;: &lt;strong&gt;81&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Either:&lt;br&gt;- &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure#challenge-flow\\&quot;&gt;Challenge&lt;\\\/a&gt; with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;C&lt;\\\/strong&gt;. &lt;br&gt;- Failure with &lt;code&gt;transStatus&lt;\\\/code&gt;: &lt;strong&gt;N&lt;\\\/strong&gt;, &lt;strong&gt;R&lt;\\\/strong&gt;, &lt;strong&gt;U&lt;\\\/strong&gt;, or &lt;strong&gt;A&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n\\n        &lt;\\\/div&gt;\\n    &lt;\\\/div&gt;\\n&lt;\\\/div&gt;\\n\\n&lt;h4 id=\\&quot;apply-exemption\\&quot;&gt;Step 2: Apply the exemption in the authorization&lt;\\\/h4&gt;\\n&lt;p&gt;To apply an exemption in the &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/3d-secure\\\/other-3ds-flows\\\/authorize-mpidata\\&quot;&gt;authorization-only flow&lt;\\\/a&gt;, use the &lt;a href=\\&quot;#possible-responses\\&quot;&gt;response values from the authentication flow&lt;\\\/a&gt;:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-additionalData-listOfValues-scaExemption\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;scaExemption&lt;\\\/a&gt;: Indicates the exemption type that you want to request for the transaction. If you include a value, it overrides Adyen&#039;s exemption logic. Possible values:\\n&lt;ul&gt;\\n&lt;li&gt;&lt;strong&gt;lowValue&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;secureCorporate&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;trustedBeneficiary&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;li&gt;&lt;strong&gt;transactionRiskAnalysis&lt;\\\/strong&gt;: By default, Adyen will determine whether it is possible to apply a TRA exemption on a transaction as per the &lt;a href=\\&quot;?tab=default_compliance_0_1#compliance-options\\&quot;&gt;default compliance option&lt;\\\/a&gt;. You have the option to change this default setting in the Customer Area. Doing this will override Adyen&#039;s choice to apply TRA for a transaction or not.&lt;br&gt;Navigate to &lt;strong&gt;Revenue &amp;amp; risk&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Risk Settings&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;General&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Perform TRA&lt;\\\/strong&gt;. Choose &lt;strong&gt;Enable 3rd party\\\/proprietary risk solution TRA&lt;\\\/strong&gt; to apply the TRA exemption yourself per transaction, or choose &lt;strong&gt;Disable&lt;\\\/strong&gt; to never apply a TRA exemption.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;&lt;\\\/li&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-mpiData-directoryResponse\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;directoryResponse&lt;\\\/a&gt;: The &lt;code&gt;transStatus&lt;\\\/code&gt; from the Authentication-only flow response.&lt;\\\/li&gt;\\n&lt;li&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-mpiData-eci\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;eci&lt;\\\/a&gt;: The &lt;code&gt;ECI&lt;\\\/code&gt; from the Authentication-only flow response.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&amp;lt;code&amp;gt;\\\/payments&amp;lt;\\\/code&amp;gt; request to apply the exemption&#039;\\&quot; :id=\\&quot;&#039;payments-request-to-apply-the-exemption-4482675112&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;Web\\\\&amp;quot;,\\\\n  \\\\&amp;quot;mpiData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;directoryResponse\\\\&amp;quot;: \\\\&amp;quot;I\\\\&amp;quot;,\\\\n    \\\\&amp;quot;eci\\\\&amp;quot;: \\\\&amp;quot;07\\\\&amp;quot;,\\\\n    \\\\&amp;quot;dsTransID\\\\&amp;quot;: \\\\&amp;quot;c4e59ceb-a382-4d6a-bc87-385d591fa09d\\\\&amp;quot;,\\\\n    \\\\&amp;quot;threeDSVersion\\\\&amp;quot;: \\\\&amp;quot;2.2.0\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;additionalData\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;scaExemption\\\\&amp;quot;: \\\\&amp;quot;lowValue\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;visa\\\\&amp;quot;,\\\\n    \\\\&amp;quot;number\\\\&amp;quot;: \\\\&amp;quot;4917610000000000\\\\&amp;quot;,\\\\n    \\\\&amp;quot;expiryMonth\\\\&amp;quot;: \\\\&amp;quot;03\\\\&amp;quot;,\\\\n    \\\\&amp;quot;expiryYear\\\\&amp;quot;: \\\\&amp;quot;2030\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;John Smith\\\\&amp;quot;,\\\\n    \\\\&amp;quot;cvc\\\\&amp;quot;: \\\\&amp;quot;737\\\\&amp;quot;\\\\n  }\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;request-exemption&quot;,&quot;oldTabId&quot;:&quot;request-exemption_2&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/online-payments\/psd2-sca-compliance-and-implementation-guide\/sca-exemptions\"\n                        target=\"_self\"\n                        >\n                    SCA exemptions\n                <\/a><\/li><li><a href=\"\/online-payments\/3d-secure\/#implement-3d-secure-2\"\n                        target=\"_self\"\n                        >\n                    3D Secure implementation options\n                <\/a><\/li><li><a href=\"\/online-payments\/3d-secure\/native-3ds2\"\n                        target=\"_self\"\n                        >\n                    3D Secure 2 native integration\n                <\/a><\/li><li><a href=\"\/risk-management\/dynamic-3d-secure\"\n                        target=\"_self\"\n                        >\n                    Dynamic 3D Secure\n                <\/a><\/li><li><a href=\"https:\/\/help.adyen.com\/knowledge\/compliance\/psd2-compliance\/what-do-i-need-to-know-about-psd2-compliance\"\n                        target=\"_blank\"\n                         class=\"external\">\n                    Support guide for PSD2 SCA compliance\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/online-payments\/psd2-sca-compliance-and-implementation-guide\/sca-options","articleFields":{"description":"Learn how to implement required PSD2 SCA compliance for your transactions.","feedback_component":true,"filters_component":false,"last_edit_on":"07-04-2023 15:29"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/online-payments\/psd2-sca-compliance-and-implementation-guide\/sca-options","title":"Implement SCA compliance","content":"Do your transactions need to be PSD2 SCA compliant? If yes, you need to implement 3D Secure.\nAfter you have implemented 3D Secure with Adyen, choose one of the compliance options on this page to comply with PSD2 SCA.\nRequirements\nBefore you begin, take into account the following requirements:\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nAn online payments integration with 3D Secure.\n\n\n\nGuidelines for compliance\nPSD2 mandates strong customer authentication for online payments and online banking transactions. This means that before issuing banks authenticate a transaction, the shopper is required to provide two out of three factors:\n\nSomething only the shopper knows.\nSomething only the shopper possesses.\nSomething the shopper is.\n\nFor example, before an issuing bank authenticates and authorizes a payment, a shopper is required to supply an account password (something the shopper knows) and a one-time authentication code (something the shopper possesses).\nAlong with 3D Secure, you can ensure your transactions meet SCA requirements by using local payment methods and international wallets. Depending on your market and use case, using these may result in significantly higher conversion rates. See our payment method overview page for all payment method options.\nRegardless of the option you choose, note that the general rule for chargeback liability shift applies:\n\nIf you, Adyen on your behalf, or your acquirer requests an exemption and the request is accepted by the issuer, the liability stays with you.\nIf the exemption is applied by the issuer, the liability shifts to the issuer.\n\nSCA requirements for online payments\nOne-off payments\nSCA can be required for one-off payments depending on regulations and scheme rules.\n\n\n\nPayment request parameter\nInitial payment\nLater payment\n\n\n\n\nrecurringProcessingModel\nCardOnFile\nCardOnFile\n\n\nshopperInteraction\nEcommerce\nContAuth\n\n\n\nSubscriptions\nSCA is required for the initial payment of a subscription.\n\n\n\nPayment request parameter\nInitial payment\nLater payment\n\n\n\n\nrecurringProcessingModel\nSubscription\nSubscription\n\n\nshopperInteraction\nEcommerce\nContAuth\n\n\n\nAutomatic top-ups and other non-fixed schedule contracts\nSCA is required for the initial payment of automatic top-ups and other non-fixed schedule contracts.\n\n\n\nPayment request parameter\nInitial payment\nLater payment\n\n\n\n\nrecurringProcessingModel\nUnscheduledCardOnFile\nUnscheduledCardOnFile\n\n\nshopperInteraction\nEcommerce\nContAuth\n\n\n\n\nSCA is also required for subscriptions and non-fixed schedule contracts when the initial payment takes place at the point of sale. The physical card plus PIN authenticates the cardholder.\n\nCompliance options with Adyen\nAdyen offers the following methods for complying with PSD2 SCA:\n\nLet Adyen handle PSD2 compliance by default.\nConfigure rules using Dynamic 3D Secure.\nSubmit your preference for each transaction in your API request.\n\nOption 1: Default compliance\nWith this option, you let Adyen handle PSD2 compliance by default.\nOur Authentication Engine will handle PSD2 SCA compliance for you. We will not trigger 3D Secure for out-of-scope transactions or if the issuing bank does not enforce 3D Secure. Our Authentication Engine will also handle requesting an exemption whenever applicable.\nOption 2: Dynamic 3DS\nWith this option you use Dynamic 3D Secure to define additional conditions for transactions that you want to apply 3D Secure authentication on. For example, you can set conditions to use 3D Secure for transactions that you deem as high risk.\n\n\n\nScenarios\nAction from Adyen\n\n\n\n\nTransaction meets condition with a Use 3DS: Always rule\nWe will request the issuer to perform 3D Secure 1 or 2 depending on the version supported by the issuer.\n\n\nTransaction meets condition with a Use 3DS: Prefer no rule\nWe will not request 3D Secure authentication unless the issuing bank requires it to complete the authorization.\n\n\nTransaction does not meet any of your configured rules\nOur Authentication Engine will automatically trigger 3D Secure (1 or 2) if a transaction is in scope of PSD2 and SCA is mandated. We expect issuers to soft decline unauthenticated transactions more as the transition period continues in 2020 and 2021. If an exemption is applicable for a transaction, we will manage the exemption request. For more information on how different countries\/regions and issuers plan to handle PSD2 SCA compliance, refer to our Support guide.\n\n\n\nSee Dynamic 3D Secure to learn how you can configure rules.\nOption 3: Specify your preference in the API request\nWith this option, you specify your preference in the API request.\n\nThis option overrides our default PSD2 compliance handling logic, including checking if the transaction is out of scope, determining the most suitable exemption type, and evaluating whether to send the exemption in the authentication or authorization request.  We recommend you use the API fields only if you have an extensive knowledge of PSD2 SCA regulations and the 3D Secure protocol.\n\nWe support the following scenarios using the API request:\n\n\n    \n        \n        \n    \n\n\nSee also\n\n\n                    SCA exemptions\n                \n                    3D Secure implementation options\n                \n                    3D Secure 2 native integration\n                \n                    Dynamic 3D Secure\n                \n                    Support guide for PSD2 SCA compliance\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"PSD2 SCA compliance guide","lvl3":"Implement SCA compliance"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/online-payments","lvl2":"https:\/\/docs.adyen.com\/pt\/online-payments\/psd2-sca-compliance-and-implementation-guide","lvl3":"\/pt\/online-payments\/psd2-sca-compliance-and-implementation-guide\/sca-options"},"levels":4,"category":"Online Payments","category_color":"green","tags":["Implement","compliance"]},"articleFiles":{"payments-request-example-for-3d-secure-authentication-3512220002.js":"<p alt=\"\">payments-request-example-for-3d-secure-authentication-3512220002.js<\/p>","payments-request-example-to-perform-3d-secure-authentication-1825379503.js":"<p alt=\"\">payments-request-example-to-perform-3d-secure-authentication-1825379503.js<\/p>","payments-request-sample-to-request-no-challenge-7633030919.js":"<p alt=\"\">payments-request-sample-to-request-no-challenge-7633030919.js<\/p>","payments-request-sample-with-request-no-challenge-4415045964.js":"<p alt=\"\">payments-request-sample-with-request-no-challenge-4415045964.js<\/p>"}}
