{"title":"Oney Component","category":"default","creationDate":1567783140,"content":"<p>This page explains how to add Oney to your existing Web Components integration.<\/p>\n<p>When making a Oney payment request:<\/p>\n<ol>\n<li>Collect shopper details and include them in the request.<\/li>\n<li>Provide information about the purchased items by specifying <code>lineItems<\/code>.<\/li>\n<li>Make sure that the payment is authorised and successfully <a href=\"#capture\">captured<\/a> before you ship the goods.<\/li>\n<\/ol>\n<h2>Requirements<\/h2>\n<p>Select the <a href=\"\/pt\/online-payments\/build-your-integration\">server-side flow<\/a> that your integration uses:<\/p>\n\n<div id=\"tabsODVb\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;Sessions flow&quot;,&quot;content&quot;:&quot;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Requirement&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;strong&gt;Integration type&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Make sure that you have built a Sessions flow &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/build-your-integration\\\/sessions-flow?platform=Web&amp;amp;integration=Components\\&quot;&gt;Web Components integration&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;strong&gt;Setup steps&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Before you begin, &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;add Oney in your Customer Area&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&quot;,&quot;altTitle&quot;:&quot;sessions&quot;,&quot;oldTabId&quot;:&quot;sessions-requirements_1&quot;,&quot;relation&quot;:&quot;sessions&quot;},{&quot;title&quot;:&quot;Advanced flow&quot;,&quot;content&quot;:&quot;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th style=\\&quot;text-align: left;\\&quot;&gt;Requirement&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;strong&gt;Integration type&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Make sure that you have built an Advanced flow &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/build-your-integration\\\/advanced-flow?platform=Web&amp;amp;integration=Components\\&quot;&gt;Web Components integration&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;strong&gt;Setup steps&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Before you begin, &lt;a href=\\&quot;\\\/pt\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;add Oney in your Customer Area&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&quot;,&quot;altTitle&quot;:&quot;advanced&quot;,&quot;oldTabId&quot;:&quot;advanced-requirements_2&quot;,&quot;relation&quot;:&quot;advanced&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2>API reference<\/h2>\n<p>Select which endpoint you are using:<\/p>\n\n<div id=\"tabDLZBM\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;&lt;code&gt;\\\/sessions&lt;\\\/code&gt;&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;This is the default with &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/build-your-integration\\\/sessions-flow?platform=Web&amp;amp;integration=Components\\&quot;&gt;Components v5.0.0&lt;\\\/a&gt; or later.&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/sessions#request-lineItems\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems&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&gt;Price and product information about the purchased items. Oney will only approve the payment if the total amount specified in &lt;code&gt;lineItems&lt;\\\/code&gt; matches the &lt;code&gt;amount.value&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/sessions#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;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&gt;The shopper&#039;s email address. This is where Oney will send the payment instructions.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/#\\\/CheckoutService\\\/latest\\\/post\\\/sessions__reqParam_shopperReference\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperReference&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&gt;A unique reference to identify the shopper. Minimum length: three characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/sessions#request-shopperName\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperName&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&gt;The shopper&#039;s first and last name (required). Maximum length: 32 characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/#\\\/CheckoutService\\\/latest\\\/post\\\/sessions__reqParam_telephoneNumber\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;telephoneNumber&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&gt;The shopper&#039;s mobile telephone number, using an international number format.&lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;+336&lt;\\\/strong&gt; or &lt;strong&gt;+337&lt;\\\/strong&gt; followed by eight digits&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;+346&lt;\\\/strong&gt; or &lt;strong&gt;+347&lt;\\\/strong&gt; followed by eight digits&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/sessions#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;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&gt;The postal address of the shopper. &lt;br&gt;&lt;code&gt;billingAddress.postalCode&lt;\\\/code&gt; must have five characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/sessions#request-deliveryAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;deliveryAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The postal address where the purchased goods should be delivered. If not provided, this is the same as the billing address. &lt;br&gt;&lt;code&gt;deliveryAddress.postalCode&lt;\\\/code&gt; must have five characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/#\\\/CheckoutService\\\/latest\\\/post\\\/sessions__reqParam_dateOfBirth\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;dateOfBirth&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s date of birth, if specified. The format must be YYYY-MM-DD.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/#\\\/CheckoutService\\\/latest\\\/post\\\/sessions__reqParam_shopperLocale\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperLocale&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;A combination of language code and country code to specify the language used in your checkout. &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;fr_FR&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;es_ES&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/#\\\/CheckoutService\\\/latest\\\/post\\\/sessions__reqParam_countryCode\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;countryCode&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s country. &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;FR&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;ES&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;additionalData.oneydata.trustFlag&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;An optional parameter to flag trusted shoppers to Oney for their risk assessment. To use this feature Oney must enable the setting. Possible values are &lt;code&gt;1&lt;\\\/code&gt; or &lt;code&gt;-1&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;additionalData.oneydata.merchantPays&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Optional field to override the default configuration. When we set up Oney for your merchant account, we also configure who pays the interest fees.&lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;true&lt;\\\/strong&gt;: You pay the interest fees of the shopper.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;false&lt;\\\/strong&gt;: The shopper pays the interest fees.&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;oney-web-sessions&#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\\\\\\\/v69\\\\\\\/sessions \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n   \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n   \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 15000\\\\n   },\\\\n   \\\\&amp;quot;shopperLocale\\\\&amp;quot;:\\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n   \\\\&amp;quot;countryCode\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n   \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n   \\\\&amp;quot;shopperEmail\\\\&amp;quot;:\\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n   \\\\&amp;quot;shopperName\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;firstName\\\\&amp;quot;:\\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n      \\\\&amp;quot;lastName\\\\&amp;quot;:\\\\&amp;quot;Approved\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;shopperReference\\\\&amp;quot;:\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n   \\\\&amp;quot;billingAddress\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;city\\\\&amp;quot;:\\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;:\\\\&amp;quot;73400\\\\&amp;quot;,\\\\n      \\\\&amp;quot;street\\\\&amp;quot;:\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;deliveryAddress\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;city\\\\&amp;quot;:\\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;:\\\\&amp;quot;73400\\\\&amp;quot;,\\\\n      \\\\&amp;quot;street\\\\&amp;quot;:\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n   \\\\&amp;quot;lineItems\\\\&amp;quot;:[\\\\n      {\\\\n         \\\\&amp;quot;quantity\\\\&amp;quot;:\\\\&amp;quot;1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;:\\\\&amp;quot;5000\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxPercentage\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;description\\\\&amp;quot;:\\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;id\\\\&amp;quot;:\\\\&amp;quot;item1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxAmount\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;:\\\\&amp;quot;5000\\\\&amp;quot;\\\\n      },\\\\n      {\\\\n         \\\\&amp;quot;quantity\\\\&amp;quot;:\\\\&amp;quot;1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;:\\\\&amp;quot;10000\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxPercentage\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;description\\\\&amp;quot;:\\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n         \\\\&amp;quot;id\\\\&amp;quot;:\\\\&amp;quot;item2\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxAmount\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;:\\\\&amp;quot;10000\\\\&amp;quot;\\\\n      }\\\\n   ]\\\\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 v39.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, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  .value(15000L);\\\\n\\\\nLineItem lineItem1 = new LineItem()\\\\n  .quantity(1L)\\\\n  .amountExcludingTax(5000L)\\\\n  .taxPercentage(0L)\\\\n  .description(\\\\&amp;quot;Test item 1\\\\&amp;quot;)\\\\n  .id(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  .taxAmount(0L)\\\\n  .amountIncludingTax(5000L);\\\\n\\\\nLineItem lineItem2 = new LineItem()\\\\n  .quantity(1L)\\\\n  .amountExcludingTax(10000L)\\\\n  .taxPercentage(0L)\\\\n  .description(\\\\&amp;quot;Test item 2\\\\&amp;quot;)\\\\n  .id(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  .taxAmount(0L)\\\\n  .amountIncludingTax(10000L);\\\\n\\\\nName name = new Name()\\\\n  .firstName(\\\\&amp;quot;Testperson-fr\\\\&amp;quot;)\\\\n  .lastName(\\\\&amp;quot;Approved\\\\&amp;quot;);\\\\n\\\\nDeliveryAddress deliveryAddress = new DeliveryAddress()\\\\n  .country(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  .city(\\\\&amp;quot;UGINE\\\\&amp;quot;)\\\\n  .houseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;)\\\\n  .street(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;)\\\\n  .postalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n\\\\nBillingAddress billingAddress = new BillingAddress()\\\\n  .country(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  .city(\\\\&amp;quot;UGINE\\\\&amp;quot;)\\\\n  .houseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;)\\\\n  .street(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;)\\\\n  .postalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n\\\\nCreateCheckoutSessionRequest createCheckoutSessionRequest = new CreateCheckoutSessionRequest()\\\\n  .amount(amount)\\\\n  .telephoneNumber(\\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;)\\\\n  .shopperEmail(\\\\&amp;quot;shopper@example.com\\\\&amp;quot;)\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;)\\\\n  .lineItems(Arrays.asList(lineItem1, lineItem2))\\\\n  .shopperName(name)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .deliveryAddress(deliveryAddress)\\\\n  .countryCode(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  .shopperLocale(\\\\&amp;quot;fr_FR\\\\&amp;quot;)\\\\n  .billingAddress(billingAddress)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;)\\\\n  .shopperReference(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nCreateCheckoutSessionResponse response = service.sessions(createCheckoutSessionRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;&amp;lt;?php\\\\n\\\\\\\/\\\\\\\/ Adyen PHP API Library v28.2.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\LineItem;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Name;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\DeliveryAddress;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\BillingAddress;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CreateCheckoutSessionRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(15000);\\\\n\\\\n$lineItem1 = new LineItem();\\\\n$lineItem1\\\\n  -&amp;gt;setQuantity(1)\\\\n  -&amp;gt;setAmountExcludingTax(5000)\\\\n  -&amp;gt;setTaxPercentage(0)\\\\n  -&amp;gt;setDescription(\\\\&amp;quot;Test item 1\\\\&amp;quot;)\\\\n  -&amp;gt;setId(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  -&amp;gt;setTaxAmount(0)\\\\n  -&amp;gt;setAmountIncludingTax(5000);\\\\n\\\\n$lineItem2 = new LineItem();\\\\n$lineItem2\\\\n  -&amp;gt;setQuantity(1)\\\\n  -&amp;gt;setAmountExcludingTax(10000)\\\\n  -&amp;gt;setTaxPercentage(0)\\\\n  -&amp;gt;setDescription(\\\\&amp;quot;Test item 2\\\\&amp;quot;)\\\\n  -&amp;gt;setId(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  -&amp;gt;setTaxAmount(0)\\\\n  -&amp;gt;setAmountIncludingTax(10000);\\\\n\\\\n$name = new Name();\\\\n$name\\\\n  -&amp;gt;setFirstName(\\\\&amp;quot;Testperson-fr\\\\&amp;quot;)\\\\n  -&amp;gt;setLastName(\\\\&amp;quot;Approved\\\\&amp;quot;);\\\\n\\\\n$deliveryAddress = new DeliveryAddress();\\\\n$deliveryAddress\\\\n  -&amp;gt;setCountry(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  -&amp;gt;setCity(\\\\&amp;quot;UGINE\\\\&amp;quot;)\\\\n  -&amp;gt;setHouseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;)\\\\n  -&amp;gt;setStreet(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;)\\\\n  -&amp;gt;setPostalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n\\\\n$billingAddress = new BillingAddress();\\\\n$billingAddress\\\\n  -&amp;gt;setCountry(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  -&amp;gt;setCity(\\\\&amp;quot;UGINE\\\\&amp;quot;)\\\\n  -&amp;gt;setHouseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;)\\\\n  -&amp;gt;setStreet(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;)\\\\n  -&amp;gt;setPostalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n\\\\n$createCheckoutSessionRequest = new CreateCheckoutSessionRequest();\\\\n$createCheckoutSessionRequest\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setTelephoneNumber(\\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperEmail(\\\\&amp;quot;shopper@example.com\\\\&amp;quot;)\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;)\\\\n  -&amp;gt;setLineItems(array($lineItem1, $lineItem2))\\\\n  -&amp;gt;setShopperName($name)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setDeliveryAddress($deliveryAddress)\\\\n  -&amp;gt;setCountryCode(\\\\&amp;quot;FR\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperLocale(\\\\&amp;quot;fr_FR\\\\&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;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;sessions($createCheckoutSessionRequest, $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 v32.1.1\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value = 15000\\\\n};\\\\n\\\\nLineItem lineItem1 = new LineItem\\\\n{\\\\n  Quantity = 1,\\\\n  AmountExcludingTax = 5000,\\\\n  TaxPercentage = 0,\\\\n  Description = \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n  Id = \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  TaxAmount = 0,\\\\n  AmountIncludingTax = 5000\\\\n};\\\\n\\\\nLineItem lineItem2 = new LineItem\\\\n{\\\\n  Quantity = 1,\\\\n  AmountExcludingTax = 10000,\\\\n  TaxPercentage = 0,\\\\n  Description = \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n  Id = \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  TaxAmount = 0,\\\\n  AmountIncludingTax = 10000\\\\n};\\\\n\\\\nName name = new Name\\\\n{\\\\n  FirstName = \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n  LastName = \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n};\\\\n\\\\nDeliveryAddress deliveryAddress = new DeliveryAddress\\\\n{\\\\n  Country = \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  City = \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  HouseNumberOrName = \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  Street = \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  PostalCode = \\\\&amp;quot;73400\\\\&amp;quot;\\\\n};\\\\n\\\\nBillingAddress billingAddress = new BillingAddress\\\\n{\\\\n  Country = \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  City = \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  HouseNumberOrName = \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  Street = \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  PostalCode = \\\\&amp;quot;73400\\\\&amp;quot;\\\\n};\\\\n\\\\nCreateCheckoutSessionRequest createCheckoutSessionRequest = new CreateCheckoutSessionRequest\\\\n{\\\\n  Amount = amount,\\\\n  TelephoneNumber = \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  ShopperEmail = \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  LineItems = new List&amp;lt;LineItem&amp;gt;{ lineItem1, lineItem2 },\\\\n  ShopperName = name,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  DeliveryAddress = deliveryAddress,\\\\n  CountryCode = \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  ShopperLocale = \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  BillingAddress = billingAddress,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  ShopperReference = \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Sessions(createCheckoutSessionRequest, 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 v29.0.0\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst createCheckoutSessionRequest = {\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 15000\\\\n  },\\\\n  shopperLocale: \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  countryCode: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  telephoneNumber: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  shopperEmail: \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  shopperName: {\\\\n    firstName: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n  },\\\\n  shopperReference: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  billingAddress: {\\\\n    city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  deliveryAddress: {\\\\n    city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  returnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  lineItems: [ {\\\\n    quantity: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    amountExcludingTax: \\\\&amp;quot;5000\\\\&amp;quot;,\\\\n    taxPercentage: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    description: \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n    id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    taxAmount: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    amountIncludingTax: \\\\&amp;quot;5000\\\\&amp;quot;\\\\n  }, {\\\\n    quantity: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    amountExcludingTax: \\\\&amp;quot;10000\\\\&amp;quot;,\\\\n    taxPercentage: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    description: \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n    id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    taxAmount: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    amountIncludingTax: \\\\&amp;quot;10000\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.sessions(createCheckoutSessionRequest, { 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 v21.0.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v21\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  Value: 15000,\\\\n}\\\\n\\\\nlineItem1 := checkout.LineItem{\\\\n  Quantity: common.PtrInt64(1),\\\\n  AmountExcludingTax: common.PtrInt64(5000),\\\\n  TaxPercentage: common.PtrInt64(0),\\\\n  Description: common.PtrString(\\\\&amp;quot;Test item 1\\\\&amp;quot;),\\\\n  Id: common.PtrString(\\\\&amp;quot;item1\\\\&amp;quot;),\\\\n  TaxAmount: common.PtrInt64(0),\\\\n  AmountIncludingTax: common.PtrInt64(5000),\\\\n}\\\\n\\\\nlineItem2 := checkout.LineItem{\\\\n  Quantity: common.PtrInt64(1),\\\\n  AmountExcludingTax: common.PtrInt64(10000),\\\\n  TaxPercentage: common.PtrInt64(0),\\\\n  Description: common.PtrString(\\\\&amp;quot;Test item 2\\\\&amp;quot;),\\\\n  Id: common.PtrString(\\\\&amp;quot;item2\\\\&amp;quot;),\\\\n  TaxAmount: common.PtrInt64(0),\\\\n  AmountIncludingTax: common.PtrInt64(10000),\\\\n}\\\\n\\\\nname := checkout.Name{\\\\n  FirstName: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n  LastName: \\\\&amp;quot;Approved\\\\&amp;quot;,\\\\n}\\\\n\\\\ndeliveryAddress := checkout.DeliveryAddress{\\\\n  Country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  City: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  HouseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  Street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  PostalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n}\\\\n\\\\nbillingAddress := checkout.BillingAddress{\\\\n  Country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  City: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  HouseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  Street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  PostalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n}\\\\n\\\\ncreateCheckoutSessionRequest := checkout.CreateCheckoutSessionRequest{\\\\n  Amount: amount,\\\\n  TelephoneNumber: common.PtrString(\\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;),\\\\n  ShopperEmail: common.PtrString(\\\\&amp;quot;shopper@example.com\\\\&amp;quot;),\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  LineItems: []checkout.LineItem{\\\\n      lineItem1, lineItem2,\\\\n  },\\\\n  ShopperName: &amp;amp;name,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  DeliveryAddress: &amp;amp;deliveryAddress,\\\\n  CountryCode: common.PtrString(\\\\&amp;quot;FR\\\\&amp;quot;),\\\\n  ShopperLocale: common.PtrString(\\\\&amp;quot;fr_FR\\\\&amp;quot;),\\\\n  BillingAddress: &amp;amp;billingAddress,\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  ShopperReference: common.PtrString(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;),\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.SessionsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).CreateCheckoutSessionRequest(createCheckoutSessionRequest)\\\\nres, httpRes, err := service.PaymentsApi.Sessions(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v13.6.0\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 15000\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperReference\\\\&amp;quot;: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;deliveryAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot;: [ {\\\\n    \\\\&amp;quot;quantity\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;: \\\\&amp;quot;5000\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxPercentage\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;description\\\\&amp;quot;: \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxAmount\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: \\\\&amp;quot;5000\\\\&amp;quot;\\\\n  }, {\\\\n    \\\\&amp;quot;quantity\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;: \\\\&amp;quot;10000\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxPercentage\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;description\\\\&amp;quot;: \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxAmount\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: \\\\&amp;quot;10000\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.sessions(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v10.4.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_REFERENCE&#039;,\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 15000\\\\n  },\\\\n  :shopperLocale =&amp;gt; &#039;fr_FR&#039;,\\\\n  :countryCode =&amp;gt; &#039;FR&#039;,\\\\n  :telephoneNumber =&amp;gt; &#039;+33 1 76 35 07 90&#039;,\\\\n  :shopperEmail =&amp;gt; &#039;shopper@example.com&#039;,\\\\n  :shopperName =&amp;gt; {\\\\n    :firstName =&amp;gt; &#039;Testperson-fr&#039;,\\\\n    :lastName =&amp;gt; &#039;Approved&#039;\\\\n  },\\\\n  :shopperReference =&amp;gt; &#039;YOUR_UNIQUE_SHOPPER_ID&#039;,\\\\n  :billingAddress =&amp;gt; {\\\\n    :city =&amp;gt; &#039;UGINE&#039;,\\\\n    :country =&amp;gt; &#039;FR&#039;,\\\\n    :houseNumberOrName =&amp;gt; &#039;0&#039;,\\\\n    :postalCode =&amp;gt; &#039;73400&#039;,\\\\n    :street =&amp;gt; &#039;461 Rue du Centenaire&#039;\\\\n  },\\\\n  :deliveryAddress =&amp;gt; {\\\\n    :city =&amp;gt; &#039;UGINE&#039;,\\\\n    :country =&amp;gt; &#039;FR&#039;,\\\\n    :houseNumberOrName =&amp;gt; &#039;0&#039;,\\\\n    :postalCode =&amp;gt; &#039;73400&#039;,\\\\n    :street =&amp;gt; &#039;461 Rue du Centenaire&#039;\\\\n  },\\\\n  :returnUrl =&amp;gt; &#039;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..&#039;,\\\\n  :lineItems =&amp;gt; [ {\\\\n    :quantity =&amp;gt; &#039;1&#039;,\\\\n    :amountExcludingTax =&amp;gt; &#039;5000&#039;,\\\\n    :taxPercentage =&amp;gt; &#039;0&#039;,\\\\n    :description =&amp;gt; &#039;Test item 1&#039;,\\\\n    :id =&amp;gt; &#039;item1&#039;,\\\\n    :taxAmount =&amp;gt; &#039;0&#039;,\\\\n    :amountIncludingTax =&amp;gt; &#039;5000&#039;\\\\n  }, {\\\\n    :quantity =&amp;gt; &#039;1&#039;,\\\\n    :amountExcludingTax =&amp;gt; &#039;10000&#039;,\\\\n    :taxPercentage =&amp;gt; &#039;0&#039;,\\\\n    :description =&amp;gt; &#039;Test item 2&#039;,\\\\n    :id =&amp;gt; &#039;item2&#039;,\\\\n    :taxAmount =&amp;gt; &#039;0&#039;,\\\\n    :amountIncludingTax =&amp;gt; &#039;10000&#039;\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.sessions(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 v29.0.0\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nconst config = new Config({\\\\n  apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  environment: EnvironmentEnum.TEST\\\\n});\\\\n\\\\nconst client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n  value: 15000\\\\n};\\\\n\\\\nconst lineItem1: Types.checkout.LineItem = {\\\\n  quantity: 1,\\\\n  amountExcludingTax: 5000,\\\\n  taxPercentage: 0,\\\\n  description: \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n  id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  taxAmount: 0,\\\\n  amountIncludingTax: 5000\\\\n};\\\\n\\\\nconst lineItem2: Types.checkout.LineItem = {\\\\n  quantity: 1,\\\\n  amountExcludingTax: 10000,\\\\n  taxPercentage: 0,\\\\n  description: \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n  id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  taxAmount: 0,\\\\n  amountIncludingTax: 10000\\\\n};\\\\n\\\\nconst name: Types.checkout.Name = {\\\\n  firstName: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n  lastName: \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n};\\\\n\\\\nconst deliveryAddress: Types.checkout.DeliveryAddress = {\\\\n  country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  postalCode: \\\\&amp;quot;73400\\\\&amp;quot;\\\\n};\\\\n\\\\nconst billingAddress: Types.checkout.BillingAddress = {\\\\n  country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n  houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n  street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;,\\\\n  postalCode: \\\\&amp;quot;73400\\\\&amp;quot;\\\\n};\\\\n\\\\nconst createCheckoutSessionRequest: Types.checkout.CreateCheckoutSessionRequest = {\\\\n  amount: amount,\\\\n  telephoneNumber: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  shopperEmail: \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  lineItems: [lineItem1, lineItem2],\\\\n  shopperName: name,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  deliveryAddress: deliveryAddress,\\\\n  countryCode: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  shopperLocale: \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  billingAddress: billingAddress,\\\\n  returnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\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.sessions(createCheckoutSessionRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;sessions&quot;,&quot;oldTabId&quot;:&quot;sessions-api_1&quot;,&quot;relation&quot;:&quot;sessions&quot;},{&quot;title&quot;:&quot;&lt;code&gt;\\\/payments&lt;\\\/code&gt;&quot;,&quot;content&quot;:&quot;\\n&lt;p&gt;If you implemented an &lt;a href=\\&quot;\\\/pt\\\/online-payments\\\/build-your-integration\\&quot;&gt;additional use case&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter name&lt;\\\/th&gt;\\n&lt;th style=\\&quot;text-align: center;\\&quot;&gt;Required&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-lineItems\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems&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&gt;Price and product information about the purchased items. Oney will only approve the payment if the total amount specified in &lt;code&gt;lineItems&lt;\\\/code&gt; matches the &lt;code&gt;amount.value&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&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;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&gt;The shopper&#039;s email address. This is where Oney will send the payment instructions.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperReference\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperReference&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&gt;A unique reference to identify the shopper. Minimum length: three characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperName\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperName&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&gt;The shopper&#039;s first and last name (required). Maximum length: 32 characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-telephoneNumber\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;telephoneNumber&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&gt;The shopper&#039;s mobile telephone number, using an international number format.&lt;br&gt;&lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;+336&lt;\\\/strong&gt; or &lt;strong&gt;+337&lt;\\\/strong&gt; followed by eight digits&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;+346&lt;\\\/strong&gt; or &lt;strong&gt;+347&lt;\\\/strong&gt; followed by eight digits&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&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;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&gt;The postal address of the shopper. &lt;br&gt;&lt;code&gt;billingAddress.postalCode&lt;\\\/code&gt; must have five characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-deliveryAddress\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;deliveryAddress&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The postal address where the purchased goods should be delivered. If not provided, this is the same as the billing address.&lt;br&gt; &lt;code&gt;deliveryAddress.postalCode&lt;\\\/code&gt; must have five characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-dateOfBirth\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;dateOfBirth&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s date of birth, if specified. The format must be YYYY-MM-DD.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-shopperLocale\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperLocale&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;A combination of language code and country code to specify the language used in your checkout. &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;fr_FR&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;es_ES&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt; &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments#request-countryCode\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;countryCode&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s country. &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;France: &lt;strong&gt;FR&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;Spain: &lt;strong&gt;ES&lt;\\\/strong&gt;&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;additionalData.oneydata.trustFlag&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;An optional field to flag trusted shoppers to Oney for their risk assessment. To use this feature Oney must enable the Oney trust setting on your account. Possible values are &lt;code&gt;1&lt;\\\/code&gt; or &lt;code&gt;-1&lt;\\\/code&gt;.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;additionalData.oneydata.merchantPays&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: center;\\&quot;&gt;&lt;\\\/td&gt;\\n&lt;td&gt;An optional field to override the default configuration. When we set up Oney for your merchant account, we also configure who pays the interest fees.&lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;true&lt;\\\/strong&gt;: You pay the interest fees of the shopper.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;strong&gt;false&lt;\\\/strong&gt;: The shopper pays the interest fees.&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;oney-web-payments&#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;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n   \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;facilypay_3x\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;value\\\\&amp;quot;: 15000\\\\n   },\\\\n   \\\\&amp;quot;shopperLocale\\\\&amp;quot;:\\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n   \\\\&amp;quot;countryCode\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n   \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n   \\\\&amp;quot;shopperEmail\\\\&amp;quot;:\\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n   \\\\&amp;quot;shopperName\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;firstName\\\\&amp;quot;:\\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n      \\\\&amp;quot;lastName\\\\&amp;quot;:\\\\&amp;quot;Approved\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;shopperReference\\\\&amp;quot;:\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n   \\\\&amp;quot;billingAddress\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;city\\\\&amp;quot;:\\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;:\\\\&amp;quot;73400\\\\&amp;quot;,\\\\n      \\\\&amp;quot;street\\\\&amp;quot;:\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;deliveryAddress\\\\&amp;quot;:{\\\\n      \\\\&amp;quot;city\\\\&amp;quot;:\\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot;:\\\\&amp;quot;FR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot;:\\\\&amp;quot;73400\\\\&amp;quot;,\\\\n      \\\\&amp;quot;street\\\\&amp;quot;:\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   },\\\\n   \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n   \\\\&amp;quot;lineItems\\\\&amp;quot;:[\\\\n      {\\\\n         \\\\&amp;quot;quantity\\\\&amp;quot;:\\\\&amp;quot;1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;:\\\\&amp;quot;5000\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxPercentage\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;description\\\\&amp;quot;:\\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;id\\\\&amp;quot;:\\\\&amp;quot;item1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxAmount\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;:\\\\&amp;quot;5000\\\\&amp;quot;\\\\n      },\\\\n      {\\\\n         \\\\&amp;quot;quantity\\\\&amp;quot;:\\\\&amp;quot;1\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;:\\\\&amp;quot;10000\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxPercentage\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;description\\\\&amp;quot;:\\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n         \\\\&amp;quot;id\\\\&amp;quot;:\\\\&amp;quot;item2\\\\&amp;quot;,\\\\n         \\\\&amp;quot;taxAmount\\\\&amp;quot;:\\\\&amp;quot;0\\\\&amp;quot;,\\\\n         \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;:\\\\&amp;quot;10000\\\\&amp;quot;\\\\n      }\\\\n   ]\\\\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;\\\\\\\/\\\\\\\/ Create a Client to establish a connection to our services with your API Key from the Customer Area.\\\\nClient 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    PaymentMethodDetails paymentMethodDetails = new DefaultPaymentMethodDetails();\\\\n    paymentMethodDetails.setType(\\\\&amp;quot;facilypay_3x\\\\&amp;quot;);\\\\n\\\\n    paymentsRequest.setPaymentMethod(paymentMethodDetails);\\\\n\\\\n    Amount amount = new Amount();\\\\n    amount.setCurrency(\\\\&amp;quot;EUR\\\\&amp;quot;);\\\\n    amount.setValue(15000L);\\\\n\\\\n    paymentsRequest.setAmount(amount);\\\\n    paymentsRequest.setShopperLocale(\\\\&amp;quot;fr_FR\\\\&amp;quot;);\\\\n    paymentsRequest.setCountryCode(\\\\&amp;quot;FR\\\\&amp;quot;);\\\\n    paymentsRequest.setShopperEmail(\\\\&amp;quot;shopper@example.com\\\\&amp;quot;);\\\\n    paymentsRequest.setDateOfBirth(\\\\&amp;quot;1985-07-30\\\\&amp;quot;);\\\\n    paymentsRequest.setTelephoneNumber(\\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;);\\\\n\\\\n    Name shopperDetails = new Name();\\\\n    shopperDetails.setFirstName(\\\\&amp;quot;Testperson-fr\\\\&amp;quot;);\\\\n    shopperDetails.setGender(Name.GenderEnum.UNKNOWN);\\\\n    shopperDetails.setLastName(\\\\&amp;quot;Approved\\\\&amp;quot;);\\\\n\\\\n    paymentsRequest.setShopperName(shopperDetails);\\\\n    paymentsRequest.setShopperReference(\\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;);\\\\n\\\\n    Address billingAddress = new Address();\\\\n    billingAddress.setCity(\\\\&amp;quot;UGINE\\\\&amp;quot;);\\\\n    billingAddress.setCountry(\\\\&amp;quot;FR\\\\&amp;quot;);\\\\n    billingAddress.setHouseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;);\\\\n    billingAddress.setPostalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n    billingAddress.setStreet(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;);\\\\n\\\\n    Address deliveryAddress = new Address();\\\\n    deliveryAddress.setCity(\\\\&amp;quot;UGINE\\\\&amp;quot;);\\\\n    deliveryAddress.setCountry(\\\\&amp;quot;FR\\\\&amp;quot;);\\\\n    deliveryAddress.setHouseNumberOrName(\\\\&amp;quot;0\\\\&amp;quot;);\\\\n    deliveryAddress.setPostalCode(\\\\&amp;quot;73400\\\\&amp;quot;);\\\\n    deliveryAddress.setStreet(\\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;);\\\\n\\\\n    paymentsRequest.setBillingAddress(billingAddress);\\\\n    paymentsRequest.setDeliveryAddress(deliveryAddress);\\\\n    paymentsRequest.setReturnUrl(\\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;);\\\\n\\\\n    List&amp;lt;LineItem&amp;gt; lineItems = new ArrayList&amp;lt;&amp;gt;();\\\\n    lineItems.add(\\\\n    new LineItem()\\\\n    .quantity(1L)\\\\n    .amountExcludingTax(5000L)\\\\n    .taxPercentage(0L)\\\\n    .description(\\\\&amp;quot;Test Item 1\\\\&amp;quot;)\\\\n    .id(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n    .taxAmount(0L)\\\\n    .amountIncludingTax(5000L)\\\\n    );\\\\n    lineItems.add(\\\\n    new LineItem()\\\\n    .quantity(1L)\\\\n    .amountExcludingTax(10000L)\\\\n    .taxPercentage(0L)\\\\n    .description(\\\\&amp;quot;Test Item 2\\\\&amp;quot;)\\\\n    .id(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n    .taxAmount(0L)\\\\n    .amountIncludingTax(10000L)\\\\n    );\\\\n\\\\n    paymentsRequest.setLineItems(lineItems);\\\\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;ADYEN_API_KEY\\\\&amp;quot;);\\\\n$service = new \\\\\\\\Adyen\\\\\\\\Service\\\\\\\\Checkout($client);\\\\n\\\\n$params = [\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot; =&amp;gt; [\\\\n     \\\\&amp;quot;type\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;facilypay_3x\\\\&amp;quot;\\\\n  ],\\\\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; \\\\&amp;quot;15000\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;dateOfBirth\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1985-07-30\\\\&amp;quot;,\\\\n  \\\\&amp;quot;telephoneNumber\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot; =&amp;gt; [\\\\n     \\\\&amp;quot;firstName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n     \\\\&amp;quot;lastName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;shopperReference\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot; =&amp;gt; [\\\\n     \\\\&amp;quot;city\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n     \\\\&amp;quot;country\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n     \\\\&amp;quot;houseNumberOrName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n     \\\\&amp;quot;postalCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n     \\\\&amp;quot;street\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;deliveryAddress\\\\&amp;quot; =&amp;gt; [\\\\n      \\\\&amp;quot;city\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n      \\\\&amp;quot;country\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n      \\\\&amp;quot;houseNumberOrName\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n      \\\\&amp;quot;postalCode\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n      \\\\&amp;quot;street\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  ],\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot; =&amp;gt; [\\\\n     [\\\\n        \\\\&amp;quot;quantity\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountExcludingTax\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;5000\\\\&amp;quot;,\\\\n        \\\\&amp;quot;taxPercentage\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n        \\\\&amp;quot;description\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Test Item 1\\\\&amp;quot;,\\\\n        \\\\&amp;quot;id\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n        \\\\&amp;quot;taxAmount\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountIncludingTax\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;5000\\\\&amp;quot;\\\\n     ],\\\\n     [\\\\n        \\\\&amp;quot;quantity\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;1\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountExcludingTax\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;10000\\\\&amp;quot;,\\\\n        \\\\&amp;quot;taxPercentage\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n        \\\\&amp;quot;description\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;Test Item 2\\\\&amp;quot;,\\\\n        \\\\&amp;quot;id\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n        \\\\&amp;quot;taxAmount\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;0\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountIncludingTax\\\\&amp;quot; =&amp;gt; \\\\&amp;quot;10000\\\\&amp;quot;\\\\n     ]\\\\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;ADYEN_API_KEY\\\\&amp;quot;, Environment.Test);\\\\nvar checkout = new Checkout(client);\\\\n\\\\nvar paymentsRequest = new Adyen.Model.Checkout.PaymentRequest\\\\n{\\\\n   MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n   Reference = \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n   PaymentMethod = new DefaultPaymentMethodDetails { Type = \\\\&amp;quot;facilypay_3x\\\\&amp;quot; },\\\\n   Amount = new Adyen.Model.Checkout.Amount(currency: \\\\&amp;quot;EUR\\\\&amp;quot;, value: 15000),\\\\n   ShopperLocale = \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n   CountryCode = \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n   ShopperEmail = \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n   DateOfBirth = new DateTime(1981, 01, 13),\\\\n   TelephoneNumber = \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n   ShopperName = new Adyen.Model.Checkout.Name\\\\n   {\\\\n       FirstName = \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n       LastName = \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n   },\\\\n   ShopperReference = \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n   AdditionalData = new Dictionary&amp;lt;string, string&amp;gt;\\\\n   {\\\\n       { \\\\&amp;quot;oneydata.merchantPays\\\\&amp;quot;, \\\\&amp;quot;true\\\\&amp;quot;},\\\\n   },\\\\n   BillingAddress = new Adyen.Model.Checkout.Address\\\\n   (\\\\n       city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n       country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n       houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n       postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n       stateOrProvince: \\\\&amp;quot;\\\\&amp;quot;,\\\\n       street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   ),\\\\n   DeliveryAddress = new Adyen.Model.Checkout.Address\\\\n   (\\\\n       city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n       country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n       houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n       postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n       stateOrProvince: \\\\&amp;quot;\\\\&amp;quot;,\\\\n       street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n   ),\\\\n   ReturnUrl = \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n   LineItems = new List&amp;lt;LineItem&amp;gt;\\\\n   {\\\\n       new LineItem(taxPercentage: 0, id: \\\\&amp;quot;item1\\\\&amp;quot;, taxAmount: 0,\\\\n           description: \\\\&amp;quot;Test Item 1\\\\&amp;quot;, amountIncludingTax: 5000, quantity: 1, amountExcludingTax: 5000),\\\\n       new LineItem(taxPercentage: 0, id: \\\\&amp;quot;item2\\\\&amp;quot;, taxAmount: 0,\\\\n           description: \\\\&amp;quot;Test Item 2\\\\&amp;quot;, amountIncludingTax: 10000, quantity: 1, amountExcludingTax: 10000),\\\\n   }\\\\n\\\\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;\\\\\\\/\\\\\\\/ Adyen Node API Library v16.1.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\nconst client = new Client({apiKey: \\\\&amp;quot;YOUR_X_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object\\\\nconst paymentRequest = {\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;facilypay_3x\\\\&amp;quot;\\\\n  },\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    value: 15000\\\\n  },\\\\n  shopperLocale: \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  countryCode: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  telephoneNumber: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  shopperEmail: \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  shopperName: {\\\\n    firstName: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n  },\\\\n  shopperReference: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  billingAddress: {\\\\n    city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  deliveryAddress: {\\\\n    city: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    country: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    houseNumberOrName: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    postalCode: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    street: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  returnUrl: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  lineItems: [ {\\\\n    quantity: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    amountExcludingTax: \\\\&amp;quot;5000\\\\&amp;quot;,\\\\n    taxPercentage: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    description: \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n    id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    taxAmount: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    amountIncludingTax: \\\\&amp;quot;5000\\\\&amp;quot;\\\\n  }, {\\\\n    quantity: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    amountExcludingTax: \\\\&amp;quot;10000\\\\&amp;quot;,\\\\n    taxPercentage: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    description: \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n    id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    taxAmount: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    amountIncludingTax: \\\\&amp;quot;10000\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Make 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;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.0.0\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;YOUR_X_API_KEY\\\\&amp;quot;\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\njson_request = {\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;facilypay_3x\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;EUR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 15000\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;fr_FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;+33 1 76 35 07 90\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;shopper@example.com\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Testperson-fr\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Approved\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperReference\\\\&amp;quot;: \\\\&amp;quot;YOUR_UNIQUE_SHOPPER_ID\\\\&amp;quot;,\\\\n  \\\\&amp;quot;billingAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;deliveryAddress\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;city\\\\&amp;quot;: \\\\&amp;quot;UGINE\\\\&amp;quot;,\\\\n    \\\\&amp;quot;country\\\\&amp;quot;: \\\\&amp;quot;FR\\\\&amp;quot;,\\\\n    \\\\&amp;quot;houseNumberOrName\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;postalCode\\\\&amp;quot;: \\\\&amp;quot;73400\\\\&amp;quot;,\\\\n    \\\\&amp;quot;street\\\\&amp;quot;: \\\\&amp;quot;461 Rue du Centenaire\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot;: [ {\\\\n    \\\\&amp;quot;quantity\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;: \\\\&amp;quot;5000\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxPercentage\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;description\\\\&amp;quot;: \\\\&amp;quot;Test item 1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxAmount\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: \\\\&amp;quot;5000\\\\&amp;quot;\\\\n  }, {\\\\n    \\\\&amp;quot;quantity\\\\&amp;quot;: \\\\&amp;quot;1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountExcludingTax\\\\&amp;quot;: \\\\&amp;quot;10000\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxPercentage\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;description\\\\&amp;quot;: \\\\&amp;quot;Test item 2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;taxAmount\\\\&amp;quot;: \\\\&amp;quot;0\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: \\\\&amp;quot;10000\\\\&amp;quot;\\\\n  } ]\\\\n}\\\\n\\\\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.1.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;YOUR_X_API_KEY&#039;\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\nrequest_body = {\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_REFERENCE&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;facilypay_3x&#039;\\\\n  },\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;EUR&#039;,\\\\n    :value =&amp;gt; 15000\\\\n  },\\\\n  :shopperLocale =&amp;gt; &#039;fr_FR&#039;,\\\\n  :countryCode =&amp;gt; &#039;FR&#039;,\\\\n  :telephoneNumber =&amp;gt; &#039;+33 1 76 35 07 90&#039;,\\\\n  :shopperEmail =&amp;gt; &#039;shopper@example.com&#039;,\\\\n  :shopperName =&amp;gt; {\\\\n    :firstName =&amp;gt; &#039;Testperson-fr&#039;,\\\\n    :lastName =&amp;gt; &#039;Approved&#039;\\\\n  },\\\\n  :shopperReference =&amp;gt; &#039;YOUR_UNIQUE_SHOPPER_ID&#039;,\\\\n  :billingAddress =&amp;gt; {\\\\n    :city =&amp;gt; &#039;UGINE&#039;,\\\\n    :country =&amp;gt; &#039;FR&#039;,\\\\n    :houseNumberOrName =&amp;gt; &#039;0&#039;,\\\\n    :postalCode =&amp;gt; &#039;73400&#039;,\\\\n    :street =&amp;gt; &#039;461 Rue du Centenaire&#039;\\\\n  },\\\\n  :deliveryAddress =&amp;gt; {\\\\n    :city =&amp;gt; &#039;UGINE&#039;,\\\\n    :country =&amp;gt; &#039;FR&#039;,\\\\n    :houseNumberOrName =&amp;gt; &#039;0&#039;,\\\\n    :postalCode =&amp;gt; &#039;73400&#039;,\\\\n    :street =&amp;gt; &#039;461 Rue du Centenaire&#039;\\\\n  },\\\\n  :returnUrl =&amp;gt; &#039;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..&#039;,\\\\n  :lineItems =&amp;gt; [ {\\\\n    :quantity =&amp;gt; &#039;1&#039;,\\\\n    :amountExcludingTax =&amp;gt; &#039;5000&#039;,\\\\n    :taxPercentage =&amp;gt; &#039;0&#039;,\\\\n    :description =&amp;gt; &#039;Test item 1&#039;,\\\\n    :id =&amp;gt; &#039;item1&#039;,\\\\n    :taxAmount =&amp;gt; &#039;0&#039;,\\\\n    :amountIncludingTax =&amp;gt; &#039;5000&#039;\\\\n  }, {\\\\n    :quantity =&amp;gt; &#039;1&#039;,\\\\n    :amountExcludingTax =&amp;gt; &#039;10000&#039;,\\\\n    :taxPercentage =&amp;gt; &#039;0&#039;,\\\\n    :description =&amp;gt; &#039;Test item 2&#039;,\\\\n    :id =&amp;gt; &#039;item2&#039;,\\\\n    :taxAmount =&amp;gt; &#039;0&#039;,\\\\n    :amountIncludingTax =&amp;gt; &#039;10000&#039;\\\\n  } ]\\\\n}\\\\n\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:&quot;advanced&quot;,&quot;oldTabId&quot;:&quot;advanced-api_2&quot;,&quot;relation&quot;:&quot;advanced&quot;}]\"\n            :should-update-when-url-changes='true'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2>Component configuration<\/h2>\n<h3>Step 1: Create a DOM element<\/h3>\n<p>Create a DOM element on your checkout page for each type of Oney installment you support, placing it where you want the payment method form to be rendered:<\/p>\n<pre><code class=\"language-html\"> &lt;div id=\"oney_3x-container\"&gt;&lt;\/div&gt;\n &lt;div id=\"oney_4x-container\"&gt;&lt;\/div&gt;<\/code><\/pre>\n<h3>Step 2: Create an instance of the Component<\/h3>\n<p>Create an instance of the Oney Component for each type of Oney installment you support.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Number of installments<\/th>\n<th style=\"text-align: left;\">Payment method type<\/th>\n<th style=\"text-align: left;\">Supported county<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>3<\/strong><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>facilypay_3x<\/strong><\/span><\/td>\n<td style=\"text-align: left;\">France (<span translate=\"no\"><strong>FR<\/strong><\/span>) and Spain (<span translate=\"no\"><strong>ES<\/strong><\/span>)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>4<\/strong><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>facilypay_4x<\/strong><\/span><\/td>\n<td style=\"text-align: left;\">France (<span translate=\"no\"><strong>FR<\/strong><\/span>) and Spain (<span translate=\"no\"><strong>ES<\/strong><\/span>)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>6<\/strong><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>facilypay_6x<\/strong><\/span><\/td>\n<td style=\"text-align: left;\">Spain (<span translate=\"no\"><strong>ES<\/strong><\/span>)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>10<\/strong><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>facilypay_10x<\/strong><\/span><\/td>\n<td style=\"text-align: left;\">France (<span translate=\"no\"><strong>FR<\/strong><\/span>) and Spain (<span translate=\"no\"><strong>ES<\/strong><\/span>)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>12<\/strong><\/td>\n<td style=\"text-align: left;\"><span translate=\"no\"><strong>facilypay_12x<\/strong><\/span><\/td>\n<td style=\"text-align: left;\">France (<span translate=\"no\"><strong>FR<\/strong><\/span>) and Spain (<span translate=\"no\"><strong>ES<\/strong><\/span>)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Use the <code>create<\/code> method of your <code>AdyenCheckout<\/code> instance, in this case <code>checkout<\/code>, to create the Component:<\/p>\n<pre><code class=\"language-js\">const oney_3xComponent =  checkout.create('facilypay_3x').mount('#oney_3x-container');\nconst oney_4xComponent =  checkout.create('facilypay_4x').mount('#oney_4x-container');<\/code><\/pre>\n<div class=\"notices blue\">\n<p>By default, the shopper input fields are visible and editable. Follow the instructions in <a href=\"#oney-optional\">optional configuration<\/a> if you want to change these settings.<\/p>\n<\/div>\n<h3 id=\"oney-optional\">Optional configuration<\/h3>\n<p>You can add the following optional configuration to configure the visibility of the shopper input fields for Oney :<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter name<\/th>\n<th>Description<\/th>\n<th>Default<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>personalDetails<\/code><\/td>\n<td>Shopper full name, date of birth, phone number, and email address.<\/td>\n<td><strong>editable<\/strong><\/td>\n<\/tr>\n<tr>\n<td><code>billingAddress<\/code><\/td>\n<td>The address where to send the invoice.<\/td>\n<td><strong>editable<\/strong><\/td>\n<\/tr>\n<tr>\n<td><code>deliveryAddress<\/code><\/td>\n<td>The address where the purchased goods should be delivered. By default, the delivery address is the same as the billing address. When the shopper selects they want to specify a different address, the delivery address fields will appear.<\/td>\n<td><strong>editable<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can set the visibility to <strong>hidden<\/strong>, <strong>readOnly<\/strong> or <strong>editable<\/strong>.<\/p>\n<div class=\"notices blue\">\n<p>Although you can hide the fields from your payment form, you must still provide this information in your payment request.<\/p>\n<\/div>\n<p>If you want to add optional configuration, include this in a configuration object. The following example shows how to configure the Component to make the <code>deliveryAddress<\/code> field <strong>readOnly<\/strong>:<\/p>\n<pre><code class=\"language-js\">const oneyConfiguration = {\n    visibility: {\n        personalDetails: editable, \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ and the shopper can edit them.\n                            \/\/ This is the default behavior.\n        billingAddress: editable, \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ and the shopper can edit them.\n                            \/\/ This is the default behavior.\n        deliveryAddress: readOnly \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ but the shopper cannot edit them.\n    };\n}<\/code><\/pre>\n<p>Use the <code>create<\/code> method of your <code>AdyenCheckout<\/code> instance, in this case <code>checkout<\/code>, to create an instance of the Component. Add the configuration object for each Oney installment type that you support.<\/p>\n<pre><code class=\"language-js\">const oney_3xComponent = checkout.create('facilypay_3x', oneyConfiguration).mount('#oney_3x-container');\nconst oney_4xComponent = checkout.create('facilypay_4x', oneyConfiguration).mount('#oney_4x-container');<\/code><\/pre>\n<h2 id=\"capture\">Capture the payment<\/h2>\n<div class=\"notices blue\">\n<p>Make sure that the payment is captured successfully before you ship the goods.<\/p>\n<\/div>\n<p>Depending on your <a href=\"\/pt\/online-payments\/capture\">capture<\/a> settings, Oney payments are captured manually or automatically, with or without a delay.<\/p>\n<p>If a payment is captured after more than six days, the payment authorization expires and the payment must be authorised again. <\/p>\n<h2 id=\"refund\">Refund the payment<\/h2>\n<p>If\u00a0a Oney payment has not yet been captured, you can\u00a0<a href=\"\/pt\/online-payments\/cancel\">cancel<\/a> it.<\/p>\n<p>If the payment has already been captured and you want to return the funds to the shopper, you need to\u00a0<a href=\"\/pt\/online-payments\/refund\">refund<\/a>\u00a0it.<\/p>\n<div class=\"notices green\">\n<p>The minimum refund amount is EUR 1. You can refund payments until 13 months after they have been captured.<\/p>\n<\/div>\n<h3 id=\"partial-refunds\">Partial refunds<\/h3>\n<p>To <a href=\"\/pt\/online-payments\/refund\">partially refund<\/a> a Oney payment, specify in your call to the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/{paymentPspReference}\/refunds<\/a> endpoint:<\/p>\n<ul>\n<li><code>modificationAmount<\/code>: The amount to be refunded to the shopper.<\/li>\n<\/ul>\n<pre><code class=\"language-json\">{\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"modificationAmount\":{\n      \"currency\":\"EUR\",\n      \"value\":400\n   },\n   \"originalReference\":\"8825408195409505\"\n}<\/code><\/pre>\n<p>You will receive a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/(paymentPspReference)\/refunds\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/{paymentPspReference}\/refunds<\/a> response containing a\u00a0<code>pspReference<\/code>\u00a0associated with this request. Once we have processed your request, you will also receive a REFUND webhook. For more information, refer to\u00a0<a href=\"\/pt\/online-payments\/refund\">Refund<\/a>.<\/p>\n<h2 id=\"test-and-go-live\">Test and go live<\/h2>\n<p>Before accepting live Oney payments, test your integration using the following test details:<\/p>\n<h3>France<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Test card number<\/th>\n<th style=\"text-align: left;\">Expiry date<\/th>\n<th style=\"text-align: left;\">CVV<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">4970 1015 1882 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1030 6015 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1027 3124 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1022 9571 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1093 1788 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1017 0783 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1090 7275 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4970 1084 5160 0000<\/td>\n<td style=\"text-align: left;\">Any date within 3 years from now.<\/td>\n<td style=\"text-align: left;\">Any value.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can test different responses by changing the amount to be paid:<\/p>\n<ul>\n<li><span translate=\"no\"><strong>Authorised<\/strong><\/span>: between EUR 150.00 and EUR 999.99<\/li>\n<li><span translate=\"no\"><strong>Pending<\/strong><\/span>: between EUR 1000.00 and EUR 1499.99<\/li>\n<li><span translate=\"no\"><strong>Refused<\/strong><\/span>: between EUR 1500.00 and EUR 2000.00<\/li>\n<\/ul>\n<p>To test different responses when making payments in 10 or 12 installments, you need to include the following:<\/p>\n<ul>\n<li>\n<p><span translate=\"no\"><strong>Authorised<\/strong><\/span>:<\/p>\n<ul>\n<li>Shopper email: <span translate=\"no\"><strong>10X12X.OK.BDE@oney.fr<\/strong><\/span>.<\/li>\n<li>Under <span translate=\"no\"><strong>Compl\u00e9tez vos informations<\/strong><\/span>, include:\n<ul>\n<li>Vos revenus: <span translate=\"no\"><strong>3500\u20ac<\/strong><\/span><\/li>\n<li>Origine du revenu principal:  <span translate=\"no\"><strong>Salarie<\/strong><\/span><\/li>\n<li>Vos charges: <span translate=\"no\"><strong>500\u20ac<\/strong><\/span><\/li>\n<\/ul><\/li>\n<li>Under <span translate=\"no\"><strong>Signez votre contrat<\/strong><\/span>, include:\n<ul>\n<li>Phone number: use <strong>0666000000<\/strong> to bypass a digital signature, or a real phone number to receive the OTP SMS for digital signing.<\/li>\n<\/ul><\/li>\n<\/ul>\n<\/li>\n<li>\n<p><span translate=\"no\"><strong>Refused<\/strong><\/span>:<\/p>\n<ul>\n<li>Shopper email: <span translate=\"no\"><strong>10X12X.KO.BDE@oney.fr<\/strong><\/span>.<\/li>\n<li>In the <span translate=\"no\"><strong>Completez vos informations<\/strong><\/span> step, include:\n<ul>\n<li>Vos revenus: <span translate=\"no\"><strong>1000\u20ac<\/strong><\/span><\/li>\n<li>Origine du revenu principal: <span translate=\"no\"><strong>Autres<\/strong><\/span><\/li>\n<li>Vos charges: <span translate=\"no\"><strong>800\u20ac<\/strong><\/span><\/li>\n<\/ul><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"notices blue\">\n<p>To test the full Oney payment flow, 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>.<\/p>\n<\/div>\n<h3>Spain<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Test card number<\/th>\n<th style=\"text-align: left;\">Expiry date<\/th>\n<th style=\"text-align: left;\">CVV<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">5436 0310 3060 6378<\/td>\n<td style=\"text-align: left;\">01\/2099<\/td>\n<td style=\"text-align: left;\">257<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">5199 9923 1264 1465<\/td>\n<td style=\"text-align: left;\">01\/2099<\/td>\n<td style=\"text-align: left;\">010<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">2223 0000 1047 9399<\/td>\n<td style=\"text-align: left;\">01\/2099<\/td>\n<td style=\"text-align: left;\">299<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">4543 4740 0224 9996<\/td>\n<td style=\"text-align: left;\">01\/2099<\/td>\n<td style=\"text-align: left;\">956<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>You can test the different responses by using the following information:<\/p>\n<ul>\n<li><span translate=\"no\"><strong>Authorised<\/strong><\/span>:\n<ul>\n<li>Shopper email: <span translate=\"no\"><strong>test_ok@oney.com<\/strong><\/span><\/li>\n<li>Correct CVV<\/li>\n<\/ul><\/li>\n<li><span translate=\"no\"><strong>Refused<\/strong><\/span>:\n<ul>\n<li>Shopper email: <span translate=\"no\"><strong>test_ko@oney.com<\/strong><\/span><\/li>\n<li>Incorrect CVV<\/li>\n<\/ul><\/li>\n<\/ul>\n<div class=\"notices blue\">\n<p>If you have issues accessing the Buy Now Pay Later subscription form when testing for Spain, or Italy, make sure that your IP address is from the EU region. For assistance, contact your network administrator. Alternatively, 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 can provide a static IP address range to be allowlisted by Oney.<\/p>\n<\/div>\n<h3>Go live<\/h3>\n<p>Before you can accept live Oney payments, you need to <a href=\"\/pt\/payment-methods\/add-payment-methods\">submit a request for Oney 3x4x<\/a> in your <a href=\"https:\/\/ca-live.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">live Customer Area<\/a>.<\/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=\"\/development-resources\/webhooks\"\n                        target=\"_self\"\n                        >\n                    Webhooks\n                <\/a><\/li><li><a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/CheckoutService\/latest\/overview\"\n                        target=\"_blank\"\n                         class=\"external\">\n                    API Explorer\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/oney\/web-component","articleFields":{"description":"Add Oney to an existing Components integration.","parameters":{"integration":"Components","platform":"Web","integration_guide_url":"build-your-integration\/sessions-flow?platform=Web&integration=Components","component_name":"the Component","component_name_capitalized":"The Component","payment_method":"Oney","payment_method_type":"facilypay_3x","component_js_const":"oney_3x","component_class":"Redirect","version":"3.7.0","return_url":"https:\/\/your-company.example.com\/checkout?shopperOrder=12xy..","currency_code":"EUR","country_code":"FR","shopper_email":"shopper@example.com","shopper_name_first":"Testperson-fr","shopper_name_last":"Approved","shopperreference":"YOUR_UNIQUE_SHOPPER_ID","telephone_number":"+33 1 76 35 07 90","date_of_birth":"1985-07-30","city":"UGINE","housenumberorname":"0","postalcode":"73400","street":"461 Rue du Centenaire","shopper_locale":"fr_FR"},"never_cache_twig":true,"last_edit_on":"10-07-2020 16:32","feedback_component":true,"page_id":"c57e9844-3b00-4718-a50d-3e7d02c5acb0","filters_component":false,"decision_tree":"[]"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/oney\/web-component","title":"Oney Component","content":"This page explains how to add Oney to your existing Web Components integration.\nWhen making a Oney payment request:\n\nCollect shopper details and include them in the request.\nProvide information about the purchased items by specifying lineItems.\nMake sure that the payment is authorised and successfully captured before you ship the goods.\n\nRequirements\nSelect the server-side flow that your integration uses:\n\n\n    \n        \n        \n    \n\n\nAPI reference\nSelect which endpoint you are using:\n\n\n    \n        \n        \n    \n\n\nComponent configuration\nStep 1: Create a DOM element\nCreate a DOM element on your checkout page for each type of Oney installment you support, placing it where you want the payment method form to be rendered:\n &lt;div id=\"oney_3x-container\"&gt;&lt;\/div&gt;\n &lt;div id=\"oney_4x-container\"&gt;&lt;\/div&gt;\nStep 2: Create an instance of the Component\nCreate an instance of the Oney Component for each type of Oney installment you support.\n\n\n\nNumber of installments\nPayment method type\nSupported county\n\n\n\n\n3\nfacilypay_3x\nFrance (FR) and Spain (ES)\n\n\n4\nfacilypay_4x\nFrance (FR) and Spain (ES)\n\n\n6\nfacilypay_6x\nSpain (ES)\n\n\n10\nfacilypay_10x\nFrance (FR) and Spain (ES)\n\n\n12\nfacilypay_12x\nFrance (FR) and Spain (ES)\n\n\n\nUse the create method of your AdyenCheckout instance, in this case checkout, to create the Component:\nconst oney_3xComponent =  checkout.create('facilypay_3x').mount('#oney_3x-container');\nconst oney_4xComponent =  checkout.create('facilypay_4x').mount('#oney_4x-container');\n\nBy default, the shopper input fields are visible and editable. Follow the instructions in optional configuration if you want to change these settings.\n\nOptional configuration\nYou can add the following optional configuration to configure the visibility of the shopper input fields for Oney :\n\n\n\nParameter name\nDescription\nDefault\n\n\n\n\npersonalDetails\nShopper full name, date of birth, phone number, and email address.\neditable\n\n\nbillingAddress\nThe address where to send the invoice.\neditable\n\n\ndeliveryAddress\nThe address where the purchased goods should be delivered. By default, the delivery address is the same as the billing address. When the shopper selects they want to specify a different address, the delivery address fields will appear.\neditable\n\n\n\nYou can set the visibility to hidden, readOnly or editable.\n\nAlthough you can hide the fields from your payment form, you must still provide this information in your payment request.\n\nIf you want to add optional configuration, include this in a configuration object. The following example shows how to configure the Component to make the deliveryAddress field readOnly:\nconst oneyConfiguration = {\n    visibility: {\n        personalDetails: editable, \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ and the shopper can edit them.\n                            \/\/ This is the default behavior.\n        billingAddress: editable, \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ and the shopper can edit them.\n                            \/\/ This is the default behavior.\n        deliveryAddress: readOnly \/\/ Optional. These fields will appear on the payment form,\n                            \/\/ but the shopper cannot edit them.\n    };\n}\nUse the create method of your AdyenCheckout instance, in this case checkout, to create an instance of the Component. Add the configuration object for each Oney installment type that you support.\nconst oney_3xComponent = checkout.create('facilypay_3x', oneyConfiguration).mount('#oney_3x-container');\nconst oney_4xComponent = checkout.create('facilypay_4x', oneyConfiguration).mount('#oney_4x-container');\nCapture the payment\n\nMake sure that the payment is captured successfully before you ship the goods.\n\nDepending on your capture settings, Oney payments are captured manually or automatically, with or without a delay.\nIf a payment is captured after more than six days, the payment authorization expires and the payment must be authorised again. \nRefund the payment\nIf\u00a0a Oney payment has not yet been captured, you can\u00a0cancel it.\nIf the payment has already been captured and you want to return the funds to the shopper, you need to\u00a0refund\u00a0it.\n\nThe minimum refund amount is EUR 1. You can refund payments until 13 months after they have been captured.\n\nPartial refunds\nTo partially refund a Oney payment, specify in your call to the  \/payments\/{paymentPspReference}\/refunds endpoint:\n\nmodificationAmount: The amount to be refunded to the shopper.\n\n{\n   \"merchantAccount\":\"YOUR_MERCHANT_ACCOUNT\",\n   \"modificationAmount\":{\n      \"currency\":\"EUR\",\n      \"value\":400\n   },\n   \"originalReference\":\"8825408195409505\"\n}\nYou will receive a  \/payments\/{paymentPspReference}\/refunds response containing a\u00a0pspReference\u00a0associated with this request. Once we have processed your request, you will also receive a REFUND webhook. For more information, refer to\u00a0Refund.\nTest and go live\nBefore accepting live Oney payments, test your integration using the following test details:\nFrance\n\n\n\nTest card number\nExpiry date\nCVV\n\n\n\n\n4970 1015 1882 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1030 6015 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1027 3124 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1022 9571 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1093 1788 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1017 0783 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1090 7275 0000\nAny date within 3 years from now.\nAny value.\n\n\n4970 1084 5160 0000\nAny date within 3 years from now.\nAny value.\n\n\n\nYou can test different responses by changing the amount to be paid:\n\nAuthorised: between EUR 150.00 and EUR 999.99\nPending: between EUR 1000.00 and EUR 1499.99\nRefused: between EUR 1500.00 and EUR 2000.00\n\nTo test different responses when making payments in 10 or 12 installments, you need to include the following:\n\n\nAuthorised:\n\nShopper email: 10X12X.OK.BDE@oney.fr.\nUnder Compl\u00e9tez vos informations, include:\n\nVos revenus: 3500\u20ac\nOrigine du revenu principal:  Salarie\nVos charges: 500\u20ac\n\nUnder Signez votre contrat, include:\n\nPhone number: use 0666000000 to bypass a digital signature, or a real phone number to receive the OTP SMS for digital signing.\n\n\n\n\nRefused:\n\nShopper email: 10X12X.KO.BDE@oney.fr.\nIn the Completez vos informations step, include:\n\nVos revenus: 1000\u20ac\nOrigine du revenu principal: Autres\nVos charges: 800\u20ac\n\n\n\n\n\nTo test the full Oney payment flow, contact our Support Team.\n\nSpain\n\n\n\nTest card number\nExpiry date\nCVV\n\n\n\n\n5436 0310 3060 6378\n01\/2099\n257\n\n\n5199 9923 1264 1465\n01\/2099\n010\n\n\n2223 0000 1047 9399\n01\/2099\n299\n\n\n4543 4740 0224 9996\n01\/2099\n956\n\n\n\nYou can test the different responses by using the following information:\n\nAuthorised:\n\nShopper email: test_ok@oney.com\nCorrect CVV\n\nRefused:\n\nShopper email: test_ko@oney.com\nIncorrect CVV\n\n\n\nIf you have issues accessing the Buy Now Pay Later subscription form when testing for Spain, or Italy, make sure that your IP address is from the EU region. For assistance, contact your network administrator. Alternatively, contact our Support Team to can provide a static IP address range to be allowlisted by Oney.\n\nGo live\nBefore you can accept live Oney payments, you need to submit a request for Oney 3x4x in your live Customer Area.\nSee also\n\n\n                    Web Components integration guide\n                \n                    Webhooks\n                \n                    API Explorer\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Oney","lvl3":"Oney Component"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/oney","lvl3":"\/pt\/payment-methods\/oney\/web-component"},"levels":4,"category":"Payment method","category_color":"green","tags":["Component"]}}
