Supported workflows
Before you begin
Complete these steps before you send your first Boleto payment through dLocal:- Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
- Ask dLocal to enable Boleto on your dLocal account.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Boleto under Payment methods, and save.
- 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 withboleto as the paymentMethodCode. The response includes the redirect to the dLocal payment page, which shows the Boleto.
Authorize request
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.