{"title":"Pix Flutter Component","category":"default","creationDate":1776961628,"content":"<p>You can add Pix to your existing integration. The following instructions show only what you must add to your integration specifically for Pix. <\/p>\n<p>If an instruction on this page corresponds with a step in the main integration guide, it includes a link to corresponding step of the main integration guide.<\/p>\n<p>The additions you must make depends on the <a href=\"\/pt\/online-payments\/build-your-integration\">server-side flow<\/a> that your integration uses:<\/p>\n<div data-component-wrapper=\"in-page-filtering\">\n    <in-page-filtering\n        id=\"payment-methods\/pix\/flutter\/component\"\n        :in-page-filtering=\"{&quot;guides&quot;:{&quot;sessions&quot;:{&quot;label&quot;:&quot;Sessions flow&quot;,&quot;integrations&quot;:{&quot;components&quot;:{&quot;label&quot;:&quot;Component&quot;,&quot;description&quot;:null,&quot;displayVersionDropdown&quot;:true,&quot;visual_content&quot;:null,&quot;visual_images&quot;:null,&quot;external_content&quot;:null,&quot;external_icon&quot;:null,&quot;versions&quot;:{&quot;version-1.8.1&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.8.1&quot;}},&quot;version-1.8.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.8.0&quot;}},&quot;version-1.7.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.7.0&quot;}},&quot;version-1.6.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.6.0&quot;}},&quot;version-1.5.1&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.5.1&quot;}},&quot;version-1.5.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.5.0&quot;}},&quot;version-1.4.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.4.0&quot;}},&quot;version-1.3.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.3.0&quot;}},&quot;version-1.2.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.2.0&quot;}},&quot;version-1.1.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.1.0&quot;}},&quot;version-1.0.1&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71},&quot;versions&quot;:{&quot;version&quot;:&quot;1.0.1&quot;}},&quot;version-1.0.0&quot;:{&quot;sections&quot;:{&quot;requirements&quot;:{&quot;$ref&quot;:&quot;ed6f1362efd427a748834b980a3a663f&quot;},&quot;additional_parameters_sessions_request&quot;:{&quot;$ref&quot;:&quot;4a75ae5ab91d955c9280085ff8b6375a&quot;},&quot;additional_configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test_and_go_live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;versions&quot;:{&quot;version&quot;:&quot;1.0.0&quot;},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:71}}},&quot;sections&quot;:[],&quot;components&quot;:{&quot;ed6f1362efd427a748834b980a3a663f&quot;:&quot;&lt;h2&gt;Requirements&lt;\\\/h2&gt;\\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 an existing Sessions flow &lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow?platform=Flutter&amp;amp;integration=Drop-in\\&quot;&gt;Flutter Components integration&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;td&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;Checkout API&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Make sure that you use Checkout API v68 or later.&lt;\\\/td&gt;\\n&lt;td&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;\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;add Pix 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;4a75ae5ab91d955c9280085ff8b6375a&quot;:&quot;&lt;h2&gt;Add additional parameters to your \\\/sessions request&lt;\\\/h2&gt;\\n&lt;p&gt;When you &lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/sessions-flow?platform=Flutter&amp;amp;integration=Components#create-a-payment-session\\&quot;&gt;create a payment session&lt;\\\/a&gt;, add the following parameters:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter&lt;\\\/th&gt;\\n&lt;th&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-amount\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;amount&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&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 final price of the purchase.&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&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Shopper&#039;s first name and last name.&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_socialSecurityNumber\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;socialSecurityNumber&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s CPF or CNPJ number. This will be shown to the shopper on the Pix payment form.&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_shopperStatement\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperStatement&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Free-text field that will be shown to the shopper. Maximum length: 140 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_lineItems-id\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems.id&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The name of the purchased item. Maximum 50 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_lineItems-amountIncludingTax\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems.amountIncludingTax&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The price of the purchased item including tax. Maximum 200 characters.&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;Example \\\/sessions request&#039;\\&quot; :id=\\&quot;&#039;sessions-request&#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\\\\\\\/v71\\\\\\\/sessions \\\\\\\\\\\\n-H &#039;x-API-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;Idempotency-Key: YOUR_IDEMPOTENCY_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 10000,\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;BRL\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;sessionValidity\\\\&amp;quot;: \\\\&amp;quot;2021-12-21T13:00:00-03:00\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperStatement\\\\&amp;quot;: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n  \\\\t\\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;socialSecurityNumber\\\\&amp;quot;: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lineItems\\\\&amp;quot;: [\\\\n      {\\\\n        \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\n      },\\\\n      {\\\\n        \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n        \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\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 v40.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nLineItem lineItem1 = new LineItem()\\\\n  .id(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  .amountIncludingTax(5000L);\\\\n\\\\nLineItem lineItem2 = new LineItem()\\\\n  .id(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  .amountIncludingTax(5000L);\\\\n\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;BRL\\\\&amp;quot;)\\\\n  .value(10000L);\\\\n\\\\nShopperName shopperName = new ShopperName()\\\\n  .firstName(\\\\&amp;quot;Jose\\\\&amp;quot;)\\\\n  .lastName(\\\\&amp;quot;Silva\\\\&amp;quot;);\\\\n\\\\nCreateCheckoutSessionRequest createCheckoutSessionRequest = new CreateCheckoutSessionRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;)\\\\n  .lineItems(Arrays.asList(lineItem1, lineItem2))\\\\n  .amount(amount)\\\\n  .shopperName(shopperName)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .countryCode(\\\\&amp;quot;BR\\\\&amp;quot;)\\\\n  .socialSecurityNumber(\\\\&amp;quot;01234567890\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;)\\\\n  .shopperStatement(\\\\&amp;quot;Your message to the shopper\\\\&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.3.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\LineItem;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\ShopperName;\\\\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$lineItem1 = new LineItem();\\\\n$lineItem1\\\\n  -&amp;gt;setId(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  -&amp;gt;setAmountIncludingTax(5000);\\\\n\\\\n$lineItem2 = new LineItem();\\\\n$lineItem2\\\\n  -&amp;gt;setId(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  -&amp;gt;setAmountIncludingTax(5000);\\\\n\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;BRL\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(10000);\\\\n\\\\n$shopperName = new ShopperName();\\\\n$shopperName\\\\n  -&amp;gt;setFirstName(\\\\&amp;quot;Jose\\\\&amp;quot;)\\\\n  -&amp;gt;setLastName(\\\\&amp;quot;Silva\\\\&amp;quot;);\\\\n\\\\n$createCheckoutSessionRequest = new CreateCheckoutSessionRequest();\\\\n$createCheckoutSessionRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;)\\\\n  -&amp;gt;setLineItems(array($lineItem1, $lineItem2))\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setShopperName($shopperName)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setCountryCode(\\\\&amp;quot;BR\\\\&amp;quot;)\\\\n  -&amp;gt;setSocialSecurityNumber(\\\\&amp;quot;01234567890\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperStatement(\\\\&amp;quot;Your message to the shopper\\\\&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.2.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)\\\\nLineItem lineItem1 = new LineItem\\\\n{\\\\n  Id = \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  AmountIncludingTax = 5000\\\\n};\\\\n\\\\nLineItem lineItem2 = new LineItem\\\\n{\\\\n  Id = \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  AmountIncludingTax = 5000\\\\n};\\\\n\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  Value = 10000\\\\n};\\\\n\\\\nShopperName shopperName = new ShopperName\\\\n{\\\\n  FirstName = \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  LastName = \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n};\\\\n\\\\nCreateCheckoutSessionRequest createCheckoutSessionRequest = new CreateCheckoutSessionRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  LineItems = new List&amp;lt;LineItem&amp;gt;{ lineItem1, lineItem2 },\\\\n  Amount = amount,\\\\n  ShopperName = shopperName,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  CountryCode = \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  SocialSecurityNumber = \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  ShopperStatement = \\\\&amp;quot;Your message to the shopper\\\\&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 v30.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  amount: {\\\\n    value: 10000,\\\\n    currency: \\\\&amp;quot;BRL\\\\&amp;quot;\\\\n  },\\\\n  countryCode: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  sessionValidity: \\\\&amp;quot;2021-12-21T13:00:00-03:00\\\\&amp;quot;,\\\\n  shopperStatement: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  shopperName: {\\\\n    firstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  socialSecurityNumber: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  lineItems: [ {\\\\n    id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    amountIncludingTax: 5000\\\\n  }, {\\\\n    id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    amountIncludingTax: 5000\\\\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.1.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)\\\\nlineItem1 := checkout.LineItem{\\\\n  Id: common.PtrString(\\\\&amp;quot;item1\\\\&amp;quot;),\\\\n  AmountIncludingTax: common.PtrInt64(5000),\\\\n}\\\\n\\\\nlineItem2 := checkout.LineItem{\\\\n  Id: common.PtrString(\\\\&amp;quot;item2\\\\&amp;quot;),\\\\n  AmountIncludingTax: common.PtrInt64(5000),\\\\n}\\\\n\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  Value: 10000,\\\\n}\\\\n\\\\nshopperName := checkout.ShopperName{\\\\n  FirstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  LastName: \\\\&amp;quot;Silva\\\\&amp;quot;,\\\\n}\\\\n\\\\ncreateCheckoutSessionRequest := checkout.CreateCheckoutSessionRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  LineItems: []checkout.LineItem{\\\\n      lineItem1, lineItem2,\\\\n  },\\\\n  Amount: amount,\\\\n  ShopperName: &amp;amp;shopperName,\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  CountryCode: common.PtrString(\\\\&amp;quot;BR\\\\&amp;quot;),\\\\n  SocialSecurityNumber: common.PtrString(\\\\&amp;quot;01234567890\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  ShopperStatement: common.PtrString(\\\\&amp;quot;Your message to the shopper\\\\&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;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 10000,\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;BRL\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;sessionValidity\\\\&amp;quot;: \\\\&amp;quot;2021-12-21T13:00:00-03:00\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperStatement\\\\&amp;quot;: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;socialSecurityNumber\\\\&amp;quot;: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot;: [ {\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\n  }, {\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\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 v11.0.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  :amount =&amp;gt; {\\\\n    :value =&amp;gt; 10000,\\\\n    :currency =&amp;gt; &#039;BRL&#039;\\\\n  },\\\\n  :countryCode =&amp;gt; &#039;BR&#039;,\\\\n  :returnUrl =&amp;gt; &#039;adyencheckout:\\\\\\\/\\\\\\\/your.package.name&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_PAYMENT_REFERENCE&#039;,\\\\n  :sessionValidity =&amp;gt; &#039;2021-12-21T13:00:00-03:00&#039;,\\\\n  :shopperStatement =&amp;gt; &#039;Your message to the shopper&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;pix&#039;\\\\n  },\\\\n  :shopperName =&amp;gt; {\\\\n    :firstName =&amp;gt; &#039;Jose&#039;,\\\\n    :lastName =&amp;gt; &#039;Silva&#039;\\\\n  },\\\\n  :socialSecurityNumber =&amp;gt; &#039;01234567890&#039;,\\\\n  :lineItems =&amp;gt; [ {\\\\n    :id =&amp;gt; &#039;item1&#039;,\\\\n    :amountIncludingTax =&amp;gt; 5000\\\\n  }, {\\\\n    :id =&amp;gt; &#039;item2&#039;,\\\\n    :amountIncludingTax =&amp;gt; 5000\\\\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 v30.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 lineItem1: Types.checkout.LineItem = {\\\\n  id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  amountIncludingTax: 5000\\\\n};\\\\n\\\\nconst lineItem2: Types.checkout.LineItem = {\\\\n  id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  amountIncludingTax: 5000\\\\n};\\\\n\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  value: 10000\\\\n};\\\\n\\\\nconst shopperName: Types.checkout.ShopperName = {\\\\n  firstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  lastName: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n};\\\\n\\\\nconst createCheckoutSessionRequest: Types.checkout.CreateCheckoutSessionRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  lineItems: [lineItem1, lineItem2],\\\\n  amount: amount,\\\\n  shopperName: shopperName,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  countryCode: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  socialSecurityNumber: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  shopperStatement: \\\\&amp;quot;Your message to the shopper\\\\&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;088afba3acd6717477174caec95e9372&quot;:&quot;&lt;h2&gt;Add additional configuration for Pix&lt;\\\/h2&gt;\\n&lt;p&gt;You do not need to add any configuration parameters for Pix.&lt;\\\/p&gt;\\n&quot;,&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;:&quot;&lt;h2 id=\\&quot;refunds\\&quot;&gt;Refunds&lt;\\\/h2&gt;\\n&lt;p&gt;You can refund a payment within 90 days after the payment in the &lt;a href=\\&quot;\\\/account\\\/manage-payments#refund-a-payment\\&quot;&gt;Customer Area&lt;\\\/a&gt; or via an &lt;a href=\\&quot;\\\/online-payments\\\/refund\\&quot;&gt;API&lt;\\\/a&gt;.&lt;\\\/p&gt;&quot;,&quot;d41d8cd98f00b204e9800998ecf8427e&quot;:&quot;&quot;,&quot;3c1f571beb143642c6a8efc65bb59b58&quot;:&quot;&lt;h2&gt;Test and go live&lt;\\\/h2&gt;\\n&lt;p&gt;Pix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;Log in to your &lt;a href=\\&quot;https:\\\/\\\/ca-test.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;test Customer Area&lt;\\\/a&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;Go to &lt;strong&gt;Transactions&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Offers&lt;\\\/strong&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;Select the &lt;strong&gt;PSP reference&lt;\\\/strong&gt; of the pending Pix payment.&lt;\\\/li&gt;\\n&lt;li&gt;Select the &lt;strong&gt;Promote this offer to a sale&lt;\\\/strong&gt; button.&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&lt;p&gt;Pix payments that have been paid (including test offers that you manually promoted to sale) are under &lt;strong&gt;Transactions&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Payments&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;Test the reconciliation process by promoting test payments from offer to sale in your test Customer Area.&lt;\\\/p&gt;\\n&lt;p&gt;Before you can accept live Pix payments, you need to &lt;a href=\\&quot;\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;submit a request for Pix&lt;\\\/a&gt; in your &lt;a href=\\&quot;https:\\\/\\\/ca-live.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;live Customer Area&lt;\\\/a&gt;.&lt;\\\/p&gt;&quot;}}}},&quot;advanced&quot;:{&quot;label&quot;:&quot;Advanced flow&quot;,&quot;integrations&quot;:{&quot;components&quot;:{&quot;label&quot;:&quot;Component&quot;,&quot;description&quot;:null,&quot;displayVersionDropdown&quot;:true,&quot;visual_content&quot;:null,&quot;visual_images&quot;:null,&quot;external_content&quot;:null,&quot;external_icon&quot;:null,&quot;versions&quot;:{&quot;version-1.8.1&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.8.1&quot;}},&quot;version-1.8.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.8.0&quot;}},&quot;version-1.7.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.7.0&quot;}},&quot;version-1.6.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.6.0&quot;}},&quot;version-1.5.1&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.5.1&quot;}},&quot;version-1.5.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.5.0&quot;}},&quot;version-1.4.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.4.0&quot;}},&quot;version-1.3.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.3.0&quot;}},&quot;version-1.2.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.2.0&quot;}},&quot;version-1.1.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.1.0&quot;}},&quot;version-1.0.1&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null},&quot;versions&quot;:{&quot;version&quot;:&quot;1.0.1&quot;}},&quot;version-1.0.0&quot;:{&quot;sections&quot;:{&quot;before-you-begin&quot;:{&quot;$ref&quot;:&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;},&quot;add-configuration&quot;:{&quot;$ref&quot;:&quot;088afba3acd6717477174caec95e9372&quot;},&quot;initialize&quot;:{&quot;$ref&quot;:null},&quot;add-parameters-payments-request&quot;:{&quot;$ref&quot;:&quot;fc11e8327d145c4362a0844221fdf8e4&quot;},&quot;refunds&quot;:{&quot;$ref&quot;:&quot;7e355bdb3bd66d27c680038d5ebd391a&quot;},&quot;recurring&quot;:{&quot;$ref&quot;:&quot;d41d8cd98f00b204e9800998ecf8427e&quot;},&quot;test-and-go-live&quot;:{&quot;$ref&quot;:&quot;3c1f571beb143642c6a8efc65bb59b58&quot;}},&quot;versions&quot;:{&quot;version&quot;:&quot;1.0.0&quot;},&quot;config&quot;:{&quot;published&quot;:true,&quot;visible&quot;:true,&quot;api_version&quot;:null}}},&quot;sections&quot;:[],&quot;components&quot;:{&quot;3550b2c7a311e9f06d95b75b1369e1cc&quot;:&quot;&lt;h2&gt;Requirements&lt;\\\/h2&gt;\\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 an existing Advanced flow &lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow?platform=Flutter&amp;amp;integration=Drop-in\\&quot;&gt;Flutter Components integration&lt;\\\/a&gt;.&lt;\\\/td&gt;\\n&lt;td&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;Action handling&lt;\\\/strong&gt;&lt;\\\/td&gt;\\n&lt;td style=\\&quot;text-align: left;\\&quot;&gt;Make sure that your existing integration is set up to &lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow\\\/?platform=Flutter&amp;amp;integration=Components#handle-the-redirect\\&quot;&gt;handle the additional action&lt;\\\/a&gt;. &lt;br&gt; &lt;code&gt;action.type&lt;\\\/code&gt;: &lt;strong&gt;qrCode&lt;\\\/strong&gt;.&lt;\\\/td&gt;\\n&lt;td&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;\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;add Pix 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;088afba3acd6717477174caec95e9372&quot;:&quot;&lt;h2&gt;Add additional configuration for Pix&lt;\\\/h2&gt;\\n&lt;p&gt;You do not need to add any configuration parameters for Pix.&lt;\\\/p&gt;\\n&quot;,&quot;fc11e8327d145c4362a0844221fdf8e4&quot;:&quot;&lt;h2&gt;Add additional parameters to your \\\/payments request&lt;\\\/h2&gt;\\n&lt;p&gt;When you &lt;a href=\\&quot;\\\/online-payments\\\/build-your-integration\\\/advanced-flow\\\/?platform=Flutter&amp;amp;integration=Components#make-a-payment\\&quot;&gt;make a payment&lt;\\\/a&gt;, add the following parameters to the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; request:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter&lt;\\\/th&gt;\\n&lt;th&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-paymentMethod\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;paymentMethod&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&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 &lt;code&gt;state.data.paymentMethod&lt;\\\/code&gt; from the &lt;code&gt;onSubmit&lt;\\\/code&gt; event from your front end.&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\\\/payments__reqParam_amount\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;amount&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&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 final price of the purchase.&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&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Shopper&#039;s first name and last name.&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\\\/payments__reqParam_socialSecurityNumber\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;socialSecurityNumber&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The shopper&#039;s CPF or CNPJ number. This will be shown to the shopper on the Pix payment form.&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\\\/payments__reqParam_shopperStatement\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;shopperStatement&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Free-text field that will be shown to the shopper. By default this contains the message: &lt;em&gt;$merchantName - Este pagamento PIX para $merchantName \\u00e9 processado por Adyen.&lt;\\\/em&gt; If you provide any value, keep the length under 60 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\\\/payments__reqParam_sessionValidity\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;sessionValidity&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The expiration date of the Pix payment. Default: 1 hour (Checkout API v71 or earlier) or 24 hours (Checkout API v72 or later). Maximum: 5 days, in &lt;a href=\\&quot;https:\\\/\\\/www.w3.org\\\/TR\\\/NOTE-datetime\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;ISO 8601&lt;\\\/a&gt; format. Example: 2020-07-18T15:42:40.428+01:00&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\\\/payments__reqParam_lineItems-id\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems.id&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The name of the purchased item. Maximum 50 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\\\/payments__reqParam_lineItems-amountIncludingTax\\&quot; class=\\&quot;codeLabel external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;lineItems.amountIncludingTax&lt;\\\/a&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The price of the purchased item including tax. Maximum 200 characters.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div class=\\&quot;sc-notice info\\&quot;&gt;&lt;div&gt;\\n&lt;p&gt;It is advisable to send both &lt;code&gt;shopperName&lt;\\\/code&gt; and &lt;code&gt;socialSecurityNumber&lt;\\\/code&gt;, because this information will be shown to the shopper to help identify the payment.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;&lt;\\\/div&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Example payment request for Pix&#039;\\&quot; :id=\\&quot;&#039;payments-request&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-API-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;idempotency-key: YOUR_IDEMPOTENCY_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-X POST \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 10000\\\\n  },\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;socialSecurityNumber\\\\&amp;quot;: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperStatement\\\\&amp;quot;: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  \\\\&amp;quot;sessionValidity\\\\&amp;quot;: \\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot;: [\\\\n    {\\\\n      \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n      \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\n    },\\\\n    {\\\\n      \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n      \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\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 v40.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nLineItem lineItem1 = new LineItem()\\\\n  .id(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  .amountIncludingTax(5000L);\\\\n\\\\nLineItem lineItem2 = new LineItem()\\\\n  .id(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  .amountIncludingTax(5000L);\\\\n\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;BRL\\\\&amp;quot;)\\\\n  .value(10000L);\\\\n\\\\nShopperName shopperName = new ShopperName()\\\\n  .firstName(\\\\&amp;quot;Jose\\\\&amp;quot;)\\\\n  .lastName(\\\\&amp;quot;Silva\\\\&amp;quot;);\\\\n\\\\nPixDetails pixDetails = new PixDetails()\\\\n  .type(PixDetails.TypeEnum.PIX);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;)\\\\n  .lineItems(Arrays.asList(lineItem1, lineItem2))\\\\n  .amount(amount)\\\\n  .shopperName(shopperName)\\\\n  .sessionValidity(\\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;)\\\\n  .merchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .countryCode(\\\\&amp;quot;BR\\\\&amp;quot;)\\\\n  .socialSecurityNumber(\\\\&amp;quot;01234567890\\\\&amp;quot;)\\\\n  .paymentMethod(new CheckoutPaymentMethod(pixDetails))\\\\n  .returnUrl(\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;)\\\\n  .shopperStatement(\\\\&amp;quot;Your message to the shopper\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;&amp;lt;?php\\\\n\\\\\\\/\\\\\\\/ Adyen PHP API Library v28.3.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\LineItem;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\ShopperName;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$lineItem1 = new LineItem();\\\\n$lineItem1\\\\n  -&amp;gt;setId(\\\\&amp;quot;item1\\\\&amp;quot;)\\\\n  -&amp;gt;setAmountIncludingTax(5000);\\\\n\\\\n$lineItem2 = new LineItem();\\\\n$lineItem2\\\\n  -&amp;gt;setId(\\\\&amp;quot;item2\\\\&amp;quot;)\\\\n  -&amp;gt;setAmountIncludingTax(5000);\\\\n\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;BRL\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(10000);\\\\n\\\\n$shopperName = new ShopperName();\\\\n$shopperName\\\\n  -&amp;gt;setFirstName(\\\\&amp;quot;Jose\\\\&amp;quot;)\\\\n  -&amp;gt;setLastName(\\\\&amp;quot;Silva\\\\&amp;quot;);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setType(\\\\&amp;quot;pix\\\\&amp;quot;);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;)\\\\n  -&amp;gt;setLineItems(array($lineItem1, $lineItem2))\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setShopperName($shopperName)\\\\n  -&amp;gt;setSessionValidity(\\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setCountryCode(\\\\&amp;quot;BR\\\\&amp;quot;)\\\\n  -&amp;gt;setSocialSecurityNumber(\\\\&amp;quot;01234567890\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperStatement(\\\\&amp;quot;Your message to the shopper\\\\&amp;quot;);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .NET API Library v32.2.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)\\\\nLineItem lineItem1 = new LineItem\\\\n{\\\\n  Id = \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  AmountIncludingTax = 5000\\\\n};\\\\n\\\\nLineItem lineItem2 = new LineItem\\\\n{\\\\n  Id = \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  AmountIncludingTax = 5000\\\\n};\\\\n\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  Value = 10000\\\\n};\\\\n\\\\nShopperName shopperName = new ShopperName\\\\n{\\\\n  FirstName = \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  LastName = \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n};\\\\n\\\\nPixDetails pixDetails = new PixDetails\\\\n{\\\\n  Type = PixDetails.TypeEnum.Pix\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  LineItems = new List&amp;lt;LineItem&amp;gt;{ lineItem1, lineItem2 },\\\\n  Amount = amount,\\\\n  ShopperName = shopperName,\\\\n  SessionValidity = \\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;,\\\\n  MerchantAccount = \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  CountryCode = \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  SocialSecurityNumber = \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  PaymentMethod = new CheckoutPaymentMethod(pixDetails),\\\\n  ReturnUrl = \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  ShopperStatement = \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.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 paymentRequest = {\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n    value: 10000\\\\n  },\\\\n  countryCode: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  shopperName: {\\\\n    firstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  socialSecurityNumber: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  shopperStatement: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  sessionValidity: \\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;,\\\\n  lineItems: [ {\\\\n    id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    amountIncludingTax: 5000\\\\n  }, {\\\\n    id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    amountIncludingTax: 5000\\\\n  } ]\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v21.1.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)\\\\nlineItem1 := checkout.LineItem{\\\\n  Id: common.PtrString(\\\\&amp;quot;item1\\\\&amp;quot;),\\\\n  AmountIncludingTax: common.PtrInt64(5000),\\\\n}\\\\n\\\\nlineItem2 := checkout.LineItem{\\\\n  Id: common.PtrString(\\\\&amp;quot;item2\\\\&amp;quot;),\\\\n  AmountIncludingTax: common.PtrInt64(5000),\\\\n}\\\\n\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  Value: 10000,\\\\n}\\\\n\\\\nshopperName := checkout.ShopperName{\\\\n  FirstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  LastName: \\\\&amp;quot;Silva\\\\&amp;quot;,\\\\n}\\\\n\\\\npixDetails := checkout.PixDetails{\\\\n  Type: common.PtrString(\\\\&amp;quot;pix\\\\&amp;quot;),\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  LineItems: []checkout.LineItem{\\\\n      lineItem1, lineItem2,\\\\n  },\\\\n  Amount: amount,\\\\n  ShopperName: &amp;amp;shopperName,\\\\n  SessionValidity: common.PtrString(\\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;),\\\\n  MerchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  CountryCode: common.PtrString(\\\\&amp;quot;BR\\\\&amp;quot;),\\\\n  SocialSecurityNumber: common.PtrString(\\\\&amp;quot;01234567890\\\\&amp;quot;),\\\\n  PaymentMethod: checkout.PixDetailsAsCheckoutPaymentMethod(&amp;amp;pixDetails),\\\\n  ReturnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  ShopperStatement: common.PtrString(\\\\&amp;quot;Your message to the shopper\\\\&amp;quot;),\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library 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;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 10000\\\\n  },\\\\n  \\\\&amp;quot;countryCode\\\\&amp;quot;: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;pix\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperName\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;socialSecurityNumber\\\\&amp;quot;: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  \\\\&amp;quot;shopperStatement\\\\&amp;quot;: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;,\\\\n  \\\\&amp;quot;sessionValidity\\\\&amp;quot;: \\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;,\\\\n  \\\\&amp;quot;lineItems\\\\&amp;quot;: [ {\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\n  }, {\\\\n    \\\\&amp;quot;id\\\\&amp;quot;: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n    \\\\&amp;quot;amountIncludingTax\\\\&amp;quot;: 5000\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v11.0.0\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the LIVE environment, also include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;BRL&#039;,\\\\n    :value =&amp;gt; 10000\\\\n  },\\\\n  :countryCode =&amp;gt; &#039;BR&#039;,\\\\n  :returnUrl =&amp;gt; &#039;adyencheckout:\\\\\\\/\\\\\\\/your.package.name&#039;,\\\\n  :merchantAccount =&amp;gt; &#039;YOUR_MERCHANT_ACCOUNT&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_PAYMENT_REFERENCE&#039;,\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;pix&#039;\\\\n  },\\\\n  :shopperName =&amp;gt; {\\\\n    :firstName =&amp;gt; &#039;Jose&#039;,\\\\n    :lastName =&amp;gt; &#039;Silva&#039;\\\\n  },\\\\n  :socialSecurityNumber =&amp;gt; &#039;01234567890&#039;,\\\\n  :shopperStatement =&amp;gt; &#039;Your message to the shopper&#039;,\\\\n  :sessionValidity =&amp;gt; &#039;2025-10-01T10:00:00+02:00&#039;,\\\\n  :lineItems =&amp;gt; [ {\\\\n    :id =&amp;gt; &#039;item1&#039;,\\\\n    :amountIncludingTax =&amp;gt; 5000\\\\n  }, {\\\\n    :id =&amp;gt; &#039;item2&#039;,\\\\n    :amountIncludingTax =&amp;gt; 5000\\\\n  } ]\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v30.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 lineItem1: Types.checkout.LineItem = {\\\\n  id: \\\\&amp;quot;item1\\\\&amp;quot;,\\\\n  amountIncludingTax: 5000\\\\n};\\\\n\\\\nconst lineItem2: Types.checkout.LineItem = {\\\\n  id: \\\\&amp;quot;item2\\\\&amp;quot;,\\\\n  amountIncludingTax: 5000\\\\n};\\\\n\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;BRL\\\\&amp;quot;,\\\\n  value: 10000\\\\n};\\\\n\\\\nconst shopperName: Types.checkout.ShopperName = {\\\\n  firstName: \\\\&amp;quot;Jose\\\\&amp;quot;,\\\\n  lastName: \\\\&amp;quot;Silva\\\\&amp;quot;\\\\n};\\\\n\\\\nconst pixDetails: Types.checkout.PixDetails = {\\\\n  type: Types.checkout.PixDetails.TypeEnum.Pix\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_PAYMENT_REFERENCE\\\\&amp;quot;,\\\\n  lineItems: [lineItem1, lineItem2],\\\\n  amount: amount,\\\\n  shopperName: shopperName,\\\\n  sessionValidity: \\\\&amp;quot;2025-10-01T10:00:00+02:00\\\\&amp;quot;,\\\\n  merchantAccount: \\\\&amp;quot;YOUR_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  countryCode: \\\\&amp;quot;BR\\\\&amp;quot;,\\\\n  socialSecurityNumber: \\\\&amp;quot;01234567890\\\\&amp;quot;,\\\\n  paymentMethod: pixDetails,\\\\n  returnUrl: \\\\&amp;quot;adyencheckout:\\\\\\\/\\\\\\\/your.package.name\\\\&amp;quot;,\\\\n  shopperStatement: \\\\&amp;quot;Your message to the shopper\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;p&gt;The response includes the &lt;code&gt;action.type&lt;\\\/code&gt;: qrCode.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Example response with an additional action&#039;\\&quot; :id=\\&quot;&#039;payments-response&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;additionalData\\\\\\&quot;: {\\\\n        \\\\\\&quot;pix.expirationDate\\\\\\&quot;: \\\\\\&quot;2021-12-21T13:00:00-03:00\\\\\\&quot;,\\\\n        \\\\\\&quot;acquirerReference\\\\\\&quot;: \\\\\\&quot;00000000008815658961765250\\\\\\&quot;,\\\\n        \\\\\\&quot;acquirerAccountCode\\\\\\&quot;: \\\\\\&quot;PixBTGAcquirerAccount\\\\\\&quot;\\\\n    },\\\\n    \\\\\\&quot;pspReference\\\\\\&quot;: \\\\\\&quot;8815658961765250\\\\\\&quot;,\\\\n    \\\\\\&quot;resultCode\\\\\\&quot;: \\\\\\&quot;Pending\\\\\\&quot;,\\\\n    \\\\\\&quot;action\\\\\\&quot;: {\\\\n        \\\\\\&quot;paymentData\\\\\\&quot;: \\\\\\&quot;Ab02b4c0!BQABAgA...\\\\\\&quot;,\\\\n        \\\\\\&quot;paymentMethodType\\\\\\&quot;: \\\\\\&quot;pix\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;qrCode\\\\\\&quot;,\\\\n        \\\\\\&quot;qrCodeData\\\\\\&quot;: \\\\\\&quot;DMhpN90TFR2e7TzwHYRFkhw4brxm2wHBg\\\\\\&quot;\\\\n    }\\\\n}\\&quot;}]&#039; :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;7e355bdb3bd66d27c680038d5ebd391a&quot;:&quot;&lt;h2 id=\\&quot;refunds\\&quot;&gt;Refunds&lt;\\\/h2&gt;\\n&lt;p&gt;You can refund a payment within 90 days after the payment in the &lt;a href=\\&quot;\\\/account\\\/manage-payments#refund-a-payment\\&quot;&gt;Customer Area&lt;\\\/a&gt; or via an &lt;a href=\\&quot;\\\/online-payments\\\/refund\\&quot;&gt;API&lt;\\\/a&gt;.&lt;\\\/p&gt;&quot;,&quot;d41d8cd98f00b204e9800998ecf8427e&quot;:&quot;&quot;,&quot;3c1f571beb143642c6a8efc65bb59b58&quot;:&quot;&lt;h2&gt;Test and go live&lt;\\\/h2&gt;\\n&lt;p&gt;Pix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.&lt;\\\/p&gt;\\n&lt;ol&gt;\\n&lt;li&gt;Log in to your &lt;a href=\\&quot;https:\\\/\\\/ca-test.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;test Customer Area&lt;\\\/a&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;Go to &lt;strong&gt;Transactions&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Offers&lt;\\\/strong&gt;.&lt;\\\/li&gt;\\n&lt;li&gt;Select the &lt;strong&gt;PSP reference&lt;\\\/strong&gt; of the pending Pix payment.&lt;\\\/li&gt;\\n&lt;li&gt;Select the &lt;strong&gt;Promote this offer to a sale&lt;\\\/strong&gt; button.&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&lt;p&gt;Pix payments that have been paid (including test offers that you manually promoted to sale) are under &lt;strong&gt;Transactions&lt;\\\/strong&gt; &amp;gt; &lt;strong&gt;Payments&lt;\\\/strong&gt;.&lt;\\\/p&gt;\\n&lt;p&gt;Test the reconciliation process by promoting test payments from offer to sale in your test Customer Area.&lt;\\\/p&gt;\\n&lt;p&gt;Before you can accept live Pix payments, you need to &lt;a href=\\&quot;\\\/payment-methods\\\/add-payment-methods\\&quot;&gt;submit a request for Pix&lt;\\\/a&gt; in your &lt;a href=\\&quot;https:\\\/\\\/ca-live.adyen.com\\\/\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;live Customer Area&lt;\\\/a&gt;.&lt;\\\/p&gt;&quot;}}}}}}\"\n        query-param-tab=\"flow\"\n        query-param-box=\"integration\"\n        query-param-dropdown=\"version\">\n    <\/in-page-filtering>\n<\/div>\n<div class=\"version_docs__image-placeholder u-display-none\">\n    <\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/pix\/flutter-component","articleFields":{"description":"Add Pix to your Components integration.","never_cache_twig":true,"parameters":{"tx_variant":"pix","component_class_name":"InstantComponent","pm_directory":"pix","payment_method":"Pix","action_type":"qrCode"},"filters_component":true,"filters_config_folder":"payment-methods\/pix\/flutter\/component"},"algolia":[{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/pix\/flutter-component","title":"Pix Flutter Component","content":"Requirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have an existing Sessions flow Flutter Components integration.\n\n\n\nCheckout API\nMake sure that you use Checkout API v68 or later.\n \n\n\nSetup steps\nBefore you begin, add Pix in your Customer Area.\n\n\n\nAdd additional parameters to your \/sessions request\nWhen you create a payment session, add the following parameters:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\namount\n\nThe final price of the purchase.\n\n\n shopperName\n\nShopper's first name and last name.\n\n\nsocialSecurityNumber\n\nThe shopper's CPF or CNPJ number. This will be shown to the shopper on the Pix payment form.\n\n\nshopperStatement\n\nFree-text field that will be shown to the shopper. Maximum length: 140 characters.\n\n\nlineItems.id\n\nThe name of the purchased item. Maximum 50 characters.\n\n\nlineItems.amountIncludingTax\n\nThe price of the purchased item including tax. Maximum 200 characters.\n\n\n\n\n    \n\nAdd additional configuration for Pix\nYou do not need to add any configuration parameters for Pix.\nRefunds\nYou can refund a payment within 90 days after the payment in the Customer Area or via an API.Test and go live\nPix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.\n\nLog in to your test Customer Area.\nGo to Transactions &gt; Offers.\nSelect the PSP reference of the pending Pix payment.\nSelect the Promote this offer to a sale button.\n\nPix payments that have been paid (including test offers that you manually promoted to sale) are under Transactions &gt; Payments.\nTest the reconciliation process by promoting test payments from offer to sale in your test Customer Area.\nBefore you can accept live Pix payments, you need to submit a request for Pix in your live Customer Area.","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Pix","lvl3":"Pix Flutter 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\/pix","lvl3":"\/pt\/payment-methods\/pix\/flutter-component"},"levels":4,"category":"Payment method","category_color":"green","tags":["Flutter","Component"]},{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/pix\/flutter-component?flow=Sessions flow&integration=Component","title":"Sessions flow Component","content":"Requirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have an existing Sessions flow Flutter Components integration.\n\n\n\nCheckout API\nMake sure that you use Checkout API v68 or later.\n \n\n\nSetup steps\nBefore you begin, add Pix in your Customer Area.\n\n\n\nAdd additional parameters to your \/sessions request\nWhen you create a payment session, add the following parameters:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\namount\n\nThe final price of the purchase.\n\n\n shopperName\n\nShopper's first name and last name.\n\n\nsocialSecurityNumber\n\nThe shopper's CPF or CNPJ number. This will be shown to the shopper on the Pix payment form.\n\n\nshopperStatement\n\nFree-text field that will be shown to the shopper. Maximum length: 140 characters.\n\n\nlineItems.id\n\nThe name of the purchased item. Maximum 50 characters.\n\n\nlineItems.amountIncludingTax\n\nThe price of the purchased item including tax. Maximum 200 characters.\n\n\n\n\n    \n\nAdd additional configuration for Pix\nYou do not need to add any configuration parameters for Pix.\nRefunds\nYou can refund a payment within 90 days after the payment in the Customer Area or via an API.Test and go live\nPix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.\n\nLog in to your test Customer Area.\nGo to Transactions &gt; Offers.\nSelect the PSP reference of the pending Pix payment.\nSelect the Promote this offer to a sale button.\n\nPix payments that have been paid (including test offers that you manually promoted to sale) are under Transactions &gt; Payments.\nTest the reconciliation process by promoting test payments from offer to sale in your test Customer Area.\nBefore you can accept live Pix payments, you need to submit a request for Pix in your live Customer Area.","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Pix","lvl3":"Pix Flutter 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\/pix","lvl3":"\/pt\/payment-methods\/pix\/flutter-component"},"levels":4,"category":"Payment method","category_color":"green","tags":["Sessions flow","Component"]},{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/pix\/flutter-component?flow=Advanced flow&integration=Component","title":"Advanced flow Component","content":"Requirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have an existing Advanced flow Flutter Components integration.\n \n\n\nAction handling\nMake sure that your existing integration is set up to handle the additional action.  action.type: qrCode.\n\n\n\nSetup steps\nBefore you begin, add Pix in your Customer Area.\n\n\n\nAdd additional configuration for Pix\nYou do not need to add any configuration parameters for Pix.\nAdd additional parameters to your \/payments request\nWhen you make a payment, add the following parameters to the  \/payments request:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\n paymentMethod\n\nThe state.data.paymentMethod from the onSubmit event from your front end.\n\n\namount\n\nThe final price of the purchase.\n\n\n shopperName\n\nShopper's first name and last name.\n\n\nsocialSecurityNumber\n\nThe shopper's CPF or CNPJ number. This will be shown to the shopper on the Pix payment form.\n\n\nshopperStatement\n\nFree-text field that will be shown to the shopper. By default this contains the message: $merchantName - Este pagamento PIX para $merchantName \u00e9 processado por Adyen. If you provide any value, keep the length under 60 characters.\n\n\nsessionValidity\n\nThe expiration date of the Pix payment. Default: 1 hour (Checkout API v71 or earlier) or 24 hours (Checkout API v72 or later). Maximum: 5 days, in ISO 8601 format. Example: 2020-07-18T15:42:40.428+01:00\n\n\nlineItems.id\n\nThe name of the purchased item. Maximum 50 characters.\n\n\nlineItems.amountIncludingTax\n\nThe price of the purchased item including tax. Maximum 200 characters.\n\n\n\n\nIt is advisable to send both shopperName and socialSecurityNumber, because this information will be shown to the shopper to help identify the payment.\n\n\n    \n\nThe response includes the action.type: qrCode.\n\n    \n\nRefunds\nYou can refund a payment within 90 days after the payment in the Customer Area or via an API.Test and go live\nPix is an asynchronous payment method. In the test environment, you can simulate a Pix payment by promoting the pending payment to a sale.\n\nLog in to your test Customer Area.\nGo to Transactions &gt; Offers.\nSelect the PSP reference of the pending Pix payment.\nSelect the Promote this offer to a sale button.\n\nPix payments that have been paid (including test offers that you manually promoted to sale) are under Transactions &gt; Payments.\nTest the reconciliation process by promoting test payments from offer to sale in your test Customer Area.\nBefore you can accept live Pix payments, you need to submit a request for Pix in your live Customer Area.","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Pix","lvl3":"Pix Flutter 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\/pix","lvl3":"\/pt\/payment-methods\/pix\/flutter-component"},"levels":4,"category":"Payment method","category_color":"green","tags":["Advanced flow","Component"]}],"articleFiles":{"payments-request.js":"<p alt=\"\">payments-request.js<\/p>","payments-response.json":"<p alt=\"\">payments-response.json<\/p>","sessions-request.js":"<p alt=\"\">sessions-request.js<\/p>"}}
