{"title":"Boleto Banc\u00e1rio for API only","category":"default","creationDate":1776961628,"content":"<p>You can add Boleto Banc\u00e1rio to your existing integration. The following instructions show only what you must add to your integration specifically for Boleto Banc\u00e1rio.<\/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<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 an existing <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only\">API-only integration<\/a>.<\/td>\n<td> <\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Action handling<\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that your existing integration is set up to <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only#additional-action\">handle the additional action<\/a>. <br> <code>action.type<\/code>: <strong>voucher<\/strong>.<\/td>\n<td><\/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 Boleto Banc\u00e1rio in your Customer Area<\/a>. <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>How it works<\/h2>\n<ol>\n<li>The shopper selects Boleto Banc\u00e1rio as the payment method.<\/li>\n<li>The shopper enters their details in the <a href=\"#build-your-payment-form\">payment form that you build<\/a>.<\/li>\n<li>When you make the payment request, you <a href=\"#additional-parameters-payments\">include additional information about the items that the shopper intends to purchase<\/a>.<\/li>\n<\/ol>\n<h2 id=\"build-your-payment-form\">Build your payment form<\/h2>\n<p>Include  Boleto Banc\u00e1rio in the list of available payment methods. Include the following fields to collect information from your shopper in the payment form.<\/p>\n<table>\n<thead>\n<tr>\n<th>Fields<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Personal details<\/td>\n<td>First name, last name, and CPF\/CNPJ of the shopper.<br\/> The CPF\/CNPJ is a unique identifier similar to a social security number. The shopper can provide their <a href=\"https:\/\/en.wikipedia.org\/wiki\/CPF_number\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Cadastro de Pessoas F\u00edsicas (CPF)<\/a> number or their <a href=\"https:\/\/en.wikipedia.org\/wiki\/CNPJ\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Cadastro Nacional da Pessoa Jur\u00eddica (CNPJ)<\/a> number.<\/td>\n<\/tr>\n<tr>\n<td>Billing address<\/td>\n<td>Shopper street, house number or name, city, postal code, and state or province.<\/td>\n<\/tr>\n<tr>\n<td>Shopper email<\/td>\n<td>The shopper's email address so that you can send them a copy of the form details.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"notices green\">\n<p>You can <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%2Bonly&amp;version=71#downloading-logos\">download the logo for Boleto Banc\u00e1rio<\/a> to use in your form.<\/p>\n<\/div>\n<h2>Get Boleto Banc\u00e1rio as an available payment method<\/h2>\n<p>When you make the  <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> to <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only#get-available-payment-methods\">get available payment methods<\/a>, specify the following so that Boleto Banc\u00e1rio is included in the response.<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Values<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-countryCode\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">countryCode<\/a><\/td>\n<td><strong>BR<\/strong><\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-amount-currency\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount.currency<\/a><\/td>\n<td><strong>BRL<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example request for available payment methods'\" :id=\"'payment-methods-request'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v72\\\/paymentMethods \\\\\\n-H 'x-api-key: ADYEN_API_KEY' \\\\\\n-H 'idempotency-key: YOUR_IDEMPOTENCY_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST\\n-d '{\\n   \\&quot;merchantAccount\\&quot;: \\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n   \\&quot;countryCode\\&quot;: \\&quot;BR\\&quot;,\\n   \\&quot;amount\\&quot;: {\\n      \\&quot;currency\\&quot;: \\&quot;BRL\\&quot;,\\n\\t  \\&quot;value\\&quot;: 1000\\n   },\\n   \\&quot;shopperLocale\\&quot;: \\&quot;pt-BR\\&quot;\\n}'&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example response with Boleto Banc\u00e1rio available'\" :id=\"'payment-methods-response'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"paymentMethods\\\": [\\n        {\\n            \\\"name\\\": \\\"Boleto Bancario\\\",\\n            \\\"type\\\": \\\"boleto\\\"\\n        }\\n    ]\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"additional-parameters-payments\">Add additional parameters to your \/payments request<\/h2>\n<p>When you <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only#make-a-payment\">make a payment<\/a>, add the following additional parameters:<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>paymentMethod.type<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><strong>boletobancario<\/strong><\/td>\n<\/tr>\n<tr>\n<td> <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><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>The shopper's <code>firstName<\/code> and <code>lastName<\/code>.<\/td>\n<\/tr>\n<tr>\n<td> <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><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>The shopper's <code>city<\/code>, <code>country<\/code>, <code>houseNumberOrName<\/code>, <code>postalCode,stateOrProvince<\/code>, and <code>street<\/code>.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-socialSecurityNumber\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">socialSecurityNumber<\/a><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>The shopper's CPF or CNPJ number.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-deliveryDate\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">deliveryDate<\/a><\/td>\n<td><\/td>\n<td>The due date of the payment, using <a href=\"https:\/\/www.w3.org\/TR\/NOTE-datetime\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">ISO 8601<\/a> format in UTC. If this is in a weekend or national holiday, the shopper can pay the Boleto the next working day.<br\/>By default, the shopper has five days to complete the payment.<\/td>\n<\/tr>\n<tr>\n<td> <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><\/td>\n<td><\/td>\n<td>The shopper's email address. This is used for sending the shopper a copy of the payment form.<\/td>\n<\/tr>\n<tr>\n<td> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments#request-shopperStatement\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">shopperStatement<\/a><\/td>\n<td><\/td>\n<td>Free-text field with payment instructions. If you include this, make sure to state that you do not accept payments for a higher or lower amount than the original amount, or payments after the due date.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If you leave the <code>shopperStatement<\/code> empty, it is populated with the following default Portuguese text:<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>N\u00e3o aceitar pagamento via cheque e\/ou ap\u00f3s a data do vencimento.<\/td>\n<td>Do not accept payment by cheque and\/or after the due date.<\/td>\n<\/tr>\n<tr>\n<td>Seu pedido ser\u00e1 enviado somente ap\u00f3s a confirma\u00e7\u00e3o do pagamento deste boleto, desde que n\u00e3o tenha diverg\u00eancia de valores entre o valor cobrado e o valor pago.<\/td>\n<td>Your order will only be processed once the payment of this Boleto has been confirmed and as long as there is no difference between the payable and paid amounts.<\/td>\n<\/tr>\n<tr>\n<td>A falta de pagamento deste boleto n\u00e3o implica em qualquer multa ou juros e o pedido ser\u00e1 automaticamente cancelado.<\/td>\n<td>Failure to pay this boleto will not incur any penalty or interest and your order will be automatically cancelled.<\/td>\n<\/tr>\n<tr>\n<td>N\u00e3o deposite nem fa\u00e7a transfer\u00eancia.<\/td>\n<td>Do not pay by deposit or bank transfer.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example payment request for Boleto Banc\u00e1rio'\" :id=\"'payments-request'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/checkout-test.adyen.com\\\/v72\\\/payments \\\\\\n-H 'x-API-key: ADYEN_API_KEY' \\\\\\n-H 'idempotency-key: YOUR_IDEMPOTENCY_KEY' \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-X POST\\n-d '{\\n  \\&quot;amount\\&quot;:{\\n    \\&quot;currency\\&quot;:\\&quot;EUR\\&quot;,\\n    \\&quot;value\\&quot;:1000\\n  },\\n  \\&quot;reference\\&quot;:\\&quot;YOUR_ORDER_NUMBER\\&quot;,\\n  \\&quot;otherData\\&quot;: {\\n      \\&quot;otherOne\\&quot;: \\&quot;value\\&quot;    \\\/\\\/ rename object and parameter as required, add other parameters as required\\n      },\\n  \\&quot;returnUrl\\&quot;:\\&quot;https:\\\/\\\/your-company.com\\\/checkout?shopperOrder=12xy..\\&quot;,\\n  \\&quot;merchantAccount\\&quot;:\\&quot;ADYEN_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;paramOne\\&quot;:\\&quot;value1\\&quot;,\\n  \\&quot;paramTwo\\&quot;:\\&quot;value2\\&quot;\\n}'&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<p>The response includes the <code>action.type<\/code>: <strong>voucher<\/strong>, and the following:<\/p>\n<ul>\n<li><code>pspReference<\/code>: Our unique reference for the payment.<\/li>\n<li><code>resultCode<\/code>: <strong>PresentToShopper<\/strong><\/li>\n<li><code>action<\/code>: Object containing information about the voucher:\n<ul>\n<li><code>downloadUrl<\/code>: Link to the downloadable Boleto in PDF format.<\/li>\n<li><code>expiresAt<\/code>: The date and time when the due date expires.<\/li>\n<li><code>paymentMethodType<\/code>: Indicates the issuing bank.<\/li>\n<li><code>reference<\/code>: The barcode number for the payment.<\/li>\n<li><code>totalAmount<\/code>: The <code>currency<\/code> and <code>value<\/code> of the amount due.<\/li>\n<\/ul><\/li>\n<\/ul>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example response with an additional action'\" :id=\"'payments-response'\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n    \\\"pspReference\\\": \\\"881571921030827A\\\",\\n    \\\"resultCode\\\": \\\"PresentToShopper\\\",\\n    \\\"action\\\": {\\n        \\\"downloadUrl\\\": \\\"https:\\\/\\\/test.adyen.com\\\/hpp\\\/generationBoleto.shtml?data=BQABAQ..\\\",\\n        \\\"expiresAt\\\": \\\"2019-10-30T00:00:00\\\",\\n        \\\"initialAmount\\\": {\\n            \\\"currency\\\": \\\"BRL\\\",\\n            \\\"value\\\": 1000\\n        },\\n        \\\"paymentMethodType\\\": \\\"boletobancario\\\",\\n        \\\"reference\\\": \\\"03399.33335 33887.192103 30827.201028 9 80580000001000\\\",\\n        \\\"totalAmount\\\": {\\n            \\\"currency\\\": \\\"BRL\\\",\\n            \\\"value\\\": 1000\\n        },\\n        \\\"type\\\": \\\"voucher\\\"\\n    },\\n    ...\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"additional\">Present the voucher<\/h2>\n<p>Use the information in the <code>action<\/code> object 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 to present the voucher to the shopper.<\/p>\n<ul>\n<li><code>action.downloadUrl<\/code>: Link to the downloadable Boleto in PDF format.<\/li>\n<li><code>action.expiresAt<\/code>: The date and time when the due date expires.<\/li>\n<li><code>action.reference<\/code>: The barcode number for the payment.<\/li>\n<li><code>action.totalAmount<\/code>:  The <code>currency<\/code> and <code>value<\/code> of the amount due.<\/li>\n<\/ul>\n<p>Make sure that you show an option to download the Boleto, and an option to copy the barcode number. The shopper can then print the downloaded Boleto and pay in cash, or pay the Boleto at an ATM or through internet banking using the barcode number.<\/p>\n<h2 id=\"present\">Present the payment result<\/h2>\n<p>Use the\u00a0<code>resultCode<\/code> that you received in the <code>\/payments<\/code> response to inform your shopper of the payment status. You receive payment updates and results through a <a href=\"\/pt\/development-resources\/webhooks\">webhook<\/a>.<\/p>\n<p> <\/p>\n<p>The <code>resultCode<\/code> value you can receive for Boleto Banc\u00e1rio is:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">resultCode<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<th style=\"text-align: left;\">Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>PresentToShopper<\/strong><\/td>\n<td style=\"text-align: left;\">Present the voucher.<\/td>\n<td style=\"text-align: left;\">After you present the voucher to the shopper, inform the shopper that you are waiting for the payment to be completed. <br><br>If you set up <a href=\"\/pt\/development-resources\/webhooks\/webhook-types#other-webhooks\">PENDING webhooks for Boleto Banc\u00e1rio<\/a>, you receive a webhook for pending payments.<br><br>You will receive the final result of the payment in an <a href=\"\/pt\/development-resources\/webhooks\/webhook-types\">AUTHORISATION webhook<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Test and go live<\/h2>\n<p>Boleto Banc\u00e1rio is an offline payment method.<\/p>\n<p> <\/p>\n<p>In the test environment, you can simulate a Boleto payment by promoting the pending payment to a sale.<\/p>\n<ol>\n<li>Log in to your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">test Customer Area<\/a>.<\/li>\n<li>Go to <strong>Transactions<\/strong> &gt; <strong>Offers<\/strong>.<\/li>\n<li>Select the <strong>PSP reference<\/strong> of the pending Boleto payment.<\/li>\n<li>Select the <strong>Promote this offer to a sale<\/strong> button.<\/li>\n<\/ol>\n<p> <\/p>\n<p>Check the status of Boleto Banc\u00e1rio test payments 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<ul>\n<li>Boletos that are pending or that have expired are under <strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Offers<\/strong>.<\/li>\n<li>Boletos that have been paid (including test offers that you manually promoted to sale) are under <strong>Transactions<\/strong>\u00a0&gt;\u00a0<strong>Payments<\/strong>.<\/li>\n<\/ul>\n<p> <\/p>\n<p>Test the reconciliation process by promoting test payments from offer to sale in your test Customer Area.<\/p>\n<p> <\/p>\n<p>Before you can accept live Boleto Banc\u00e1rio payments, you need to <a href=\"\/pt\/payment-methods\/add-payment-methods\">submit a request for Boleto Banc\u00e1rio<\/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\/advanced-flow\/?platform=Web&amp;integration=API%20only\"\n                        target=\"_self\"\n                        >\n                    API-only integration guide\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/boleto-bancario\/api-only","articleFields":{"description":"Add Boleto Banc\u00e1rio to your API-only integration.","never_cache_twig":true,"parameters":{"flow":"Advanced","integration_guide_url":"\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&integration=API%20only","payment_method":"Boleto Banc\u00e1rio","payment_method_type":"boleto","payment_method_type_capitalized":"Boleto","tx_variant":"boleto","tx_variant_capitalized":"Boleto","country_codes":"<strong>BR<\/strong>","currency_codes":"<strong>BRL<\/strong>","additional_api":"true","api_version":"none","action_type":"<strong>voucher<\/strong>","pm_directory":"boleto-bancario","contact":"false"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/boleto-bancario\/api-only","title":"Boleto Banc\u00e1rio for API only","content":"You can add Boleto Banc\u00e1rio to your existing integration. The following instructions show only what you must add to your integration specifically for Boleto Banc\u00e1rio.\nIf 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.\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have an existing API-only integration.\n \n\n\nAction handling\nMake sure that your existing integration is set up to handle the additional action.  action.type: voucher.\n\n\n\nSetup steps\n Before you begin, add Boleto Banc\u00e1rio in your Customer Area. \n\n\n\nHow it works\n\nThe shopper selects Boleto Banc\u00e1rio as the payment method.\nThe shopper enters their details in the payment form that you build.\nWhen you make the payment request, you include additional information about the items that the shopper intends to purchase.\n\nBuild your payment form\nInclude  Boleto Banc\u00e1rio in the list of available payment methods. Include the following fields to collect information from your shopper in the payment form.\n\n\n\nFields\nDescription\n\n\n\n\nPersonal details\nFirst name, last name, and CPF\/CNPJ of the shopper. The CPF\/CNPJ is a unique identifier similar to a social security number. The shopper can provide their Cadastro de Pessoas F\u00edsicas (CPF) number or their Cadastro Nacional da Pessoa Jur\u00eddica (CNPJ) number.\n\n\nBilling address\nShopper street, house number or name, city, postal code, and state or province.\n\n\nShopper email\nThe shopper's email address so that you can send them a copy of the form details.\n\n\n\n\nYou can download the logo for Boleto Banc\u00e1rio to use in your form.\n\nGet Boleto Banc\u00e1rio as an available payment method\nWhen you make the  \/paymentMethods to get available payment methods, specify the following so that Boleto Banc\u00e1rio is included in the response.\n\n\n\nParameter\nValues\n\n\n\n\n countryCode\nBR\n\n\n amount.currency\nBRL\n\n\n\n\n    \n\n\n    \n\nAdd additional parameters to your \/payments request\nWhen you make a payment, add the following additional parameters:\n\n\n\nParameter\nRequired\nDescription\n\n\n\n\npaymentMethod.type\n\nboletobancario\n\n\n shopperName\n\nThe shopper's firstName and lastName.\n\n\n billingAddress\n\nThe shopper's city, country, houseNumberOrName, postalCode,stateOrProvince, and street.\n\n\n socialSecurityNumber\n\nThe shopper's CPF or CNPJ number.\n\n\n deliveryDate\n\nThe due date of the payment, using ISO 8601 format in UTC. If this is in a weekend or national holiday, the shopper can pay the Boleto the next working day.By default, the shopper has five days to complete the payment.\n\n\n shopperEmail\n\nThe shopper's email address. This is used for sending the shopper a copy of the payment form.\n\n\n shopperStatement\n\nFree-text field with payment instructions. If you include this, make sure to state that you do not accept payments for a higher or lower amount than the original amount, or payments after the due date.\n\n\n\nIf you leave the shopperStatement empty, it is populated with the following default Portuguese text:\n\n\n\n\n\n\n\n\n\nN\u00e3o aceitar pagamento via cheque e\/ou ap\u00f3s a data do vencimento.\nDo not accept payment by cheque and\/or after the due date.\n\n\nSeu pedido ser\u00e1 enviado somente ap\u00f3s a confirma\u00e7\u00e3o do pagamento deste boleto, desde que n\u00e3o tenha diverg\u00eancia de valores entre o valor cobrado e o valor pago.\nYour order will only be processed once the payment of this Boleto has been confirmed and as long as there is no difference between the payable and paid amounts.\n\n\nA falta de pagamento deste boleto n\u00e3o implica em qualquer multa ou juros e o pedido ser\u00e1 automaticamente cancelado.\nFailure to pay this boleto will not incur any penalty or interest and your order will be automatically cancelled.\n\n\nN\u00e3o deposite nem fa\u00e7a transfer\u00eancia.\nDo not pay by deposit or bank transfer.\n\n\n\n\n    \n\nThe response includes the action.type: voucher, and the following:\n\npspReference: Our unique reference for the payment.\nresultCode: PresentToShopper\naction: Object containing information about the voucher:\n\ndownloadUrl: Link to the downloadable Boleto in PDF format.\nexpiresAt: The date and time when the due date expires.\npaymentMethodType: Indicates the issuing bank.\nreference: The barcode number for the payment.\ntotalAmount: The currency and value of the amount due.\n\n\n\n    \n\nPresent the voucher\nUse the information in the action object in the  \/payments response to present the voucher to the shopper.\n\naction.downloadUrl: Link to the downloadable Boleto in PDF format.\naction.expiresAt: The date and time when the due date expires.\naction.reference: The barcode number for the payment.\naction.totalAmount:  The currency and value of the amount due.\n\nMake sure that you show an option to download the Boleto, and an option to copy the barcode number. The shopper can then print the downloaded Boleto and pay in cash, or pay the Boleto at an ATM or through internet banking using the barcode number.\nPresent the payment result\nUse the\u00a0resultCode that you received in the \/payments response to inform your shopper of the payment status. You receive payment updates and results through a webhook.\n \nThe resultCode value you can receive for Boleto Banc\u00e1rio is:\n\n\n\nresultCode\nDescription\nAction to take\n\n\n\n\nPresentToShopper\nPresent the voucher.\nAfter you present the voucher to the shopper, inform the shopper that you are waiting for the payment to be completed. If you set up PENDING webhooks for Boleto Banc\u00e1rio, you receive a webhook for pending payments.You will receive the final result of the payment in an AUTHORISATION webhook.\n\n\n\nTest and go live\nBoleto Banc\u00e1rio is an offline payment method.\n \nIn the test environment, you can simulate a Boleto 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 Boleto payment.\nSelect the Promote this offer to a sale button.\n\n \nCheck the status of Boleto Banc\u00e1rio test payments in your Customer Area:\n\nBoletos that are pending or that have expired are under Transactions\u00a0&gt;\u00a0Offers.\nBoletos that have been paid (including test offers that you manually promoted to sale) are under Transactions\u00a0&gt;\u00a0Payments.\n\n \nTest the reconciliation process by promoting test payments from offer to sale in your test Customer Area.\n \nBefore you can accept live Boleto Banc\u00e1rio payments, you need to submit a request for Boleto Banc\u00e1rio in your live Customer Area.\nSee also\n\n\n                    API-only integration guide\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Boleto Banc\u00e1rio","lvl3":"Boleto Banc\u00e1rio for API only"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/boleto-bancario","lvl3":"\/pt\/payment-methods\/boleto-bancario\/api-only"},"levels":4,"category":"Payment method","category_color":"green","tags":["Boleto","Banc\u00e1rio"]},"articleFiles":{"payment-methods-response.json":"<p alt=\"\">payment-methods-response.json<\/p>","payments-response.json":"<p alt=\"\">payments-response.json<\/p>"}}
