Skip to main content
Accept Boleto payments from customers in Brazil with dLocal as the payment service provider (PSP). The customer selects Boleto in your checkout and gets a Boleto on the dLocal payment page. They pay it at a bank, a lottery outlet, or an ATM, or through online banking.

Supported workflows

Before you begin

Complete these steps before you send your first Boleto payment through dLocal:
  1. Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
  2. Ask dLocal to enable Boleto on your dLocal account.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Boleto under Payment methods, and save.
  4. Add Boleto as a payment option in your workflow.

Request fields for dLocal

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a Boleto payment

Call authorize a payment with boleto as the paymentMethodCode. The response includes the redirect to the dLocal payment page, which shows the Boleto.
Authorize request
The payment stays pending until the customer pays the Boleto. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles Boleto

  • dLocal returns a redirect URL to its hosted payment page, where the customer gets the Boleto.
  • The payment stays pending until the customer pays the Boleto, and Payrails completes it from the dLocal notification. A Boleto paid in person can take up to one business day to confirm.
  • Payrails captures Boleto payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment.
  • Each Boleto payment is a one-time, customer-initiated payment.
Last modified on October 5, 2026