For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use Boleto/Pix

Boleto/Pix is a payment method tailored for international e-merchants that facilitates money transfers from Brazilian customers designed to make it easy for them to receive money from Brazilian customers. The Boleto/Pix credit transfer service enables customers in Brazil to make online purchases via 2Checkout and pay offline at any Brazilian post office, bank branch, or through Internet banking. Boleto/Pix currently has a market share of approximately 25% in Brazil.

Availability

The feature is available only to users in Brazil with a Brazilian billing address.

Mandatory billing information must also include:

  • State

  • Phone number

  • Fiscal code (CPF/CNPJ)

Supported currencies

Boleto/Pix supports BRL transactions.

Workflow

  1. Shoppers select BOLETO as a payment option in the checkout interface you provide to them.

  2. Call the PlaceOrder method with “BOLETO” as the type of the PaymentDetails object.

  3. After the Order Object is generated, in the PaymentDetails > PaymentMethod, you will find the URL where the shoppers need to be redirected to so they can finish the payment. Example: “https://pagbrasil.com/b?a41aewmfjb

  4. The shopper selects the preferred Bank for payment and generates the payment slip (Boleto).

  5. The shopper prints the Boleto which contains a bar-coded invoice and takes it to one of the convenient Boleto/Pix locations.

  6. Once the shopper finishes the payment process on the Boleto side, the order will be updated in the 2Checkout system as well.

Request parameters

Parameter
Type / Description

sessionID

Required (string) Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionID expires in 10 minutes.

Required (object) Object designed to collect all data necessary for an order, including billing, product/subscription plan and payment details.

See code sample for more details.

Request sample

Response parameters

Parameter
Type

Last updated

Was this helpful?