{"title":"Redirect 3DS API-only integration","category":"default","creationDate":1567783140,"content":"<div class=\"additional-info-block output-inline\">\n<div class=\"additional-info-block__body\"><p><img style=\"width: 25px;\" alt=\"\" src=\"\/user\/pages\/reuse\/development-resources\/additional-info-resources\/postman-logo-vertical-orange-2021.svg?decoding=auto&amp;fetchpriority=auto\" \/>&nbsp;&nbsp;<a href=\"https:\/\/www.postman.com\/adyendev\/workspace\/adyen-apis\/collection\/25716737-46ad970e-dc9e-4246-bac2-769c6083e7b5\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Postman collection<\/a><\/p><p><strong>Implementation examples<\/strong><br \/><img style=\"width: 25px;\" alt=\"\" src=\"\/user\/pages\/reuse\/development-resources\/additional-info-resources\/nodejs-original.svg?decoding=auto&amp;fetchpriority=auto\" \/>&nbsp;&nbsp;<a href=\"https:\/\/github.com\/adyen-examples\/adyen-node-online-payments\/tree\/main\/3ds2-example\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Node.js<\/a><\/p>\n&nbsp;&nbsp;\n&nbsp;&nbsp;\n\n    <\/div><\/div>\n\n<p>Use our APIs to accept cards with 3D Secure authentication through a redirect page. When adding card payments with redirect 3D Secure authentication to your integration, you additionally need to:<\/p>\n<ol>\n<li><a href=\"#collect-additional-parameters\">Collect the additional parameters in your payment form<\/a>.<\/li>\n<li><a href=\"#make-a-payment\">Provide the required 3D Secure parameters<\/a> when making a payment request.<\/li>\n<li><a href=\"\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only#handle-the-redirect\">Handle the redirect<\/a>.<\/li>\n<\/ol>\n<h2>Requirements<\/h2>\n<p>Before starting your integration:<\/p>\n<ol>\n<li>If building a mobile integration, contact our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a> to make sure that 3D Secure is triggered in your app.<\/li>\n<li>Make sure that you have integrated our Card Component for <a href=\"\/payment-methods\/cards\/web-component\">Web<\/a>, <a href=\"\/payment-methods\/cards\/ios-component\">iOS<\/a>, or <a href=\"\/payment-methods\/cards\/android-drop-in\">Android<\/a> or <a href=\"\/payment-methods\/cards\/api-only\">built your own UI<\/a> for collecting shopper's card details.<\/li>\n<li>If you are using 3D Secure for PSD2 compliance, read our <a href=\"\/online-payments\/psd2-sca-compliance-and-implementation-guide\">comprehensive PSD2 SCA guide<\/a>.<\/li>\n<\/ol>\n<h2 id=\"collect-additional-parameters\">Collect additional parameters in your payment form<\/h2>\n<p>For higher authentication rates, we strongly recommend that you collect the card holder name, the shopper billing address and email address in advance in your payment form. Deliver these parameters to your backend when <a href=\"#make-a-payment\">making a payment<\/a> as they are required by the card schemes.<\/p>\n<h3 id=\"collect-holder-name\">Collect card holder name in your payment form<\/h3>\n<p>You can use our <a href=\"\/payment-methods\/cards\/\">Card Component<\/a> to build your payment form for 3D Secure 2 authentication. Select the channel that you are using below:<\/p>\n\n<div id=\"tab5Mtb1\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Web Card Component&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To collect the card holder name using our &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/web-component\\&quot;&gt;Card Component&lt;\\\/a&gt;, include the following when &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/web-component#component-configuration\\&quot;&gt;creating an instance of the Card Component&lt;\\\/a&gt;:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;hasHolderName&lt;\\\/code&gt;:\\u00a0&lt;strong&gt;true&lt;\\\/strong&gt;. This shows the input field for the card holder name.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;holderNameRequired&lt;\\\/code&gt;: &lt;strong&gt;true&lt;\\\/strong&gt;. This makes the card holder name a required field.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-js\\&quot;&gt;     const card = checkout.create(\\&quot;card\\&quot;, {\\n         hasHolderName: true,\\n         holderNameRequired: true\\n     }).mount(\\&quot;#card-container\\&quot;);&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&quot;,&quot;altTitle&quot;:&quot;web-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;web-3ds&quot;},{&quot;title&quot;:&quot;iOS Card Component&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To collect the card holder name using our &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/ios-component\\&quot;&gt;Card Component&lt;\\\/a&gt;, specify the following when &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/ios-component\\\/#optional-configuration\\&quot;&gt;adding the Card Component&lt;\\\/a&gt;:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;showsHolderNameField&lt;\\\/code&gt;: &lt;strong&gt;true&lt;\\\/strong&gt;&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-swift\\&quot;&gt;let configuration = CardComponent.Configuration(showsHolderNameField: true)\\nlet component =  CardComponent(paymentMethod: paymentMethod,\\n                                   apiContext: apiContext,\\n                                   configuration: configuration)\\ncomponent.delegate = self\\nself.cardComponent = component\\npresent(component.viewController, animated: true)&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&quot;,&quot;altTitle&quot;:&quot;ios-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;ios-3ds&quot;},{&quot;title&quot;:&quot;Android Card Component&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To collect the card holder name using our &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/android-component\\&quot;&gt;Card Component&lt;\\\/a&gt;, set &lt;code&gt;holderNameRequired&lt;\\\/code&gt; to &lt;strong&gt;true&lt;\\\/strong&gt; when &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/android-component#show-the-available-cards-in-your-payment-form\\&quot;&gt;creating a &lt;code&gt;cardConfiguration&lt;\\\/code&gt; object&lt;\\\/a&gt;:&lt;\\\/p&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-kotlin\\&quot;&gt;     val cardConfiguration = CardConfiguration.Builder(context, \\&quot;YOUR_CLIENT_KEY\\&quot;)\\n          .setHolderNameRequired(true)\\n          \\\/\\\/ When you are ready to accept live payments, change the value to one of our live environments.\\n          .setEnvironment(Environment.TEST)\\n          .build()&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&quot;,&quot;altTitle&quot;:&quot;android-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;android-3ds&quot;},{&quot;title&quot;:&quot;React Native Card Component&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To collect the card holder name using our &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/react-native-component\\&quot;&gt;Card Component&lt;\\\/a&gt;, set &lt;code&gt;holderNameRequired&lt;\\\/code&gt; to &lt;strong&gt;true&lt;\\\/strong&gt; when &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/react-native-component\\\/#configuration\\&quot;&gt;creating a &lt;code&gt;cardConfiguration&lt;\\\/code&gt; object&lt;\\\/a&gt;:&lt;\\\/p&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-js\\&quot;&gt;    const configuration = {\\n      environment: &#039;test&#039;,\\n      clientKey: &#039;{YOUR_CLIENT_KEY}&#039;,\\n      card: {\\n        holderNameRequired: true\\n      }\\n    }&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&quot;,&quot;altTitle&quot;:&quot;react-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;react-3ds&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2>Make a payment<\/h2>\n<p>Select the channel that you are using below:<\/p>\n\n<div id=\"tabvhLws\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Web&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To make a card payment with 3D Secure redirect authentication on Web, proceed with the following steps:&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;\\n&lt;p&gt;From your server, make a  &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; request, specifying:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-paymentMethod\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;paymentMethod&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;If using the Card Component for &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/web-component\\&quot;&gt;Web&lt;\\\/a&gt;, pass the parameters returned by the Component. If submitting raw card data, refer to &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/raw-card-data#make-a-payment\\&quot;&gt;Raw card data&lt;\\\/a&gt; for the fields that you need to pass.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;browserInfo&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The shopper&#039;s browser information. If using the Web Card Component, pass the &lt;code&gt;state.data.browserInfo&lt;\\\/code&gt; object from the &lt;code&gt;onChange&lt;\\\/code&gt; event.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-returnUrl\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;returnUrl&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The URL where the shopper will be redirected back to after completing 3D Secure authentication. The return URL can be a maximum of &lt;strong&gt;1024 characters&lt;\\\/strong&gt; and must not include &lt;code&gt;\\\/\\\/&lt;\\\/code&gt; (double slash) after the top-level domain.&lt;br&gt;The URL should include the protocol: &lt;code&gt;http:\\\/\\\/&lt;\\\/code&gt; or &lt;code&gt;https:\\\/\\\/&lt;\\\/code&gt;. You can also include your own additional query parameters, for example, shopper ID or order reference number. In the response, you receive a URL that requires a POST request.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-billingAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;billingAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s billing address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperEmail\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperEmail&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s email address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperIP\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperIP&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The shopper&#039;s IP address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div class=\\&quot;sc-notice info\\&quot;&gt;&lt;div&gt;\\n&lt;p&gt;To increase the likelihood of achieving a &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure#frictionless-flow\\&quot;&gt;frictionless flow&lt;\\\/a&gt; and higher authorisation rates, we recommend that you send &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure\\\/api-reference#3d-secure-2-additional-data-objects\\&quot;&gt;additional parameters&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;For &lt;code&gt;channel&lt;\\\/code&gt; &lt;strong&gt;Web&lt;\\\/strong&gt;, we recommend including these additional parameters: &lt;code&gt;billingAddress&lt;\\\/code&gt;, &lt;code&gt;shopperEmail&lt;\\\/code&gt;, and &lt;code&gt;shopperIP&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;&lt;\\\/div&gt;\\n&lt;p&gt;A sample  &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; request for &lt;strong&gt;Web&lt;\\\/strong&gt;:&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;payments-web&#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;shopperReference\\\\&amp;quot;:\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;{hint:state.data.browserInfo from onChange or onSubmit}browserInfo{\\\\\\\/hint}\\\\&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;{hint:state.data.billingAddress from onSubmit}billingAddress{\\\\\\\/hint}\\\\&amp;quot;: {\\\\n       \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n       \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n       \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n       \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n       \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n  },\\\\n   \\\\&amp;quot;shopperEmail\\\\&amp;quot;:\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\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;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&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 v26.3.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\\\\nCardDetails cardDetails = new CardDetails()\\\\n  .encryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;)\\\\n  .holderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  .encryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;)\\\\n  .encryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;)\\\\n  .encryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;)\\\\n  .type(CardDetails.TypeEnum.SCHEME);\\\\n\\\\nBillingAddress billingAddress = new BillingAddress()\\\\n  .country(\\\\&amp;quot;NL\\\\&amp;quot;)\\\\n  .city(\\\\&amp;quot;Amsterdam\\\\&amp;quot;)\\\\n  .street(\\\\&amp;quot;Infinite Loop\\\\&amp;quot;)\\\\n  .houseNumberOrName(\\\\&amp;quot;1\\\\&amp;quot;)\\\\n  .postalCode(\\\\&amp;quot;1011DJ\\\\&amp;quot;);\\\\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  .channel(PaymentRequest.ChannelEnum.WEB)\\\\n  .paymentMethod(new CheckoutPaymentMethod(cardDetails))\\\\n  .shopperEmail(\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;)\\\\n  .shopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  .billingAddress(billingAddress)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;)\\\\n  .browserInfo(browserInfo)\\\\n  .shopperReference(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;);\\\\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 v18.2.1\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BillingAddress;\\\\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$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;)\\\\n  -&amp;gt;setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_24\\\\\\\\$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;)\\\\n  -&amp;gt;setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18\\\\\\\\$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n\\\\n$billingAddress = new BillingAddress();\\\\n$billingAddress\\\\n  -&amp;gt;setCountry(\\\\&amp;quot;NL\\\\&amp;quot;)\\\\n  -&amp;gt;setCity(\\\\&amp;quot;Amsterdam\\\\&amp;quot;)\\\\n  -&amp;gt;setStreet(\\\\&amp;quot;Infinite Loop\\\\&amp;quot;)\\\\n  -&amp;gt;setHouseNumberOrName(\\\\&amp;quot;1\\\\&amp;quot;)\\\\n  -&amp;gt;setPostalCode(\\\\&amp;quot;1011DJ\\\\&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;setChannel(\\\\&amp;quot;web\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperEmail(\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperIP(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;)\\\\n  -&amp;gt;setBillingAddress($billingAddress)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;)\\\\n  -&amp;gt;setBrowserInfo($browserInfo)\\\\n  -&amp;gt;setShopperReference(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;);\\\\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\\\\nCardDetails cardDetails = new CardDetails\\\\n{\\\\n  EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n  HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n  EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n  EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n  Type = CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nBillingAddress billingAddress = new BillingAddress\\\\n{\\\\n  Country = \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n  City = \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n  Street = \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n  HouseNumberOrName = \\\\&amp;quot;1\\\\&amp;quot;,\\\\n  PostalCode = \\\\&amp;quot;1011DJ\\\\&amp;quot;\\\\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  Channel = PaymentRequest.ChannelEnum.Web,\\\\n  PaymentMethod = new CheckoutPaymentMethod(cardDetails),\\\\n  ShopperEmail = \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  ShopperIP = \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  BillingAddress = billingAddress,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  BrowserInfo = browserInfo,\\\\n  ShopperReference = \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;\\\\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 v17.3.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  shopperReference: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&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  billingAddress: {\\\\n    street: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    city: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n  },\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&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\\\\ncardDetails := checkout.CardDetails{\\\\n  EncryptedCardNumber: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;),\\\\n  HolderName: common.PtrString(\\\\&amp;quot;S. Hopper\\\\&amp;quot;),\\\\n  EncryptedSecurityCode: common.PtrString(\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;),\\\\n  EncryptedExpiryYear: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;),\\\\n  EncryptedExpiryMonth: common.PtrString(\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;),\\\\n  Type: common.PtrString(\\\\&amp;quot;scheme\\\\&amp;quot;),\\\\n}\\\\n\\\\nbillingAddress := checkout.BillingAddress{\\\\n  Country: \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n  City: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n  Street: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n  HouseNumberOrName: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n  PostalCode: \\\\&amp;quot;1011DJ\\\\&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  Channel: common.PtrString(\\\\&amp;quot;web\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.CardDetailsAsCheckoutPaymentMethod(&amp;amp;cardDetails),\\\\n  ShopperEmail: common.PtrString(\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;),\\\\n  ShopperIP: common.PtrString(\\\\&amp;quot;192.0.2.1\\\\&amp;quot;),\\\\n  BillingAddress: &amp;amp;billingAddress,\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..}\\\\&amp;quot;,\\\\n  BrowserInfo: &amp;amp;browserInfo,\\\\n  ShopperReference: common.PtrString(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;),\\\\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;shopperReference\\\\&amp;quot;: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&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;billingAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\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;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&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  :shopperReference =&amp;gt; &#039;YOUR_UNIQUE_SHOPPER_ID&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;scheme&#039;,\\\\n    :encryptedCardNumber =&amp;gt; &#039;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..&#039;,\\\\n    :encryptedExpiryMonth =&amp;gt; &#039;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..&#039;,\\\\n    :encryptedExpiryYear =&amp;gt; &#039;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..&#039;,\\\\n    :encryptedSecurityCode =&amp;gt; &#039;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..&#039;,\\\\n    :holderName =&amp;gt; &#039;S. Hopper&#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  :billingAddress =&amp;gt; {\\\\n    :street =&amp;gt; &#039;Infinite Loop&#039;,\\\\n    :houseNumberOrName =&amp;gt; &#039;1&#039;,\\\\n    :postalCode =&amp;gt; &#039;1011DJ&#039;,\\\\n    :city =&amp;gt; &#039;Amsterdam&#039;,\\\\n    :country =&amp;gt; &#039;NL&#039;\\\\n  },\\\\n  :shopperEmail =&amp;gt; &#039;s.hopper@example.com&#039;,\\\\n  :shopperIP =&amp;gt; &#039;192.0.2.1&#039;,\\\\n  :channel =&amp;gt; &#039;web&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..&#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 v17.3.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 cardDetails: Types.checkout.CardDetails = {\\\\n  encryptedCardNumber: \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n  holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n  encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n  encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n  encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n  type: Types.checkout.CardDetails.TypeEnum.Scheme\\\\n};\\\\n\\\\nconst billingAddress: Types.checkout.BillingAddress = {\\\\n  country: \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n  city: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n  street: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n  houseNumberOrName: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n  postalCode: \\\\&amp;quot;1011DJ\\\\&amp;quot;\\\\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  channel: Types.checkout.PaymentRequest.ChannelEnum.Web,\\\\n  paymentMethod: cardDetails,\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  shopperIP: \\\\&amp;quot;192.0.2.1\\\\&amp;quot;,\\\\n  billingAddress: billingAddress,\\\\n  returnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  browserInfo: browserInfo,\\\\n  shopperReference: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&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;}]\\&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;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;Check if the response contains an &lt;code&gt;action&lt;\\\/code&gt; object. Your next steps depend on whether 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 an &lt;code&gt;action&lt;\\\/code&gt; object:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;th&gt;Next steps&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;No &lt;code&gt;action&lt;\\\/code&gt; object&lt;\\\/td&gt;\\n&lt;td&gt;The transaction was either exempted or out-of-scope for 3D Secure authentication.&lt;\\\/td&gt;\\n&lt;td&gt;Use the &lt;code&gt;resultCode&lt;\\\/code&gt; to &lt;a href=\\&quot;#present-the-payment-result\\&quot;&gt;present the payment result to your shopper&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;action&lt;\\\/code&gt; object &lt;br&gt;&lt;code&gt;type&lt;\\\/code&gt;:&lt;strong&gt;redirect&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The payment qualifies for 3D Secure.&lt;\\\/td&gt;\\n&lt;td&gt;&lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow\\\/?platform=Web&amp;amp;integration=API%20only#handle-the-redirect\\&quot;&gt;Handle the redirect&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&quot;,&quot;altTitle&quot;:&quot;web-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;web-3ds&quot;},{&quot;title&quot;:&quot;iOS&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To make a card payment with 3D Secure redirect authentication on iOS, proceed with the following steps:&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;\\n&lt;p&gt;From your server, make a  &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; request, specifying:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-paymentMethod\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;paymentMethod&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;If using the Card Component for &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/ios-component#make-a-payment\\&quot;&gt;iOS&lt;\\\/a&gt;, pass the parameters returned by the Component. If submitting raw card data, refer to &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/raw-card-data#make-a-payment\\&quot;&gt;Raw card data&lt;\\\/a&gt; for the fields that you need to pass.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-returnUrl\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;returnUrl&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The URL where the shopper will be redirected back to after completing 3D Secure authentication. This URL can contain a maximum of &lt;strong&gt;1024 characters&lt;\\\/strong&gt; and must not include &lt;code&gt;\\\/\\\/&lt;\\\/code&gt; (double slash) after the top-level domain. The &lt;code&gt;returnURL&lt;\\\/code&gt; that you provide also determines the HTTP method that you should use when redirecting the shopper.&lt;br&gt;For iOS, you can use the custom URL for your app. For example, &lt;code&gt;my-app:\\\/\\\/&lt;\\\/code&gt;. For more information on setting custom URL schemes, refer to the &lt;a href=\\&quot;https:\\\/\\\/developer.apple.com\\\/documentation\\\/uikit\\\/inter-process_communication\\\/allowing_apps_and_websites_to_link_to_your_content\\\/defining_a_custom_url_scheme_for_your_app\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Apple Developer documentation&lt;\\\/a&gt;. If you provide a custom URL, you receive a URL that requires a GET request.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;browserInfo&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The shopper&#039;s browser information, include the following fields: &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo-acceptHeader\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;acceptHeader&lt;\\\/a&gt;: The accept header value of the shopper&#039;s browser. You can use a dummy value.&lt;\\\/li&gt;&lt;li&gt;  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo-userAgent\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;userAgent&lt;\\\/a&gt;: Get it using &lt;a href=\\&quot;https:\\\/\\\/adyen.github.io\\\/adyen-ios\\\/5.3.0\\\/documentation\\\/adyen\\\/browserinfo\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;\\n  &lt;code&gt;BrowserInfo.initialize&lt;\\\/code&gt;\\n&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-billingAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;billingAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s billing address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperEmail\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperEmail&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s email address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div class=\\&quot;sc-notice info\\&quot;&gt;&lt;div&gt;\\n&lt;p&gt;To increase the likelihood of achieving a &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure#frictionless-flow\\&quot;&gt;frictionless flow&lt;\\\/a&gt; and higher authorisation rates, we recommend that you send &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure\\\/api-reference#3d-secure-2-additional-data-objects\\&quot;&gt;additional parameters&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;For &lt;code&gt;channel&lt;\\\/code&gt; &lt;strong&gt;iOS&lt;\\\/strong&gt;, we recommend including these additional parameters: &lt;code&gt;billingAddress&lt;\\\/code&gt; and &lt;code&gt;shopperEmail&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;&lt;\\\/div&gt;\\n&lt;p&gt;A sample  &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; request for &lt;strong&gt;iOS&lt;\\\/strong&gt;:&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;payments-ios&#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;shopperReference\\\\&amp;quot;:\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n      \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;browserInfo: {\\\\n      \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&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   },\\\\n   \\\\&amp;quot;shopperEmail\\\\&amp;quot;:\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n   \\\\&amp;quot;channel\\\\&amp;quot;:\\\\&amp;quot;iOS\\\\&amp;quot;,\\\\n   \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;\\\\&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;Client client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n  Checkout checkout = new Checkout(client);\\\\n\\\\n  PaymentsRequest paymentsRequest = new PaymentsRequest();\\\\n\\\\n  paymentsRequest.setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n  paymentsRequest.setReference(\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;);\\\\n\\\\n  DefaultPaymentMethodDetails paymentMethodDetails = new DefaultPaymentMethodDetails();\\\\n  paymentMethodDetails.setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setPaymentMethod(paymentMethodDetails);\\\\n\\\\n  Amount amount = new Amount();\\\\n  amount.setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;);\\\\n  amount.setValue(1000L);\\\\n\\\\n  paymentsRequest.setAmount(amount);\\\\n\\\\n  Address billingAddress = new Address();\\\\n  billingAddress.setCity(\\\\&amp;quot;Amsterdam\\\\&amp;quot;);\\\\n  billingAddress.setCountry(\\\\&amp;quot;NL\\\\&amp;quot;);\\\\n  billingAddress.setHouseNumberOrName(\\\\&amp;quot;1\\\\&amp;quot;);\\\\n  billingAddress.setPostalCode(\\\\&amp;quot;1011DJ\\\\&amp;quot;);\\\\n  billingAddress.setStreet(\\\\&amp;quot;Infinite Loop\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setBillingAddress(billingAddress);\\\\n\\\\n  BrowserInfo browserInfo = new BrowserInfo();\\\\n  browserInfo.setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&amp;quot;);\\\\n  browserInfo.setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setBrowserInfo(browserInfo);\\\\n\\\\n  paymentsRequest.setShopperEmail(\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;);\\\\n  paymentsRequest.setReturnUrl(\\\\&amp;quot;\\\\&amp;quot;);\\\\n\\\\n  PaymentsResponse paymentsResponse = checkout.payments(paymentsRequest);&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\n$client = new \\\\\\\\Adyen\\\\\\\\Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;YOUR_X-API-KEY\\\\&amp;quot;);\\\\n$service = new \\\\\\\\Adyen\\\\\\\\Service\\\\\\\\Checkout($client);\\\\n\\\\n$params = [\\\\n  \\\\&amp;quot;amount\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;currency\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot; =&amp;gt; 1000\\\\n  ],\\\\n  \\\\&amp;quot;reference\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;type\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;city\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n];\\\\n\\\\n$result = $service-&amp;gt;payments($params);\\\\n\\\\n\\\\\\\/\\\\\\\/ Check if further action is needed\\\\nif (array_key_exists(\\\\&amp;quot;action\\\\&amp;quot;, $result)){\\\\n   \\\\\\\/\\\\\\\/ Pass the action object to your front end.\\\\n   \\\\\\\/\\\\\\\/ $result[\\\\&amp;quot;action\\\\&amp;quot;]\\\\n}\\\\nelse {\\\\n   \\\\\\\/\\\\\\\/ No further action needed, pass the resultCode to your front end\\\\n   \\\\\\\/\\\\\\\/ $result[&#039;resultCode&#039;]\\\\n}&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nvar client = new Client (\\\\&amp;quot;YOUR-X-API-KEY\\\\&amp;quot;, Environment.Test);\\\\nvar checkout = new Checkout(client);\\\\nvar paymentsRequest = new Adyen.Model.Checkout.PaymentRequest\\\\n{\\\\n    Amount = new Adyen.Model.Checkout.Amount(currency: \\\\&amp;quot;EUR\\\\&amp;quot;, value: 1000),\\\\n    Reference = \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n    PaymentMethod = new DefaultPaymentMethodDetails\\\\n    {\\\\n        EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n        EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n        EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n        EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n        HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n        Type = \\\\&amp;quot;scheme\\\\&amp;quot;\\\\n    },\\\\n    BillingAddress = new Adyen.Model.Checkout.Address\\\\n    {\\\\n        City = \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n        Country = \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n        HouseNumberOrName = \\\\&amp;quot;1\\\\&amp;quot;,\\\\n        PostalCode = \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n        Street = \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n    },\\\\n    BrowserInfo = new Adyen.Model.Checkout.BrowserInfo\\\\n    {\\\\n        UserAgent = @\\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&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    },\\\\n    ShopperEmail = \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n    ReturnUrl = \\\\&amp;quot;\\\\&amp;quot;,\\\\n    MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nconst {Client, Config, CheckoutAPI} = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\nconst config = new Config();\\\\n\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nconfig.apiKey = &#039;[API_KEY]&#039;;\\\\nconfig.merchantAccount = &#039;[MERCHANT_ACCOUNT]&#039;;\\\\nconst client = new Client({ config });\\\\nclient.setEnvironment(\\\\&amp;quot;TEST\\\\&amp;quot;);\\\\nconst checkout = new CheckoutAPI(client);\\\\ncheckout.payments({\\\\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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  billingAddress: {\\\\n    city: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&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  },\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}).then(res =&amp;gt; res);&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;# Set your X-API-KEY with the API key from the Customer Area.\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = &#039;YOUR_X-API-KEY&#039;\\\\n\\\\nresult = adyen.checkout.payments({\\\\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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&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  },\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n})&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ruby&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Set your X-API-KEY with the API key from the Customer Area.\\\\nadyen = Adyen::Client.new\\\\nadyen.env = :test\\\\nadyen.api_key = \\\\&amp;quot;YOUR_X-API-KEY\\\\&amp;quot;\\\\n\\\\nresponse = adyen.checkout.payments({\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  :shopperReference =&amp;gt; \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  :paymentMethod =&amp;gt; {     # Data object passed from the didSubmit event, parsed from JSON to a Hash.\\\\n    :type =&amp;gt; \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    :encryptedCardNumber =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    :encryptedExpiryMonth =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    :encryptedExpiryYear =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    :encryptedSecurityCode =&amp;gt; \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    :holderName =&amp;gt; \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  :billingAddress =&amp;gt; {\\\\n    :city =&amp;gt; \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    :country =&amp;gt; \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    :houseNumberOrName =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    :postalCode =&amp;gt; \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    :street =&amp;gt; \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; \\\\&amp;quot;Mozilla\\\\\\\/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit\\\\\\\/604.1.38 (KHTML, like Gecko) Version\\\\\\\/11.0 Mobile\\\\\\\/15A5370a Safari\\\\\\\/604.1\\\\&amp;quot;,\\\\n    :acceptHeader =&amp;gt; \\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;\\\\n  },\\\\n  :shopperEmail =&amp;gt; \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  :channel =&amp;gt; \\\\&amp;quot;web\\\\&amp;quot;,\\\\n  :returnUrl =&amp;gt; \\\\&amp;quot;https:\\\\\\\/\\\\\\\/example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  :merchantAccount =&amp;gt; \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n})\\\\n\\\\n# Check if further action is needed.\\\\nif response.body.has_key(:action)\\\\n   # Pass the action object to your front end\\\\n   # response.body[:action]\\\\nelse\\\\n   # No further action needed, pass the resultCode object to your front end\\\\n   # response.body[:resultCode]\\\\nend&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;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;Check if the response contains an &lt;code&gt;action&lt;\\\/code&gt; object. Your next steps depend on whether 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 an &lt;code&gt;action&lt;\\\/code&gt; object:&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;th&gt;Next steps&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;No &lt;code&gt;action&lt;\\\/code&gt; object&lt;\\\/td&gt;\\n&lt;td&gt;The transaction was either exempted or out-of-scope for 3D Secure authentication.&lt;\\\/td&gt;\\n&lt;td&gt;Use the &lt;code&gt;resultCode&lt;\\\/code&gt; to &lt;a href=\\&quot;#present-the-payment-result\\&quot;&gt;present the payment result to your shopper&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;action&lt;\\\/code&gt; object &lt;br&gt;&lt;code&gt;type&lt;\\\/code&gt;:&lt;strong&gt;redirect&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The payment qualifies for 3D Secure.&lt;\\\/td&gt;\\n&lt;td&gt;&lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow\\\/?platform=Web&amp;amp;integration=API%20only#handle-the-redirect\\&quot;&gt;Handle the redirect&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&quot;,&quot;altTitle&quot;:&quot;ios-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;ios-3ds&quot;},{&quot;title&quot;:&quot;Android&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To make a card payment with 3D Secure redirect authentication on Android, you need to:&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;\\n&lt;p&gt;From your server, make a  &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; request, specifying:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-paymentMethod\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;paymentMethod&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;If using the Card Component for &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/android-drop-in#make-a-payment\\&quot;&gt;Android&lt;\\\/a&gt;, pass the parameters returned by the Component. If submitting raw card data, refer to &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/raw-card-data#make-a-payment\\&quot;&gt;Raw card data&lt;\\\/a&gt; for the fields that you need to pass.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-billingAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;billingAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s billing address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperEmail\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperEmail&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s email address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;browserInfo&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The shopper&#039;s browser information, include the following fields: &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo-acceptHeader\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;acceptHeader&lt;\\\/a&gt;: The accept header value of the shopper&#039;s browser. You can use a dummy value.&lt;\\\/li&gt;&lt;li&gt;  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo-userAgent\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;userAgent&lt;\\\/a&gt;: Get it using &lt;a href=\\&quot;https:\\\/\\\/developer.android.com\\\/reference\\\/android\\\/webkit\\\/WebSettings#getDefaultUserAgent(android.content.Context)\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;\\n  &lt;code&gt;WebSettings.getDefaultUserAgent(Context);&lt;\\\/code&gt;\\n&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-returnUrl\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;returnUrl&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The URL where the shopper will be redirected back to after completing 3D Secure authentication. This URL can contain a maximum of &lt;strong&gt;1024 characters&lt;\\\/strong&gt; and must not include &lt;code&gt;\\\/\\\/&lt;\\\/code&gt; (double slash) after the top-level domain. The &lt;code&gt;returnURL&lt;\\\/code&gt; that you provide also determines the HTTP method that you should use when redirecting the shopper.&lt;br&gt;For Android, you can use a custom URL handled by an Activity on your app. You can configure it with an &lt;a href=\\&quot;https:\\\/\\\/developer.android.com\\\/guide\\\/components\\\/intents-filters\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;intent filter&lt;\\\/a&gt;. For example, configure &lt;code&gt;my-app:\\\/\\\/your.package.name&lt;\\\/code&gt;, and then add that to your &lt;code&gt;manifest.xml&lt;\\\/code&gt; file. If you provide a custom URL, you receive a URL that requires a GET request. See the example below.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;pre&gt;&lt;code class=\\&quot;language-xml\\&quot;&gt;&amp;lt;activity\\n android:name=\\&quot;.YourActivity\\&quot;&amp;gt;\\n   &amp;lt;intent-filter&amp;gt;\\n     &amp;lt;action android:name=\\&quot;android.intent.action.VIEW\\&quot;\\\/&amp;gt;\\n\\n     &amp;lt;category android:name=\\&quot;android.intent.category.DEFAULT\\&quot;\\\/&amp;gt;\\n     &amp;lt;category android:name=\\&quot;android.intent.category.BROWSABLE\\&quot;\\\/&amp;gt;\\n\\n     &amp;lt;data\\n       android:host=\\&quot;${applicationId}\\&quot;\\n       android:scheme=\\&quot;my-app\\&quot;\\\/&amp;gt;\\n  &amp;lt;\\\/intent-filter&amp;gt;\\n&amp;lt;\\\/activity&amp;gt;&lt;\\\/code&gt;&lt;\\\/pre&gt;\\n&lt;div class=\\&quot;sc-notice info\\&quot;&gt;&lt;div&gt;\\n&lt;p&gt;To increase the likelihood of achieving a &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure#frictionless-flow\\&quot;&gt;frictionless flow&lt;\\\/a&gt; and higher authorisation rates, we recommend that you send &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure\\\/api-reference#3d-secure-2-additional-data-objects\\&quot;&gt;additional parameters&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;For &lt;code&gt;channel&lt;\\\/code&gt; &lt;strong&gt;Android&lt;\\\/strong&gt;, we recommend including these additional parameters: &lt;code&gt;billingAddress&lt;\\\/code&gt; and &lt;code&gt;shopperEmail&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;&lt;\\\/div&gt;\\n&lt;p&gt;A sample  &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; request for &lt;strong&gt;Android&lt;\\\/strong&gt;:&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;payments-android&#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;shopperReference\\\\&amp;quot;:\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;:\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n      \\\\&amp;quot;holderName\\\\&amp;quot;:\\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n      \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;browserInfo: {\\\\n      \\\\&amp;quot;userAgent\\\\&amp;quot;:\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile 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   },\\\\n   \\\\&amp;quot;shopperEmail\\\\&amp;quot;:\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n   \\\\&amp;quot;channel\\\\&amp;quot;:\\\\&amp;quot;Android\\\\&amp;quot;,\\\\n   \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&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;Client client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n  Checkout checkout = new Checkout(client);\\\\n\\\\n  PaymentsRequest paymentsRequest = new PaymentsRequest();\\\\n\\\\n  paymentsRequest.setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;);\\\\n  paymentsRequest.setReference(\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;);\\\\n\\\\n  DefaultPaymentMethodDetails paymentMethodDetails = new DefaultPaymentMethodDetails();\\\\n  paymentMethodDetails.setType(\\\\&amp;quot;scheme\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedCardNumber(\\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedExpiryMonth(\\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedExpiryYear(\\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setEncryptedSecurityCode(\\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;);\\\\n  paymentMethodDetails.setHolderName(\\\\&amp;quot;S. Hopper\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setPaymentMethod(paymentMethodDetails);\\\\n\\\\n  Amount amount = new Amount();\\\\n  amount.setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;);\\\\n  amount.setValue(1000L);\\\\n\\\\n  paymentsRequest.setAmount(amount);\\\\n\\\\n  Address billingAddress = new Address();\\\\n  billingAddress.setCity(\\\\&amp;quot;Amsterdam\\\\&amp;quot;);\\\\n  billingAddress.setCountry(\\\\&amp;quot;NL\\\\&amp;quot;);\\\\n  billingAddress.setHouseNumberOrName(\\\\&amp;quot;1\\\\&amp;quot;);\\\\n  billingAddress.setPostalCode(\\\\&amp;quot;1011DJ\\\\&amp;quot;);\\\\n  billingAddress.setStreet(\\\\&amp;quot;Infinite Loop\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setBillingAddress(billingAddress);\\\\n\\\\n  BrowserInfo browserInfo = new BrowserInfo();\\\\n  browserInfo.setUserAgent(\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile Safari\\\\\\\/537.36\\\\&amp;quot;);\\\\n  browserInfo.setAcceptHeader(\\\\&amp;quot;text\\\\\\\/html,application\\\\\\\/xhtml+xml,application\\\\\\\/xml;q=0.9,image\\\\\\\/webp,image\\\\\\\/apng,*\\\\\\\/*;q=0.8\\\\&amp;quot;);\\\\n\\\\n  paymentsRequest.setBrowserInfo(browserInfo);\\\\n\\\\n  paymentsRequest.setShopperEmail(\\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;);\\\\n  paymentsRequest.setChannel(\\\\&amp;quot;Android\\\\&amp;quot;);\\\\n  paymentsRequest.setReturnUrl(\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;);\\\\n\\\\n  PaymentsResponse paymentsResponse = checkout.payments(paymentsRequest);&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\n$client = new \\\\\\\\Adyen\\\\\\\\Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;YOUR_X-API-KEY\\\\&amp;quot;);\\\\n$service = new \\\\\\\\Adyen\\\\\\\\Service\\\\\\\\Checkout($client);\\\\n\\\\n$params = [\\\\n  \\\\&amp;quot;amount\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;currency\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot; =&amp;gt; 1000\\\\n  ],\\\\n  \\\\&amp;quot;reference\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;type\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedCardNumber\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;city\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot; =&amp;gt; [\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    \\\\&amp;quot;acceptHeader\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Android\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n];\\\\n\\\\n$result = $service-&amp;gt;payments($params);\\\\n\\\\n\\\\\\\/\\\\\\\/ Check if further action is needed\\\\nif (array_key_exists(\\\\&amp;quot;action\\\\&amp;quot;, $result)){\\\\n   \\\\\\\/\\\\\\\/ Pass the action object to your front end.\\\\n   \\\\\\\/\\\\\\\/ $result[\\\\&amp;quot;action\\\\&amp;quot;]\\\\n}\\\\nelse {\\\\n   \\\\\\\/\\\\\\\/ No further action needed, pass the resultCode to your front end\\\\n   \\\\\\\/\\\\\\\/ $result[&#039;resultCode&#039;]\\\\n}&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nvar client = new Client (\\\\&amp;quot;YOUR-X-API-KEY\\\\&amp;quot;, Environment.Test);\\\\nvar checkout = new Checkout(client);\\\\nvar paymentsRequest = new Adyen.Model.Checkout.PaymentRequest\\\\n{\\\\n    Amount = new Adyen.Model.Checkout.Amount(currency: \\\\&amp;quot;EUR\\\\&amp;quot;, value: 1000),\\\\n    Reference = \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n    PaymentMethod = new DefaultPaymentMethodDetails\\\\n    {\\\\n        EncryptedCardNumber = \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n        EncryptedExpiryMonth = \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n        EncryptedExpiryYear = \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n        EncryptedSecurityCode = \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n        HolderName = \\\\&amp;quot;S. Hopper\\\\&amp;quot;,\\\\n        Type = \\\\&amp;quot;scheme\\\\&amp;quot;\\\\n    },\\\\n    BillingAddress = new Adyen.Model.Checkout.Address\\\\n    {\\\\n        City = \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n        Country = \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n        HouseNumberOrName = \\\\&amp;quot;1\\\\&amp;quot;,\\\\n        PostalCode = \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n        Street = \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n    },\\\\n    BrowserInfo = new Adyen.Model.Checkout.BrowserInfo\\\\n    {\\\\n        UserAgent = @\\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile 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    },\\\\n    ShopperEmail = \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n    Channel = Adyen.Model.Checkout.PaymentRequest.ChannelEnum.Android,\\\\n    ReturnUrl = \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n    MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n};&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;\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nconst {Client, Config, CheckoutAPI} = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\nconst config = new Config();\\\\n\\\\\\\/\\\\\\\/ Set your X-API-KEY with the API key from the Customer Area.\\\\nconfig.apiKey = &#039;[API_KEY]&#039;;\\\\nconfig.merchantAccount = &#039;[MERCHANT_ACCOUNT]&#039;;\\\\nconst client = new Client({ config });\\\\nclient.setEnvironment(\\\\&amp;quot;TEST\\\\&amp;quot;);\\\\nconst checkout = new CheckoutAPI(client);\\\\ncheckout.payments({\\\\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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    encryptedExpiryMonth: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    encryptedExpiryYear: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    encryptedSecurityCode: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    holderName: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  billingAddress: {\\\\n    city: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  },\\\\n  browserInfo: {\\\\n    userAgent: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile 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  },\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  channel: \\\\&amp;quot;Android\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n}).then(res =&amp;gt; res);&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;# Set your X-API-KEY with the API key from the Customer Area.\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = &#039;YOUR_X-API-KEY&#039;\\\\n\\\\nresult = adyen.checkout.payments({\\\\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$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryMonth\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedExpiryYear\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;encryptedSecurityCode\\\\&amp;quot;: \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    \\\\&amp;quot;holderName\\\\&amp;quot;: \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;Infinite Loop\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;NL\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;browserInfo\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;userAgent\\\\&amp;quot;: \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile 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  },\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;channel\\\\&amp;quot;: \\\\&amp;quot;Android\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n})&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ruby&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Set your X-API-KEY with the API key from the Customer Area.\\\\nadyen = Adyen::Client.new\\\\nadyen.env = :test\\\\nadyen.api_key = \\\\&amp;quot;YOUR_X-API-KEY\\\\&amp;quot;\\\\n\\\\nresponse = adyen.checkout.payments({\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :reference =&amp;gt; \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  :shopperReference =&amp;gt; \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  :paymentMethod =&amp;gt; {     # Data object passed from Component, parsed from JSON to a Hash.\\\\n    :type =&amp;gt; \\\\&amp;quot;scheme\\\\&amp;quot;,\\\\n    :encryptedCardNumber =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$k7s65M5V0KdPxTErhBIPoMPI8HlC..\\\\&amp;quot;,\\\\n    :encryptedExpiryMonth =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$p2OZxW2XmwAA8C1Avxm3G9UB6e4..\\\\&amp;quot;,\\\\n    :encryptedExpiryYear =&amp;gt; \\\\&amp;quot;adyenjs_0_1_18$CkCOLYZsdqpxGjrALWHj3QoGHqe+..\\\\&amp;quot;,\\\\n    :encryptedSecurityCode =&amp;gt; \\\\&amp;quot;adyenjs_0_1_24$XUyMJyHebrra\\\\\\\/TpSda9fha978+..\\\\&amp;quot;,\\\\n    :holderName =&amp;gt; \\\\&amp;quot;S. Hopper\\\\&amp;quot;\\\\n  },\\\\n  :billingAddress =&amp;gt; {\\\\n    :city =&amp;gt; \\\\&amp;quot;Amsterdam\\\\&amp;quot;,\\\\n    :country =&amp;gt; \\\\&amp;quot;NL\\\\&amp;quot;,\\\\n    :houseNumberOrName =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    :postalCode =&amp;gt; \\\\&amp;quot;1011DJ\\\\&amp;quot;,\\\\n    :street =&amp;gt; \\\\&amp;quot;Infinite Loop\\\\&amp;quot;\\\\n  },\\\\n  :browserInfo =&amp;gt; {\\\\n    :userAgent =&amp;gt; \\\\&amp;quot;Mozilla\\\\\\\/5.0 (Linux; Android 6.0.1; Nexus 6P Build\\\\\\\/MMB29P) AppleWebKit\\\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\\\/47.0.2526.83 Mobile Safari\\\\\\\/537.36\\\\&amp;quot;,\\\\n    :acceptHeader =&amp;gt; \\\\&amp;quot;text\\\\\\\\\\\\\\\/html,application\\\\\\\\\\\\\\\/xhtml+xml,application\\\\\\\\\\\\\\\/xml;q=0.9,image\\\\\\\\\\\\\\\/webp,image\\\\\\\\\\\\\\\/apng,*\\\\\\\\\\\\\\\/*;q=0.8\\\\&amp;quot;\\\\n  },\\\\n  :shopperEmail =&amp;gt; \\\\&amp;quot;s.hopper@example.com\\\\&amp;quot;,\\\\n  :channel =&amp;gt; \\\\&amp;quot;Android\\\\&amp;quot;,\\\\n  :returnUrl =&amp;gt; \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  :merchantAccount =&amp;gt; \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;\\\\n})\\\\n\\\\n# Check if further action is needed.\\\\nif response.body.has_key(:action)\\\\n   # Pass the action object to your front end\\\\n   # response.body[:action]\\\\nelse\\\\n   # No further action needed, pass the resultCode object to your front end\\\\n   # response.body[:resultCode]\\\\nend&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;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;Your next steps depend on whether 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 an &lt;code&gt;action&lt;\\\/code&gt; object:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;th&gt;Next steps&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;No &lt;code&gt;action&lt;\\\/code&gt; object&lt;\\\/td&gt;\\n&lt;td&gt;The transaction was either exempted or out-of-scope for 3D Secure authentication.&lt;\\\/td&gt;\\n&lt;td&gt;Use the &lt;code&gt;resultCode&lt;\\\/code&gt; to &lt;a href=\\&quot;#present-the-payment-result\\&quot;&gt;present the payment result to your shopper&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;action&lt;\\\/code&gt; object &lt;br&gt;&lt;code&gt;type&lt;\\\/code&gt;:&lt;strong&gt;redirect&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The payment qualifies for 3D Secure.&lt;\\\/td&gt;\\n&lt;td&gt;Handle the redirect.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&quot;,&quot;altTitle&quot;:&quot;android-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;android-3ds&quot;},{&quot;title&quot;:&quot;React Native&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;To make a card payment with 3D Secure redirect authentication on React Native, proceed with the following steps:&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;\\n&lt;p&gt;From your server, make a  &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; request, specifying:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-paymentMethod\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;paymentMethod&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;If using the Card Component for &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/android-drop-in#make-a-payment\\&quot;&gt;React Native&lt;\\\/a&gt;, pass the parameters returned by the Component. If submitting raw card data, refer to &lt;a href=\\&quot;\\\/payment-methods\\\/cards\\\/raw-card-data#make-a-payment\\&quot;&gt;Raw card data&lt;\\\/a&gt; for the fields that you need to pass.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-billingAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;billingAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s billing address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperEmail\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperEmail&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;The cardholder&#039;s email address.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-browserInfo\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;browserInfo&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Contains the &lt;code&gt;userAgent&lt;\\\/code&gt; and &lt;code&gt;acceptHeader&lt;\\\/code&gt; fields.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-returnUrl\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;returnUrl&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;img title=\\&quot;-white_check_mark-\\&quot; alt=\\&quot;-white_check_mark-\\&quot; class=\\&quot;smileys\\&quot; src=\\&quot;\\\/user\\\/data\\\/smileys\\\/emoji\\\/white_check_mark.png\\&quot; \\\/&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;- For &lt;strong&gt;iOS&lt;\\\/strong&gt;, use the custom URL for your app. For example, &lt;code&gt;my-app:\\\/\\\/&lt;\\\/code&gt;. For more information on setting custom URL schemes, refer to the &lt;a href=\\&quot;https:\\\/\\\/developer.apple.com\\\/documentation\\\/xcode\\\/defining-a-custom-url-scheme-for-your-app\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Apple Developer documentation&lt;\\\/a&gt;. &lt;br&gt; - For &lt;strong&gt;Android&lt;\\\/strong&gt;, use a custom URL handled by an Activity on your app. You can configure it with an &lt;a href=\\&quot;https:\\\/\\\/developer.android.com\\\/guide\\\/components\\\/intents-filters\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;intent filter&lt;\\\/a&gt;. For example, configure &lt;code&gt;my-app:\\\/\\\/your.package.name&lt;\\\/code&gt;, and then add that to your &lt;code&gt;manifest.xml&lt;\\\/code&gt; file.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&lt;div class=\\&quot;sc-notice info\\&quot;&gt;&lt;div&gt;\\n&lt;p&gt;To increase the likelihood of achieving a &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure#frictionless-flow\\&quot;&gt;frictionless flow&lt;\\\/a&gt; and higher authorisation rates, we recommend that you send &lt;a href=\\&quot;\\\/online-payments\\\/3d-secure\\\/api-reference#3d-secure-2-additional-data-objects\\&quot;&gt;additional parameters&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;For &lt;code&gt;channel&lt;\\\/code&gt; &lt;strong&gt;React Native&lt;\\\/strong&gt;, we recommend including the additional parameters: &lt;code&gt;billingAddress&lt;\\\/code&gt; and &lt;code&gt;shopperEmail&lt;\\\/code&gt;.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;&lt;\\\/div&gt;\\n&lt;ol start=\\&quot;2\\&quot;&gt;\\n&lt;li&gt;\\n&lt;p&gt;Your next steps depend on whether 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 an &lt;code&gt;action&lt;\\\/code&gt; object:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;th&gt;Next steps&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;No &lt;code&gt;action&lt;\\\/code&gt; object&lt;\\\/td&gt;\\n&lt;td&gt;The transaction was either exempted or out-of-scope for 3D Secure authentication.&lt;\\\/td&gt;\\n&lt;td&gt;Use the &lt;code&gt;resultCode&lt;\\\/code&gt; to &lt;a href=\\&quot;#present-the-payment-result\\&quot;&gt;present the payment result to your shopper&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;action&lt;\\\/code&gt; object &lt;br&gt;&lt;code&gt;type&lt;\\\/code&gt;:&lt;strong&gt;redirect&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The payment qualifies for 3D Secure.&lt;\\\/td&gt;\\n&lt;td&gt;Handle the redirect.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&quot;,&quot;altTitle&quot;:&quot;react-3ds&quot;,&quot;oldTabId&quot;:1,&quot;relation&quot;:&quot;react-3ds&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<\/li>\n<\/ol>\n<h2 id=\"present-the-payment-result\">Present the payment result<\/h2>\n<p>Use the\u00a0 <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#responses-200-resultCode\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">resultCode<\/a> from the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> or  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> response to present the payment result to your shopper. You will also receive the outcome of the payment asynchronously in a <a href=\"\/development-resources\/webhooks\">webhook<\/a>.<\/p>\n<p><\/p>\n<p>For card payments, you can receive the following <code>resultCode<\/code> values:<\/p>\n<table>\n<thead>\n<tr>\n<th>resultCode<\/th>\n<th>Description<\/th>\n<th>Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Authorised<\/strong><\/td>\n<td>The payment was successful.<\/td>\n<td>Inform the shopper that the payment has been successful. <br> If you are using <a href=\"\/online-payments\/capture#manual-capture\">manual capture<\/a>, you also need to <a href=\"\/online-payments\/capture\">capture<\/a> the payment.<\/td>\n<\/tr>\n<tr>\n<td><strong>Cancelled<\/strong><\/td>\n<td>The shopper cancelled the payment.<\/td>\n<td>Ask the shopper if they want to continue with the order, or ask them to select a different payment method.<\/td>\n<\/tr>\n<tr>\n<td><strong>Error<\/strong><\/td>\n<td>There was an error when the payment was being processed. For more information, check the <a href=\"\/development-resources\/refusal-reasons\">\n  <code>refusalReason<\/code>\n<\/a> field.<\/td>\n<td>Inform the shopper that there was an error processing their payment.<\/td>\n<\/tr>\n<tr>\n<td><strong>Refused<\/strong><\/td>\n<td>The payment was refused.  For more information, check the <a href=\"\/development-resources\/refusal-reasons\">\n  <code>refusalReason<\/code>\n<\/a> field.<\/td>\n<td>Ask the shopper to try the payment again using a different payment method.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"test-and-go-live\">Test and go live<\/h2>\n<p>Use our test card numbers to <a href=\"\/development-resources\/testing\/3d-secure-2-authentication\">test how your integration handles different 3D Secure authentication scenarios<\/a>.<\/p>\n<p>When you are ready to <a href=\"\/get-started-with-adyen\/#apply-for-your-live-account\">go live<\/a>, follow our <a href=\"\/online-payments\/go-live-checklist\/\">go-live checklist<\/a>.<\/p>\n<p>When using our <a href=\"\/development-resources\/live-endpoints\/\">live endpoints<\/a>, make sure that all API requests you make for the same payment session use the same live endpoint region. Using different regions for  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> and  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> requests may result in errors when authenticating with 3D Secure.<\/p>\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\/components-web\"\n                        target=\"_self\"\n                        >\n                    Web Components integration guide\n                <\/a><\/li><li><a href=\"\/online-payments\/3d-secure\"\n                        target=\"_self\"\n                        >\n                    3D Secure authentication\n                <\/a><\/li><li><a href=\"\/development-resources\/webhooks\"\n                        target=\"_self\"\n                        >\n                    Webhooks\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/online-payments\/3d-secure\/redirect-3ds2\/api-only","articleFields":{"description":"Support 3D Secure authentication through a redirect page.","feedback_component":true,"parameters":{"return_url":"https:\/\/your-company.example.com\/checkout?shopperOrder=12xy..","api_explorer_shortcode":"[api=\"Checkout\/payments\" inlineCode=\"false\" t=\"Try it in our API Explorer.\"]","logo_1":"![](\/reuse\/development-resources\/additional-info-resources\/nodejs-original.svg?resize=25)","example_1":"[Node.js](https:\/\/github.com\/adyen-examples\/adyen-node-online-payments\/tree\/main\/3ds2-example)"},"last_edit_on":"11-05-2021 17:39"},"algolia":{"url":"https:\/\/docs.adyen.com\/online-payments\/3d-secure\/redirect-3ds2\/api-only","title":"Redirect 3DS API-only integration","content":"\n&nbsp;&nbsp;Postman collectionImplementation examples&nbsp;&nbsp;Node.js\n&nbsp;&nbsp;\n&nbsp;&nbsp;\n\n    \n\nUse our APIs to accept cards with 3D Secure authentication through a redirect page. When adding card payments with redirect 3D Secure authentication to your integration, you additionally need to:\n\nCollect the additional parameters in your payment form.\nProvide the required 3D Secure parameters when making a payment request.\nHandle the redirect.\n\nRequirements\nBefore starting your integration:\n\nIf building a mobile integration, contact our Support Team to make sure that 3D Secure is triggered in your app.\nMake sure that you have integrated our Card Component for Web, iOS, or Android or built your own UI for collecting shopper's card details.\nIf you are using 3D Secure for PSD2 compliance, read our comprehensive PSD2 SCA guide.\n\nCollect additional parameters in your payment form\nFor higher authentication rates, we strongly recommend that you collect the card holder name, the shopper billing address and email address in advance in your payment form. Deliver these parameters to your backend when making a payment as they are required by the card schemes.\nCollect card holder name in your payment form\nYou can use our Card Component to build your payment form for 3D Secure 2 authentication. Select the channel that you are using below:\n\n\n    \n        \n        \n    \n\n\nMake a payment\nSelect the channel that you are using below:\n\n\n    \n        \n        \n    \n\n\n\n\nPresent the payment result\nUse the\u00a0 resultCode from the  \/payments or  \/payments\/details response to present the payment result to your shopper. You will also receive the outcome of the payment asynchronously in a webhook.\n\nFor card payments, you can receive the following resultCode values:\n\n\n\nresultCode\nDescription\nAction to take\n\n\n\n\nAuthorised\nThe payment was successful.\nInform the shopper that the payment has been successful.  If you are using manual capture, you also need to capture the payment.\n\n\nCancelled\nThe shopper cancelled the payment.\nAsk the shopper if they want to continue with the order, or ask them to select a different payment method.\n\n\nError\nThere was an error when the payment was being processed. For more information, check the \n  refusalReason\n field.\nInform the shopper that there was an error processing their payment.\n\n\nRefused\nThe payment was refused.  For more information, check the \n  refusalReason\n field.\nAsk the shopper to try the payment again using a different payment method.\n\n\n\nTest and go live\nUse our test card numbers to test how your integration handles different 3D Secure authentication scenarios.\nWhen you are ready to go live, follow our go-live checklist.\nWhen using our live endpoints, make sure that all API requests you make for the same payment session use the same live endpoint region. Using different regions for  \/payments and  \/payments\/details requests may result in errors when authenticating with 3D Secure.\nSee also\n\n\n                    Web Components integration guide\n                \n                    3D Secure authentication\n                \n                    Webhooks\n                \n","type":"page","locale":"en","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"3D Secure 2 authentication","lvl3":"3D Secure 2 redirect authentication","lvl4":"Redirect 3DS API-only integration"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/online-payments","lvl2":"https:\/\/docs.adyen.com\/online-payments\/3d-secure","lvl3":"https:\/\/docs.adyen.com\/online-payments\/3d-secure\/redirect-3ds2","lvl4":"\/online-payments\/3d-secure\/redirect-3ds2\/api-only"},"levels":5,"category":"Online Payments","category_color":"green","tags":["Redirect","API-only","integration"]},"articleFiles":{"payments-android.js":"<p alt=\"\">payments-android.js<\/p>","payments-ios.js":"<p alt=\"\">payments-ios.js<\/p>","payments-web.js":"<p alt=\"\">payments-web.js<\/p>"}}
