Skip to main content
Boleto via dLocal presents the customer with a boleto bancário: a printable bank slip carrying a barcode and a digitable line. The customer pays it at a bank, a lottery agent, or through their banking app, and the payment clears afterwards. Boleto is a long-established cash and bank transfer method in Brazil and is available in BRL only.
Boleto is a voucher-style payment method. The customer receives a slip at checkout and pays later, so the payment stays pending until dLocal confirms it by webhook. Fulfil orders only on a final status, and expect a gap of up to several business days between checkout and settlement.

Get started with Boleto via dLocal

Before you begin

If this is your first payment method, make sure to follow the Get started guide to begin processing payments with Primer. Boleto is not active on a dLocal account by default. Ask your dLocal contact to enable it before you activate it on the Checkout.

Configure in the Dashboard

  1. Add Boleto via dLocal payment method to your Dashboard Go to the integrations section of the Dashboard, click on the ‘New Integration’ button and search for dLocal. Follow the instructions to connect your dLocal account to your Primer Dashboard.
  2. Activate Boleto via dLocal on the Checkout Go to the Checkout section of the Dashboard and activate the Boleto via dLocal payment method.
  3. Configure a Workflow to process payments made with Boleto via dLocal Go to Workflows, and ensure there is a workflow with the Authorization action configured to process APMs.

Prepare the client session

dLocal leverages the following parameters to process a payment. Pass them when creating the client session.

Prepare the SDK for payments

Use the payment method type DLOCAL_BOLETO wherever the code below references YOUR_PAYMENT_METHOD_TYPE.

Go live

You don’t need to do anything particular to go live — just make sure to use production credentials, and confirm with dLocal that Boleto is enabled on your production account.