Boleto (Bank slip) - Brazil

In general terms, Boleto is essentially a bank slip payment method, regulated by the Brazilian Federation of Banks (FEBRABAN). It consists of a collection bill or invoice generated by merchants, which contains a barcode and payment details. Customers use it to pay for goods and services either online or by printing the slip and paying in person at a bank or authorized processor.

GetNet’s feature allows it to generate the Boleto data with a XML registration (also offering the option to make a payment via PIX), which will be registered with Santander, provided the business has an existing agreement.

Initial request and response In order to generate a Boleto, a request must be made to the GetNet API and it will return the following details:
  • boleto: First level object;
  • _links: List of objects (inside boleto object) where each object contains specific Boleto information.
  • href: Property (inside every object in the _links list) whose value is the URL for printing the specific Boleto.
Creating a payment Once the previous step is complete, a new request must be made to the GetNet Api, where the href should be concatenated to the final path parameter.