Skip to main content
SmartPix is the dLocal Open Finance payment method in Brazil, built on Pix. Customers authorize the payment from their banking app instead of with a card. Payrails processes SmartPix through dLocal as the payment service provider (PSP).

How a SmartPix payment works

SmartPix is a redirect payment method:
  1. The customer selects SmartPix at checkout.
  2. Payrails returns a redirect URL from dLocal, and the customer goes to the dLocal payment page.
  3. The customer authorizes the Pix payment through their bank’s Open Finance flow.
  4. The customer returns to your returnInfo URL.
  5. Payrails receives the final result from dLocal and updates the payment.
Each payment is single-use: the customer authorizes every payment on its own. Payrails captures SmartPix payments immediately, so a successful payment is final. To return funds, refund the payment.

Supported currencies and countries

SmartPix supports BRL (Brazilian real) as its only presentment currency.

Supported workflows

Before you begin

Complete these steps before you send your first SmartPix 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 SmartPix on your dLocal account.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select SmartPix under Payment methods, and save.
  4. Add SmartPix 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. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.

Authorize a SmartPix payment

Call authorize a payment with smartPix as the paymentMethodCode. The response includes the redirect to the dLocal payment page.
Authorize request
After the customer authorizes the payment, they return to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles SmartPix

  • dLocal returns a redirect URL to its hosted payment page. The payment stays pending until the customer authorizes it, and Payrails completes it from the dLocal notification.
  • dLocal rejects cancel requests for SmartPix in every payment state, so Payrails can’t cancel a SmartPix payment. To return funds after a successful payment, refund it.
  • Saving the instrument and merchant-initiated transactions (MIT) aren’t available. For recurring Pix through dLocal, use Pix Automático.
Last modified on October 2, 2026