{"title":"PayBright Drop-in integration","category":"default","creationDate":1776961628,"content":"<div class=\"notices red\">\n<p>PayBright has been acquired by <a href=\"\/pt\/payment-methods\/affirm\">Affirm<\/a>. Adyen will not accept new PayBright integrations.<\/p>\n<\/div>\n<p>Our <a href=\"\/pt\/online-payments\/build-your-integration\/sessions-flow?platform=Android&amp;integration=Drop-in\">Android Drop-in<\/a> renders PayBright in your payment form, and redirects the shopper to complete the payment. As with other redirect payment methods, you need to <a href=\"#check-the-payment-result\">check the payment result<\/a> after the shopper returns to your app.<\/p>\n<p>When making an PayBright payment, you also need to:<\/p>\n<ol>\n<li>Collect shopper details, and specify these <a href=\"#make-a-payment\">in your payment request<\/a>.\nPayBright uses these for risk checks.<\/li>\n<li>Provide information about the purchased items by specifying <code>lineItems<\/code> <a href=\"#make-a-payment\">in your payment request<\/a>.<\/li>\n<li><a href=\"#handle-the-redirect\">Handle the redirect result<\/a> after the shopper returns to your website.<\/li>\n<\/ol>\n<h2>Requirements<\/h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that you have built an Advanced flow <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Android&amp;integration=Drop-in\">Android Drop-in integration<\/a>. <\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Setup steps<\/strong><\/td>\n<td style=\"text-align: left;\">Before you begin, <a href=\"\/pt\/payment-methods\/add-payment-methods\">add PayBright in your Customer Area<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Show PayBright in your payment form<\/h2>\n<p>Drop-in uses the <code>countryCode<\/code> and the <code>amount.currency<\/code> from your  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/paymentMethods<\/a> request to show the available payment methods to your shopper.<\/p>\n<p>To show PayBright in your payment form, specify in your  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/paymentMethods<\/a> request:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">countryCode<\/a>&#58; <span translate=\"no\"><strong>CA<\/strong><\/span><\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-amount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount.currency<\/a>&#58; <span translate=\"no\"><strong>CAD<\/strong><\/span><\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-amount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount.value<\/a>&#58; The value of the payment, in <a href=\"\/pt\/development-resources\/currency-codes\">minor units<\/a>.<\/li>\n<\/ul>\n<p>When the shopper proceeds to pay, Drop-in returns the <code>paymentComponentData.paymentMethod<\/code>. Pass the <code>paymentComponentData.paymentMethod<\/code> to your server &mdash; these are the shopper details that you need to make the payment.<\/p>\n<h2 id=\"make-a-payment\">Make a payment<\/h2>\n<ol>\n<li>\n<p>From your server, make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request, specifying:<\/p>\n<ul>\n<li><code>paymentMethod<\/code>: The <code>paymentComponentData.paymentMethod<\/code> from your client app.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperName\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperName<\/a>&#58;\u00a0The shopper's full name.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-dateOfBirth\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">dateOfBirth<\/a>&#58; The shopper's date of birth.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperEmail\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperEmail<\/a>&#58; The shopper's email address.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-telephoneNumber\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">telephoneNumber<\/a>&#58; The shopper's phone number.<\/li>\n<li><a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/CheckoutService\/latest\/payments__reqParam_shopperLocale\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperLocale<\/a><div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n: A combination of language code and country code to define which language should be used in the PayBright checkout page.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-countryCode\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">countryCode<\/a>&#58; The shopper's country. For example, <code>CA<\/code>.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-billingAddress\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">billingAddress<\/a>&#58;\u00a0The postal address to be included on the invoice.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-deliveryAddress\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">deliveryAddress<\/a>&#58;\u00a0The postal address where the purchased items will be shipped.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-lineItems\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">lineItems<\/a>&#58; Price and product information about the purchased items.<\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-returnUrl\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">returnUrl<\/a>&#58; URL to where the shopper should be redirected back to after they complete the payment. Get this URL from the Component in the <code>RedirectComponent.getReturnUrl(context)<\/code>.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"''\" :id=\"'paybright-android-dropin-payments'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v68\\\/payments \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n    \\&quot;merchantAccount\\&quot;: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n    \\&quot;reference\\&quot;: \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n    \\&quot;paymentMethod\\&quot;: {\\n        \\&quot;type\\&quot;: \\&quot;paybright\\&quot;\\n    },\\n    \\&quot;amount\\&quot;: {\\n        \\&quot;value\\&quot;: 6000,\\n        \\&quot;currency\\&quot;: \\&quot;CAD\\&quot;\\n    },\\n    \\&quot;shopperLocale\\&quot;: \\&quot;en_CA\\&quot;,\\n    \\&quot;countryCode\\&quot;: \\&quot;CA\\&quot;,\\n    \\&quot;telephoneNumber\\&quot;: \\&quot;+16478491378\\&quot;,\\n    \\&quot;shopperEmail\\&quot;: \\&quot;s.hopper@adyen.com\\&quot;,\\n    \\&quot;dateOfBirth\\&quot;: \\&quot;1970-07-10\\&quot;,\\n    \\&quot;shopperName\\&quot;: {\\n        \\&quot;firstName\\&quot;: \\&quot;Simon\\&quot;,\\n        \\&quot;lastName\\&quot;: \\&quot;Hopper\\&quot;\\n    },\\n    \\&quot;billingAddress\\&quot;: {\\n        \\&quot;city\\&quot;: \\&quot;Toronto\\&quot;,\\n        \\&quot;country\\&quot;: \\&quot;CA\\&quot;,\\n        \\&quot;houseNumberOrName\\&quot;: \\&quot;240\\&quot;,\\n        \\&quot;postalCode\\&quot;: \\&quot;M5V 2C5\\&quot;,\\n        \\&quot;street\\&quot;: \\&quot;Richmond St W\\&quot;,\\n        \\&quot;stateOrProvince\\&quot;: \\&quot;ON\\&quot;\\n    },\\n    \\&quot;deliveryAddress\\&quot;: {\\n        \\&quot;city\\&quot;: \\&quot;Toronto\\&quot;,\\n        \\&quot;country\\&quot;: \\&quot;CA\\&quot;,\\n        \\&quot;houseNumberOrName\\&quot;: \\&quot;240\\&quot;,\\n        \\&quot;postalCode\\&quot;: \\&quot;M5V 2C5\\&quot;,\\n        \\&quot;street\\&quot;: \\&quot;Richmond St W\\&quot;,\\n        \\&quot;stateOrProvince\\&quot;: \\&quot;ON\\&quot;\\n    },\\n    \\&quot;lineItems\\&quot;: [\\n        {\\n            \\&quot;description\\&quot;: \\&quot;Shoes\\&quot;,\\n            \\&quot;quantity\\&quot;: \\&quot;1\\&quot;,\\n            \\&quot;amountIncludingTax\\&quot;: \\&quot;4000\\&quot;,\\n            \\&quot;amountExcludingTax\\&quot;: \\&quot;3310\\&quot;,\\n            \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n        },\\n        {\\n            \\&quot;description\\&quot;: \\&quot;Socks\\&quot;,\\n            \\&quot;quantity\\&quot;: \\&quot;2\\&quot;,\\n            \\&quot;amountIncludingTax\\&quot;: \\&quot;3000\\&quot;,\\n            \\&quot;amountExcludingTax\\&quot;: \\&quot;2480\\&quot;,\\n            \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n        },\\n        {\\n            \\&quot;description\\&quot;: \\&quot;Discount\\&quot;,\\n            \\&quot;amountExcludingTax\\&quot;: \\&quot;-1000\\&quot;,\\n            \\&quot;amountIncludingTax\\&quot;: \\&quot;-1000\\&quot;,\\n            \\&quot;quantity\\&quot;: \\&quot;1\\&quot;,\\n            \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n        }\\n    ],\\n    \\&quot;returnUrl\\&quot;: \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v27.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.checkout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.model.RequestOptions;\\nimport com.adyen.service.checkout.*;\\n\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nAmount amount = new Amount()\\n  .currency(\\&quot;CAD\\&quot;)\\n  .value(6000L);\\n\\nLineItem lineItem1 = new LineItem()\\n  .quantity(1L)\\n  .amountExcludingTax(3310L)\\n  .description(\\&quot;Shoes\\&quot;)\\n  .amountIncludingTax(4000L);\\n\\nLineItem lineItem2 = new LineItem()\\n  .quantity(2L)\\n  .amountExcludingTax(2480L)\\n  .description(\\&quot;Socks\\&quot;)\\n  .amountIncludingTax(3000L);\\n\\nLineItem lineItem3 = new LineItem()\\n  .quantity(1L)\\n  .amountExcludingTax(-1000L)\\n  .description(\\&quot;Discount\\&quot;)\\n  .amountIncludingTax(-1000L);\\n\\nName name = new Name()\\n  .firstName(\\&quot;Simon\\&quot;)\\n  .lastName(\\&quot;Hopper\\&quot;);\\n\\nDeliveryAddress deliveryAddress = new DeliveryAddress()\\n  .country(\\&quot;CA\\&quot;)\\n  .stateOrProvince(\\&quot;ON\\&quot;)\\n  .city(\\&quot;Toronto\\&quot;)\\n  .houseNumberOrName(\\&quot;240\\&quot;)\\n  .street(\\&quot;Richmond St W\\&quot;)\\n  .postalCode(\\&quot;M5V 2C5\\&quot;);\\n\\nPaymentDetails paymentDetails = new PaymentDetails()\\n  .type(PaymentDetails.TypeEnum.PAYBRIGHT);\\n\\nBillingAddress billingAddress = new BillingAddress()\\n  .country(\\&quot;CA\\&quot;)\\n  .stateOrProvince(\\&quot;ON\\&quot;)\\n  .city(\\&quot;Toronto\\&quot;)\\n  .houseNumberOrName(\\&quot;240\\&quot;)\\n  .street(\\&quot;Richmond St W\\&quot;)\\n  .postalCode(\\&quot;M5V 2C5\\&quot;);\\n\\nPaymentRequest paymentRequest = new PaymentRequest()\\n  .amount(amount)\\n  .telephoneNumber(\\&quot;+16478491378\\&quot;)\\n  .shopperEmail(\\&quot;s.hopper@adyen.com\\&quot;)\\n  .dateOfBirth(OffsetDateTime.parse(\\&quot;1970-07-10\\&quot;))\\n  .reference(\\&quot;YOUR_ORDER_REFERENCE\\&quot;)\\n  .lineItems(Arrays.asList(lineItem1, lineItem2, lineItem3))\\n  .shopperName(name)\\n  .merchantAccount(\\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;)\\n  .deliveryAddress(deliveryAddress)\\n  .countryCode(\\&quot;CA\\&quot;)\\n  .paymentMethod(new CheckoutPaymentMethod(paymentDetails))\\n  .shopperLocale(\\&quot;en_CA\\&quot;)\\n  .billingAddress(billingAddress)\\n  .returnUrl(\\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;);\\n\\n\\\/\\\/ Send the request\\nPaymentsApi service = new PaymentsApi(client);\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\&quot;UUID\\&quot;));&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v19.0.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\\\\CheckoutPaymentMethod;\\nuse Adyen\\\\Model\\\\Checkout\\\\BillingAddress;\\nuse Adyen\\\\Model\\\\Checkout\\\\PaymentRequest;\\nuse Adyen\\\\Service\\\\Checkout\\\\PaymentsApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$amount = new Amount();\\n$amount\\n  -&gt;setCurrency(\\&quot;CAD\\&quot;)\\n  -&gt;setValue(6000);\\n\\n$lineItem1 = new LineItem();\\n$lineItem1\\n  -&gt;setQuantity(1)\\n  -&gt;setAmountExcludingTax(3310)\\n  -&gt;setDescription(\\&quot;Shoes\\&quot;)\\n  -&gt;setAmountIncludingTax(4000);\\n\\n$lineItem2 = new LineItem();\\n$lineItem2\\n  -&gt;setQuantity(2)\\n  -&gt;setAmountExcludingTax(2480)\\n  -&gt;setDescription(\\&quot;Socks\\&quot;)\\n  -&gt;setAmountIncludingTax(3000);\\n\\n$lineItem3 = new LineItem();\\n$lineItem3\\n  -&gt;setQuantity(1)\\n  -&gt;setAmountExcludingTax(-1000)\\n  -&gt;setDescription(\\&quot;Discount\\&quot;)\\n  -&gt;setAmountIncludingTax(-1000);\\n\\n$name = new Name();\\n$name\\n  -&gt;setFirstName(\\&quot;Simon\\&quot;)\\n  -&gt;setLastName(\\&quot;Hopper\\&quot;);\\n\\n$deliveryAddress = new DeliveryAddress();\\n$deliveryAddress\\n  -&gt;setCountry(\\&quot;CA\\&quot;)\\n  -&gt;setStateOrProvince(\\&quot;ON\\&quot;)\\n  -&gt;setCity(\\&quot;Toronto\\&quot;)\\n  -&gt;setHouseNumberOrName(\\&quot;240\\&quot;)\\n  -&gt;setStreet(\\&quot;Richmond St W\\&quot;)\\n  -&gt;setPostalCode(\\&quot;M5V 2C5\\&quot;);\\n\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\n$checkoutPaymentMethod\\n  -&gt;setType(\\&quot;paybright\\&quot;);\\n\\n$billingAddress = new BillingAddress();\\n$billingAddress\\n  -&gt;setCountry(\\&quot;CA\\&quot;)\\n  -&gt;setStateOrProvince(\\&quot;ON\\&quot;)\\n  -&gt;setCity(\\&quot;Toronto\\&quot;)\\n  -&gt;setHouseNumberOrName(\\&quot;240\\&quot;)\\n  -&gt;setStreet(\\&quot;Richmond St W\\&quot;)\\n  -&gt;setPostalCode(\\&quot;M5V 2C5\\&quot;);\\n\\n$paymentRequest = new PaymentRequest();\\n$paymentRequest\\n  -&gt;setAmount($amount)\\n  -&gt;setTelephoneNumber(\\&quot;+16478491378\\&quot;)\\n  -&gt;setShopperEmail(\\&quot;s.hopper@adyen.com\\&quot;)\\n  -&gt;setDateOfBirth(\\&quot;1970-07-10\\&quot;)\\n  -&gt;setReference(\\&quot;YOUR_ORDER_REFERENCE\\&quot;)\\n  -&gt;setLineItems(array($lineItem1, $lineItem2, $lineItem3))\\n  -&gt;setShopperName($name)\\n  -&gt;setMerchantAccount(\\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;)\\n  -&gt;setDeliveryAddress($deliveryAddress)\\n  -&gt;setCountryCode(\\&quot;CA\\&quot;)\\n  -&gt;setPaymentMethod($checkoutPaymentMethod)\\n  -&gt;setShopperLocale(\\&quot;en_CA\\&quot;)\\n  -&gt;setBillingAddress($billingAddress)\\n  -&gt;setReturnUrl(\\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;);\\n\\n$requestOptions['idempotencyKey'] = 'UUID';\\n\\n\\\/\\\/ Send the request\\n$service = new PaymentsApi($client);\\n$response = $service-&gt;payments($paymentRequest, $requestOptions);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v17.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Checkout;\\nusing Adyen.Service.Checkout;\\n\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&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 = \\&quot;CAD\\&quot;,\\n  Value = 6000\\n};\\n\\nLineItem lineItem1 = new LineItem\\n{\\n  Quantity = 1,\\n  AmountExcludingTax = 3310,\\n  Description = \\&quot;Shoes\\&quot;,\\n  AmountIncludingTax = 4000\\n};\\n\\nLineItem lineItem2 = new LineItem\\n{\\n  Quantity = 2,\\n  AmountExcludingTax = 2480,\\n  Description = \\&quot;Socks\\&quot;,\\n  AmountIncludingTax = 3000\\n};\\n\\nLineItem lineItem3 = new LineItem\\n{\\n  Quantity = 1,\\n  AmountExcludingTax = -1000,\\n  Description = \\&quot;Discount\\&quot;,\\n  AmountIncludingTax = -1000\\n};\\n\\nName name = new Name\\n{\\n  FirstName = \\&quot;Simon\\&quot;,\\n  LastName = \\&quot;Hopper\\&quot;\\n};\\n\\nDeliveryAddress deliveryAddress = new DeliveryAddress\\n{\\n  Country = \\&quot;CA\\&quot;,\\n  StateOrProvince = \\&quot;ON\\&quot;,\\n  City = \\&quot;Toronto\\&quot;,\\n  HouseNumberOrName = \\&quot;240\\&quot;,\\n  Street = \\&quot;Richmond St W\\&quot;,\\n  PostalCode = \\&quot;M5V 2C5\\&quot;\\n};\\n\\nPaymentDetails paymentDetails = new PaymentDetails\\n{\\n  Type = PaymentDetails.TypeEnum.Paybright\\n};\\n\\nBillingAddress billingAddress = new BillingAddress\\n{\\n  Country = \\&quot;CA\\&quot;,\\n  StateOrProvince = \\&quot;ON\\&quot;,\\n  City = \\&quot;Toronto\\&quot;,\\n  HouseNumberOrName = \\&quot;240\\&quot;,\\n  Street = \\&quot;Richmond St W\\&quot;,\\n  PostalCode = \\&quot;M5V 2C5\\&quot;\\n};\\n\\nPaymentRequest paymentRequest = new PaymentRequest\\n{\\n  Amount = amount,\\n  TelephoneNumber = \\&quot;+16478491378\\&quot;,\\n  ShopperEmail = \\&quot;s.hopper@adyen.com\\&quot;,\\n  DateOfBirth = DateTime.Parse(\\&quot;1970-07-10\\&quot;),\\n  Reference = \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n  LineItems = new List&lt;LineItem&gt;{ lineItem1, lineItem2, lineItem3 },\\n  ShopperName = name,\\n  MerchantAccount = \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  DeliveryAddress = deliveryAddress,\\n  CountryCode = \\&quot;CA\\&quot;,\\n  PaymentMethod = new CheckoutPaymentMethod(paymentDetails),\\n  ShopperLocale = \\&quot;en_CA\\&quot;,\\n  BillingAddress = billingAddress,\\n  ReturnUrl = \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new PaymentsService(client);\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\&quot;UUID\\&quot;});&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v18.0.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, CheckoutAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst paymentRequest = {\\n  merchantAccount: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  reference: \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n  paymentMethod: {\\n    type: \\&quot;paybright\\&quot;\\n  },\\n  amount: {\\n    value: 6000,\\n    currency: \\&quot;CAD\\&quot;\\n  },\\n  shopperLocale: \\&quot;en_CA\\&quot;,\\n  countryCode: \\&quot;CA\\&quot;,\\n  telephoneNumber: \\&quot;+16478491378\\&quot;,\\n  shopperEmail: \\&quot;s.hopper@adyen.com\\&quot;,\\n  dateOfBirth: new Date(\\&quot;1970-07-10\\&quot;),\\n  shopperName: {\\n    firstName: \\&quot;Simon\\&quot;,\\n    lastName: \\&quot;Hopper\\&quot;\\n  },\\n  billingAddress: {\\n    city: \\&quot;Toronto\\&quot;,\\n    country: \\&quot;CA\\&quot;,\\n    houseNumberOrName: \\&quot;240\\&quot;,\\n    postalCode: \\&quot;M5V 2C5\\&quot;,\\n    street: \\&quot;Richmond St W\\&quot;,\\n    stateOrProvince: \\&quot;ON\\&quot;\\n  },\\n  deliveryAddress: {\\n    city: \\&quot;Toronto\\&quot;,\\n    country: \\&quot;CA\\&quot;,\\n    houseNumberOrName: \\&quot;240\\&quot;,\\n    postalCode: \\&quot;M5V 2C5\\&quot;,\\n    street: \\&quot;Richmond St W\\&quot;,\\n    stateOrProvince: \\&quot;ON\\&quot;\\n  },\\n  lineItems: [ {\\n    description: \\&quot;Shoes\\&quot;,\\n    quantity: \\&quot;1\\&quot;,\\n    amountIncludingTax: \\&quot;4000\\&quot;,\\n    amountExcludingTax: \\&quot;3310\\&quot;,\\n    taxCategory: \\&quot;Low\\&quot;\\n  }, {\\n    description: \\&quot;Socks\\&quot;,\\n    quantity: \\&quot;2\\&quot;,\\n    amountIncludingTax: \\&quot;3000\\&quot;,\\n    amountExcludingTax: \\&quot;2480\\&quot;,\\n    taxCategory: \\&quot;Low\\&quot;\\n  }, {\\n    description: \\&quot;Discount\\&quot;,\\n    amountExcludingTax: \\&quot;-1000\\&quot;,\\n    amountIncludingTax: \\&quot;-1000\\&quot;,\\n    quantity: \\&quot;1\\&quot;,\\n    taxCategory: \\&quot;Low\\&quot;\\n  } ],\\n  returnUrl: \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst checkoutAPI = new CheckoutAPI(client);\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\&quot;UUID\\&quot; });&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v10.4.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;time\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/checkout\\&quot;\\n)\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\namount := checkout.Amount{\\n  Currency: \\&quot;CAD\\&quot;,\\n  Value: 6000,\\n}\\n\\nlineItem1 := checkout.LineItem{\\n  Quantity: common.PtrInt64(1),\\n  AmountExcludingTax: common.PtrInt64(3310),\\n  Description: common.PtrString(\\&quot;Shoes\\&quot;),\\n  AmountIncludingTax: common.PtrInt64(4000),\\n}\\n\\nlineItem2 := checkout.LineItem{\\n  Quantity: common.PtrInt64(2),\\n  AmountExcludingTax: common.PtrInt64(2480),\\n  Description: common.PtrString(\\&quot;Socks\\&quot;),\\n  AmountIncludingTax: common.PtrInt64(3000),\\n}\\n\\nlineItem3 := checkout.LineItem{\\n  Quantity: common.PtrInt64(1),\\n  AmountExcludingTax: common.PtrInt64(-1000),\\n  Description: common.PtrString(\\&quot;Discount\\&quot;),\\n  AmountIncludingTax: common.PtrInt64(-1000),\\n}\\n\\nname := checkout.Name{\\n  FirstName: \\&quot;Simon\\&quot;,\\n  LastName: \\&quot;Hopper\\&quot;,\\n}\\n\\ndeliveryAddress := checkout.DeliveryAddress{\\n  Country: \\&quot;CA\\&quot;,\\n  StateOrProvince: common.PtrString(\\&quot;ON\\&quot;),\\n  City: \\&quot;Toronto\\&quot;,\\n  HouseNumberOrName: \\&quot;240\\&quot;,\\n  Street: \\&quot;Richmond St W\\&quot;,\\n  PostalCode: \\&quot;M5V 2C5\\&quot;,\\n}\\n\\npaymentDetails := checkout.PaymentDetails{\\n  Type: common.PtrString(\\&quot;paybright\\&quot;),\\n}\\n\\nbillingAddress := checkout.BillingAddress{\\n  Country: \\&quot;CA\\&quot;,\\n  StateOrProvince: common.PtrString(\\&quot;ON\\&quot;),\\n  City: \\&quot;Toronto\\&quot;,\\n  HouseNumberOrName: \\&quot;240\\&quot;,\\n  Street: \\&quot;Richmond St W\\&quot;,\\n  PostalCode: \\&quot;M5V 2C5\\&quot;,\\n}\\n\\npaymentRequest := checkout.PaymentRequest{\\n  Amount: amount,\\n  TelephoneNumber: common.PtrString(\\&quot;+16478491378\\&quot;),\\n  ShopperEmail: common.PtrString(\\&quot;s.hopper@adyen.com\\&quot;),\\n  DateOfBirth:  func() *time.Time { t, _ := time.Parse(time.RFC3339, \\&quot;1970-07-10\\&quot;); return &amp;t }(),\\n  Reference: \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n  LineItems: []checkout.LineItem{\\n      lineItem1, lineItem2, lineItem3,\\n  },\\n  ShopperName: &amp;name,\\n  MerchantAccount: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  DeliveryAddress: &amp;deliveryAddress,\\n  CountryCode: common.PtrString(\\&quot;CA\\&quot;),\\n  PaymentMethod: checkout.PaymentDetailsAsCheckoutPaymentMethod(&amp;paymentDetails),\\n  ShopperLocale: common.PtrString(\\&quot;en_CA\\&quot;),\\n  BillingAddress: &amp;billingAddress,\\n  ReturnUrl: \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;,\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Checkout()\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\&quot;UUID\\&quot;).PaymentRequest(paymentRequest)\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.5.1\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;merchantAccount\\&quot;: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;reference\\&quot;: \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n  \\&quot;paymentMethod\\&quot;: {\\n    \\&quot;type\\&quot;: \\&quot;paybright\\&quot;\\n  },\\n  \\&quot;amount\\&quot;: {\\n    \\&quot;value\\&quot;: 6000,\\n    \\&quot;currency\\&quot;: \\&quot;CAD\\&quot;\\n  },\\n  \\&quot;shopperLocale\\&quot;: \\&quot;en_CA\\&quot;,\\n  \\&quot;countryCode\\&quot;: \\&quot;CA\\&quot;,\\n  \\&quot;telephoneNumber\\&quot;: \\&quot;+16478491378\\&quot;,\\n  \\&quot;shopperEmail\\&quot;: \\&quot;s.hopper@adyen.com\\&quot;,\\n  \\&quot;dateOfBirth\\&quot;: \\&quot;1970-07-10\\&quot;,\\n  \\&quot;shopperName\\&quot;: {\\n    \\&quot;firstName\\&quot;: \\&quot;Simon\\&quot;,\\n    \\&quot;lastName\\&quot;: \\&quot;Hopper\\&quot;\\n  },\\n  \\&quot;billingAddress\\&quot;: {\\n    \\&quot;city\\&quot;: \\&quot;Toronto\\&quot;,\\n    \\&quot;country\\&quot;: \\&quot;CA\\&quot;,\\n    \\&quot;houseNumberOrName\\&quot;: \\&quot;240\\&quot;,\\n    \\&quot;postalCode\\&quot;: \\&quot;M5V 2C5\\&quot;,\\n    \\&quot;street\\&quot;: \\&quot;Richmond St W\\&quot;,\\n    \\&quot;stateOrProvince\\&quot;: \\&quot;ON\\&quot;\\n  },\\n  \\&quot;deliveryAddress\\&quot;: {\\n    \\&quot;city\\&quot;: \\&quot;Toronto\\&quot;,\\n    \\&quot;country\\&quot;: \\&quot;CA\\&quot;,\\n    \\&quot;houseNumberOrName\\&quot;: \\&quot;240\\&quot;,\\n    \\&quot;postalCode\\&quot;: \\&quot;M5V 2C5\\&quot;,\\n    \\&quot;street\\&quot;: \\&quot;Richmond St W\\&quot;,\\n    \\&quot;stateOrProvince\\&quot;: \\&quot;ON\\&quot;\\n  },\\n  \\&quot;lineItems\\&quot;: [ {\\n    \\&quot;description\\&quot;: \\&quot;Shoes\\&quot;,\\n    \\&quot;quantity\\&quot;: \\&quot;1\\&quot;,\\n    \\&quot;amountIncludingTax\\&quot;: \\&quot;4000\\&quot;,\\n    \\&quot;amountExcludingTax\\&quot;: \\&quot;3310\\&quot;,\\n    \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n  }, {\\n    \\&quot;description\\&quot;: \\&quot;Socks\\&quot;,\\n    \\&quot;quantity\\&quot;: \\&quot;2\\&quot;,\\n    \\&quot;amountIncludingTax\\&quot;: \\&quot;3000\\&quot;,\\n    \\&quot;amountExcludingTax\\&quot;: \\&quot;2480\\&quot;,\\n    \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n  }, {\\n    \\&quot;description\\&quot;: \\&quot;Discount\\&quot;,\\n    \\&quot;amountExcludingTax\\&quot;: \\&quot;-1000\\&quot;,\\n    \\&quot;amountIncludingTax\\&quot;: \\&quot;-1000\\&quot;,\\n    \\&quot;quantity\\&quot;: \\&quot;1\\&quot;,\\n    \\&quot;taxCategory\\&quot;: \\&quot;Low\\&quot;\\n  } ],\\n  \\&quot;returnUrl\\&quot;: \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\&quot;UUID\\&quot;)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.5.1\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :merchantAccount =&gt; 'ADYEN_MERCHANT_ACCOUNT',\\n  :reference =&gt; 'YOUR_ORDER_REFERENCE',\\n  :paymentMethod =&gt; {\\n    :type =&gt; 'paybright'\\n  },\\n  :amount =&gt; {\\n    :value =&gt; 6000,\\n    :currency =&gt; 'CAD'\\n  },\\n  :shopperLocale =&gt; 'en_CA',\\n  :countryCode =&gt; 'CA',\\n  :telephoneNumber =&gt; '+16478491378',\\n  :shopperEmail =&gt; 's.hopper@adyen.com',\\n  :dateOfBirth =&gt; '1970-07-10',\\n  :shopperName =&gt; {\\n    :firstName =&gt; 'Simon',\\n    :lastName =&gt; 'Hopper'\\n  },\\n  :billingAddress =&gt; {\\n    :city =&gt; 'Toronto',\\n    :country =&gt; 'CA',\\n    :houseNumberOrName =&gt; '240',\\n    :postalCode =&gt; 'M5V 2C5',\\n    :street =&gt; 'Richmond St W',\\n    :stateOrProvince =&gt; 'ON'\\n  },\\n  :deliveryAddress =&gt; {\\n    :city =&gt; 'Toronto',\\n    :country =&gt; 'CA',\\n    :houseNumberOrName =&gt; '240',\\n    :postalCode =&gt; 'M5V 2C5',\\n    :street =&gt; 'Richmond St W',\\n    :stateOrProvince =&gt; 'ON'\\n  },\\n  :lineItems =&gt; [ {\\n    :description =&gt; 'Shoes',\\n    :quantity =&gt; '1',\\n    :amountIncludingTax =&gt; '4000',\\n    :amountExcludingTax =&gt; '3310',\\n    :taxCategory =&gt; 'Low'\\n  }, {\\n    :description =&gt; 'Socks',\\n    :quantity =&gt; '2',\\n    :amountIncludingTax =&gt; '3000',\\n    :amountExcludingTax =&gt; '2480',\\n    :taxCategory =&gt; 'Low'\\n  }, {\\n    :description =&gt; 'Discount',\\n    :amountExcludingTax =&gt; '-1000',\\n    :amountIncludingTax =&gt; '-1000',\\n    :quantity =&gt; '1',\\n    :taxCategory =&gt; 'Low'\\n  } ],\\n  :returnUrl =&gt; 'https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..'\\n}\\n\\n# Send the request\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { 'Idempotency-Key' =&gt; 'UUID' })&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v18.0.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, CheckoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\n\\\/\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst amount: Types.checkout.Amount = {\\n  currency: \\&quot;CAD\\&quot;,\\n  value: 6000\\n};\\n\\nconst lineItem1: Types.checkout.LineItem = {\\n  quantity: 1,\\n  amountExcludingTax: 3310,\\n  description: \\&quot;Shoes\\&quot;,\\n  amountIncludingTax: 4000\\n};\\n\\nconst lineItem2: Types.checkout.LineItem = {\\n  quantity: 2,\\n  amountExcludingTax: 2480,\\n  description: \\&quot;Socks\\&quot;,\\n  amountIncludingTax: 3000\\n};\\n\\nconst lineItem3: Types.checkout.LineItem = {\\n  quantity: 1,\\n  amountExcludingTax: -1000,\\n  description: \\&quot;Discount\\&quot;,\\n  amountIncludingTax: -1000\\n};\\n\\nconst name: Types.checkout.Name = {\\n  firstName: \\&quot;Simon\\&quot;,\\n  lastName: \\&quot;Hopper\\&quot;\\n};\\n\\nconst deliveryAddress: Types.checkout.DeliveryAddress = {\\n  country: \\&quot;CA\\&quot;,\\n  stateOrProvince: \\&quot;ON\\&quot;,\\n  city: \\&quot;Toronto\\&quot;,\\n  houseNumberOrName: \\&quot;240\\&quot;,\\n  street: \\&quot;Richmond St W\\&quot;,\\n  postalCode: \\&quot;M5V 2C5\\&quot;\\n};\\n\\nconst paymentDetails: Types.checkout.PaymentDetails = {\\n  type: Types.checkout.PaymentDetails.TypeEnum.Paybright\\n};\\n\\nconst billingAddress: Types.checkout.BillingAddress = {\\n  country: \\&quot;CA\\&quot;,\\n  stateOrProvince: \\&quot;ON\\&quot;,\\n  city: \\&quot;Toronto\\&quot;,\\n  houseNumberOrName: \\&quot;240\\&quot;,\\n  street: \\&quot;Richmond St W\\&quot;,\\n  postalCode: \\&quot;M5V 2C5\\&quot;\\n};\\n\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\n  amount: amount,\\n  telephoneNumber: \\&quot;+16478491378\\&quot;,\\n  shopperEmail: \\&quot;s.hopper@adyen.com\\&quot;,\\n  dateOfBirth: new Date(\\&quot;1970-07-10\\&quot;),\\n  reference: \\&quot;YOUR_ORDER_REFERENCE\\&quot;,\\n  lineItems: [lineItem1, lineItem2, lineItem3],\\n  shopperName: name,\\n  merchantAccount: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  deliveryAddress: deliveryAddress,\\n  countryCode: \\&quot;CA\\&quot;,\\n  paymentMethod: paymentDetails,\\n  shopperLocale: \\&quot;en_CA\\&quot;,\\n  billingAddress: billingAddress,\\n  returnUrl: \\&quot;https:\\\/\\\/your-company.example.com\\\/checkout?shopperOrder=12xy..\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nconst checkoutAPI = new CheckoutAPI(client);\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\&quot;UUID\\&quot; });&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>In the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> response, check the <code>action<\/code> object for the information that you must use to redirect the shopper.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'\/payments response'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"resultCode\\\":\\\"RedirectShopper\\\",\\n  \\\"action\\\":{\\n    \\\"paymentMethodType\\\":\\\"paybright\\\",\\n    \\\"method\\\":\\\"GET\\\",\\n    \\\"url\\\":\\\"https:\\\/\\\/checkoutshopper-test.adyen.com\\\/checkoutshopper\\\/checkoutPaymentRedirect?redirectData=...\\\",\\n    \\\"type\\\":\\\"redirect\\\"\\n  }\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>If your integration is <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Android&amp;integration=Drop-in#make-a-payment\">set up correctly<\/a>, the <code>action<\/code> object is passed from your server to the client.<\/p>\n<h2>Handle the redirect<\/h2>\n<p>Drop-in redirects the shopper to complete the payment. When the shopper returns back to your app, Drop-in provides the <code>actionComponentData<\/code> object.<\/p>\n<p> <\/p>\n<p>From your server, make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> request providing:<\/p>\n<ul>\n<li><code>details<\/code>: The <code>actionComponentData.details<\/code> object from Drop-in.<\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'\/payments\/details request'\" :id=\"''\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v68\\\/payments\\\/details \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n     \\&quot;details\\&quot;: {\\n       \\&quot;redirectResult\\&quot;: \\&quot;eyJ0cmFuc1N0YXR1cyI6IlkifQ==\\&quot;\\n   }\\n}'&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>You receive a response containing:<\/p>\n<ul>\n<li><code>resultCode<\/code>: Use this to present the payment result to your shopper.<\/li>\n<li><code>pspReference<\/code>: Our unique identifier for the transaction.<\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'\/payments\/details response'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n     \\\"resultCode\\\": \\\"Authorised\\\",\\n     \\\"pspReference\\\": \\\"PPKFQ89R6QRXGN82\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"check-the-payment-result\">Present the payment result<\/h2>\n<p>Use the\u00a0<code>resultCode<\/code> that you received in the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\/details\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments\/details<\/a> response to present the payment result to your shopper.<\/p>\n<p>The <code>resultCode<\/code> values you can receive for PayBright are:<\/p>\n<table>\n<thead>\n<tr>\n<th>resultCode<\/th>\n<th>Description<\/th>\n<th>Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Authorised<\/strong><\/td>\n<td>The payment was successful.<\/td>\n<td>Inform the shopper that the payment was successful.<\/td>\n<\/tr>\n<tr>\n<td><strong>Cancelled<\/strong><\/td>\n<td>The shopper cancelled the payment.<\/td>\n<td>Ask the shopper whether they want to continue with the order, or ask them to select a different payment method.<\/td>\n<\/tr>\n<tr>\n<td><strong>Refused<\/strong><\/td>\n<td>The payment was refused by PayBright.<\/td>\n<td>Ask the shopper to try the payment again using a different payment method.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a id=\"webhooks\"><\/a> If the shopper failed to return to your website or app, wait for webhooks to know the outcome of the payment:<\/p>\n<table>\n<thead>\n<tr>\n<th>eventCode<\/th>\n<th>success field<\/th>\n<th>Description<\/th>\n<th>Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>AUTHORISATION<\/strong><\/td>\n<td><strong>false<\/strong><\/td>\n<td>The transaction failed.<\/td>\n<td>Cancel the order and inform the shopper that the payment failed.<\/td>\n<\/tr>\n<tr>\n<td><strong>AUTHORISATION<\/strong><\/td>\n<td><strong>true<\/strong><\/td>\n<td>The shopper successfully completed the payment.<\/td>\n<td>Inform the shopper that the payment has been successful and proceed with the order.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Capture the payment<\/h2>\n<p>By default, all PayBright payments are\u00a0<a href=\"\/pt\/online-payments\/capture\">captured automatically<\/a> after authorisation.<\/p>\n<p>If you prefer to capture the payment after the goods have been sent, or when you want to partially capture payments, you need to set up a <a href=\"\/pt\/online-payments\/capture#delayed-automatic-capture\">capture delay<\/a> or use <a href=\"\/pt\/online-payments\/capture#manual-capture\">manual capture<\/a>.<\/p>\n<p>When you capture the payment, the shopper is charged for the first installment.<\/p>\n<h3 id=\"partial-captures\">Partial captures<\/h3>\n<div class=\"notices blue\">\n<p>Partial captures are not available if you enabled <a href=\"\/pt\/online-payments\/capture\">automatic capture<\/a> in your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>.<\/p>\n<\/div>\n<p>To <a href=\"\/pt\/online-payments\/capture\">partially capture<\/a> a PayBright payment, specify in your\u00a0<a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/Payment\/capture\" class=\"codeLabel external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/capture<\/a> request:<\/p>\n<ul>\n<li><code>modificationAmount<\/code>: The amount that the shopper should pay.\u00a0<\/li>\n<li><code>additionalData.openinvoicedata<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Price and product information for the items that the shopper should pay for.<\/li>\n<\/ul>\n<p>Although the field names are different, the information in <code>additionalData.openinvoicedata<\/code> is the same as what you provided in <code>lineItems<\/code> when making a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request:<\/p>\n<table>\n<thead>\n<tr>\n<th>openinvoicedata<\/th>\n<th>lineItems<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>itemAmount<\/code><\/td>\n<td><code>amountExcludingTax<\/code><\/td>\n<td>The price for one item, without the tax, in <a href=\"\/pt\/development-resources\/currency-codes\">minor units<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>itemVatAmount<\/code><\/td>\n<td><code>taxAmount<\/code><\/td>\n<td>The tax amount for one item, in minor units.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows how to make a partial capture request if the shopper only kept one pair of socks from the two included in the original payment request.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'\/capture request'\" :id=\"''\" :code-data=\"[{&quot;language&quot;:&quot;json&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;{\\n   \\&quot;originalReference\\&quot;:\\&quot;COPY_PSP_REFERENCE_FROM_AUTHORISE_RESPONSE\\&quot;,\\n   \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n   \\&quot;modificationAmount\\&quot;:{\\n      \\&quot;currency\\&quot;:\\&quot;\\&quot;,\\n      \\&quot;value\\&quot;:\\&quot;4500\\&quot;\\n   },\\n   \\&quot;additionalData\\&quot;:{\\n      \\&quot;openinvoicedata.numberOfLines\\&quot;:\\&quot;2\\&quot;,\\n      \\&quot;openinvoicedata.line1.currencyCode\\&quot;:\\&quot;\\&quot;,\\n      \\&quot;openinvoicedata.line1.description\\&quot;:\\&quot;Shoes\\&quot;,\\n      \\&quot;openinvoicedata.line1.itemAmount\\&quot;:\\&quot;3310\\&quot;,\\n      \\&quot;openinvoicedata.line1.itemVatAmount\\&quot;:\\&quot;690\\&quot;,\\n      \\&quot;openinvoicedata.line1.numberOfItems\\&quot;:\\&quot;1\\&quot;,\\n      \\&quot;openinvoicedata.line2.currencyCode\\&quot;:\\&quot;\\&quot;,\\n      \\&quot;openinvoicedata.line2.description\\&quot;:\\&quot;Socks\\&quot;,\\n      \\&quot;openinvoicedata.line2.itemAmount\\&quot;:\\&quot;1240\\&quot;,\\n      \\&quot;openinvoicedata.line2.itemVatAmount\\&quot;:\\&quot;260\\&quot;,\\n      \\&quot;openinvoicedata.line2.numberOfItems\\&quot;:\\&quot;1\\&quot;,\\n   },\\n   \\&quot;reference\\&quot;:\\&quot;YOUR_CAPTURE_REFERENCE\\&quot;\\n}&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>Any unclaimed amount that is left over after partially capturing a payment is automatically cancelled. When your account is enabled for <em>multiple<\/em> partial captures, the unclaimed amount after an initial capture is not automatically cancelled.<\/p>\n<div class=\"sc-notice info\"><div>\n<p>To set up multiple partial captures, 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>.\u00a0Multiple partial captures will create\u00a0a new invoice for each capture.\u00a0<\/p>\n<\/div><\/div>\n<h2>Refunds and cancellations<\/h2>\n<p>If\u00a0a payment has not yet been captured, you can\u00a0<a href=\"\/pt\/online-payments\/cancel\">cancel<\/a> it. If the PayBright 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<h3 id=\"partial-refunds\">Partial refunds<\/h3>\n<p>To <a href=\"\/pt\/online-payments\/refund\">partially refund<\/a> a payment, specify in your  <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> request:<\/p>\n<ul>\n<li><code>modificationAmount<\/code>: The amount to be refunded to the shopper.<\/li>\n<li><code>additionalData.openinvoicedata<\/code>: <div data-component-wrapper=\"tag\">\n    <tag :variant=&quot;success&quot;>\n        Optional\n    <\/tag>\n<\/div>\n Price and product information about the returned items.<\/li>\n<\/ul>\n<p>Providing <code>additionalData.openinvoicedata<\/code> is optional, and although the field names are different, the information is the same as what you provided in <code>lineItems<\/code> when making a  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request:<\/p>\n<table>\n<thead>\n<tr>\n<th>openinvoicedata<\/th>\n<th>lineItems<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>itemAmount<\/code><\/td>\n<td><code>amountExcludingTax<\/code><\/td>\n<td>The price for one item, without the tax, in <a href=\"\/pt\/development-resources\/currency-codes\">minor units<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>itemVatAmount<\/code><\/td>\n<td><code>taxAmount<\/code><\/td>\n<td>The tax amount for one item, in minor units.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following example shows how to make a partial refund request if the shopper returned the shoes included in the original payment request.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'\/refund request'\" :id=\"''\" :code-data=\"[{&quot;language&quot;:&quot;json&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;{\\n   \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n   \\&quot;originalReference\\&quot;:\\&quot;COPY_PSP_REFERENCE_FROM_AUTHORISE_RESPONSE\\&quot;,\\n   \\&quot;modificationAmount\\&quot;:{\\n      \\&quot;currency\\&quot;:\\&quot;\\&quot;,\\n      \\&quot;value\\&quot;:\\&quot;4000\\&quot;\\n   },\\n   \\&quot;additionalData\\&quot;:{\\n      \\&quot;openinvoicedata.numberOfLines\\&quot;:\\&quot;1\\&quot;,\\n      \\&quot;openinvoicedata.line1.currencyCode\\&quot;:\\&quot;\\&quot;,\\n      \\&quot;openinvoicedata.line1.description\\&quot;:\\&quot;Shoes\\&quot;,\\n      \\&quot;openinvoicedata.line1.itemAmount\\&quot;:\\&quot;3310\\&quot;,\\n      \\&quot;openinvoicedata.line1.itemVatAmount\\&quot;:\\&quot;690\\&quot;,\\n      \\&quot;openinvoicedata.line1.numberOfItems\\&quot;:\\&quot;1\\&quot;\\n   },\\n   \\&quot;reference\\&quot;:\\&quot;YOUR_REFUND_REFERENCE\\&quot;\\n}&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2>Test and go live<\/h2>\n<p>To test PayBright payments, use the test details provided in the <a href=\"https:\/\/developer.paybright.com\/docs\/testing-resources-completed-pending-failed\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">PayBright developer documentation<\/a>.<\/p>\n<p>You can check the status of test payments in your\u00a0<a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>\u00a0&gt;\u00a0<strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Payments<\/strong>.<\/p>\n<p>Before you can accept live PayBright payments, you need to <a href=\"\/pt\/payment-methods\/add-payment-methods\">submit a request for PayBright<\/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\/build-your-integration\/sessions-flow\/?platform=Android&amp;integration=Drop-in\"\n                        target=\"_self\"\n                        >\n                    Android Drop-in 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\/paybright\/android-drop-in","articleFields":{"description":"Add PayBright to an existing Drop-in integration.","parameters":{"payment_method":"PayBright","country_code":"CA","currency":"CAD","payment_method_type":"paybright","return_url":"adyencheckout:\/\/your.package.name","component_name":"paybright","integration":"Drop-in","platform":"Android","version":"3.6.0"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/paybright\/android-drop-in","title":"PayBright Drop-in integration","content":"\nPayBright has been acquired by Affirm. Adyen will not accept new PayBright integrations.\n\nOur Android Drop-in renders PayBright in your payment form, and redirects the shopper to complete the payment. As with other redirect payment methods, you need to check the payment result after the shopper returns to your app.\nWhen making an PayBright payment, you also need to:\n\nCollect shopper details, and specify these in your payment request.\nPayBright uses these for risk checks.\nProvide information about the purchased items by specifying lineItems in your payment request.\nHandle the redirect result after the shopper returns to your website.\n\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have built an Advanced flow Android Drop-in integration. \n\n\nSetup steps\nBefore you begin, add PayBright in your Customer Area.\n\n\n\nShow PayBright in your payment form\nDrop-in uses the countryCode and the amount.currency from your  \/paymentMethods request to show the available payment methods to your shopper.\nTo show PayBright in your payment form, specify in your  \/paymentMethods request:\n\n countryCode&#58; CA\n amount.currency&#58; CAD\n amount.value&#58; The value of the payment, in minor units.\n\nWhen the shopper proceeds to pay, Drop-in returns the paymentComponentData.paymentMethod. Pass the paymentComponentData.paymentMethod to your server &mdash; these are the shopper details that you need to make the payment.\nMake a payment\n\n\nFrom your server, make a POST  \/payments request, specifying:\n\npaymentMethod: The paymentComponentData.paymentMethod from your client app.\n shopperName&#58;\u00a0The shopper's full name.\n dateOfBirth&#58; The shopper's date of birth.\n shopperEmail&#58; The shopper's email address.\n telephoneNumber&#58; The shopper's phone number.\nshopperLocale\n    \n        Optional\n    \n\n: A combination of language code and country code to define which language should be used in the PayBright checkout page.\n countryCode&#58; The shopper's country. For example, CA.\n billingAddress&#58;\u00a0The postal address to be included on the invoice.\n deliveryAddress&#58;\u00a0The postal address where the purchased items will be shipped.\n lineItems&#58; Price and product information about the purchased items.\n returnUrl&#58; URL to where the shopper should be redirected back to after they complete the payment. Get this URL from the Component in the RedirectComponent.getReturnUrl(context).\n\n\n\n\n    \n\nIn the  \/payments response, check the action object for the information that you must use to redirect the shopper.\n\n    \n\nIf your integration is set up correctly, the action object is passed from your server to the client.\nHandle the redirect\nDrop-in redirects the shopper to complete the payment. When the shopper returns back to your app, Drop-in provides the actionComponentData object.\n \nFrom your server, make a POST  \/payments\/details request providing:\n\ndetails: The actionComponentData.details object from Drop-in.\n\n\n    \n\nYou receive a response containing:\n\nresultCode: Use this to present the payment result to your shopper.\npspReference: Our unique identifier for the transaction.\n\n\n    \n\nPresent the payment result\nUse the\u00a0resultCode that you received in the  \/payments\/details response to present the payment result to your shopper.\nThe resultCode values you can receive for PayBright are:\n\n\n\nresultCode\nDescription\nAction to take\n\n\n\n\nAuthorised\nThe payment was successful.\nInform the shopper that the payment was successful.\n\n\nCancelled\nThe shopper cancelled the payment.\nAsk the shopper whether they want to continue with the order, or ask them to select a different payment method.\n\n\nRefused\nThe payment was refused by PayBright.\nAsk the shopper to try the payment again using a different payment method.\n\n\n\n If the shopper failed to return to your website or app, wait for webhooks to know the outcome of the payment:\n\n\n\neventCode\nsuccess field\nDescription\nAction to take\n\n\n\n\nAUTHORISATION\nfalse\nThe transaction failed.\nCancel the order and inform the shopper that the payment failed.\n\n\nAUTHORISATION\ntrue\nThe shopper successfully completed the payment.\nInform the shopper that the payment has been successful and proceed with the order.\n\n\n\nCapture the payment\nBy default, all PayBright payments are\u00a0captured automatically after authorisation.\nIf you prefer to capture the payment after the goods have been sent, or when you want to partially capture payments, you need to set up a capture delay or use manual capture.\nWhen you capture the payment, the shopper is charged for the first installment.\nPartial captures\n\nPartial captures are not available if you enabled automatic capture in your Customer Area.\n\nTo partially capture a PayBright payment, specify in your\u00a0\/capture request:\n\nmodificationAmount: The amount that the shopper should pay.\u00a0\nadditionalData.openinvoicedata: \n    \n        Optional\n    \n\n Price and product information for the items that the shopper should pay for.\n\nAlthough the field names are different, the information in additionalData.openinvoicedata is the same as what you provided in lineItems when making a  \/payments request:\n\n\n\nopeninvoicedata\nlineItems\nDescription\n\n\n\n\nitemAmount\namountExcludingTax\nThe price for one item, without the tax, in minor units.\n\n\nitemVatAmount\ntaxAmount\nThe tax amount for one item, in minor units.\n\n\n\nThe following example shows how to make a partial capture request if the shopper only kept one pair of socks from the two included in the original payment request.\n\n    \n\nAny unclaimed amount that is left over after partially capturing a payment is automatically cancelled. When your account is enabled for multiple partial captures, the unclaimed amount after an initial capture is not automatically cancelled.\n\nTo set up multiple partial captures, contact our Support Team.\u00a0Multiple partial captures will create\u00a0a new invoice for each capture.\u00a0\n\nRefunds and cancellations\nIf\u00a0a payment has not yet been captured, you can\u00a0cancel it. If the PayBright payment has already been captured and you want to return the funds to the shopper, you need to\u00a0refund\u00a0it.\nPartial refunds\nTo partially refund a payment, specify in your  \/payments\/{paymentPspReference}\/refunds request:\n\nmodificationAmount: The amount to be refunded to the shopper.\nadditionalData.openinvoicedata: \n    \n        Optional\n    \n\n Price and product information about the returned items.\n\nProviding additionalData.openinvoicedata is optional, and although the field names are different, the information is the same as what you provided in lineItems when making a  \/payments request:\n\n\n\nopeninvoicedata\nlineItems\nDescription\n\n\n\n\nitemAmount\namountExcludingTax\nThe price for one item, without the tax, in minor units.\n\n\nitemVatAmount\ntaxAmount\nThe tax amount for one item, in minor units.\n\n\n\nThe following example shows how to make a partial refund request if the shopper returned the shoes included in the original payment request.\n\n    \n\nTest and go live\nTo test PayBright payments, use the test details provided in the PayBright developer documentation.\nYou can check the status of test payments in your\u00a0Customer Area\u00a0&gt;\u00a0Transactions\u00a0&gt;\u00a0Payments.\nBefore you can accept live PayBright payments, you need to submit a request for PayBright in your live Customer Area.\nSee also\n\n\n                    Android Drop-in integration guide\n                \n                    Webhooks\n                \n                    API Explorer\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"PayBright","lvl3":"PayBright Drop-in integration"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/paybright","lvl3":"\/pt\/payment-methods\/paybright\/android-drop-in"},"levels":4,"category":"Payment method","category_color":"green","tags":["PayBright","Drop-in","integration"]},"articleFiles":{"paybright-android-dropin-payments.js":"<p alt=\"\">paybright-android-dropin-payments.js<\/p>"}}
