Skip to main content
Accept Pix payments from customers in Brazil with dLocal as the payment service provider (PSP). The customer selects Pix, goes to the dLocal payment page and pays from their banking app.

Supported workflows

WorkflowSupported
Payrails SDK✔
Payrails API✔
Delayed / Manual Capture✖
Instant Capture✔
Cancel / Void✖
Refund / Reverse✔
Save Instruments✖
Merchant Initiated Transaction (MIT)✖

Before you begin

Complete these steps before you send your first Pix 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 Pix on your dLocal account.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Pix under Payment methods, and save.
  4. Add Pix 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 Pix payment

Call authorize a payment with pix as the paymentMethodCode. The response includes the redirect to the dLocal payment page.
Authorize request
The customer pays in their banking app. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles Pix

  • dLocal returns a redirect URL to its hosted Pix payment page. The payment stays pending until the customer pays, and Payrails completes it from the dLocal notification.
  • Payrails captures Pix payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment.
  • For recurring Pix through dLocal, use Pix Automático. Each Pix payment is a new customer-initiated payment.
Last modified on October 19, 2026