Skip to main content
Accept bank transfer payments with dLocal as the payment service provider (PSP). The customer selects bank transfer, completes the transfer on the dLocal payment page and returns to your site.

Supported workflows

Before you begin

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

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

How dLocal handles bank transfers

  • Payrails sends bank transfer to dLocal for the country in meta.customer.country.code. The countries available to you depend on your dLocal account.
  • The payment stays pending until dLocal reports the result. If the customer doesn’t complete the transfer in time, dLocal expires the payment and Payrails marks it as failed.
  • Payrails records the payment method that dLocal reports in its response. In some countries dLocal processes the request through a local payment method, and the payment then shows that method.
Last modified on October 2, 2026