Skip to main content
Accept SPEI payments from customers in Mexico with dLocal as the payment service provider (PSP). The customer selects SPEI in your checkout, gets a CLABE number and a reference on the dLocal payment page and sends the transfer from their bank.

Supported workflows

Before you begin

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

Call authorize a payment with spei as the paymentMethodCode. The response includes the redirect to the dLocal payment page, which shows the transfer details.
Authorize request
The payment stays pending until the transfer arrives. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles SPEI

  • dLocal returns a redirect URL to its hosted payment page, where the customer gets the CLABE number and reference for the transfer.
  • The payment stays pending until the transfer arrives, and Payrails completes it from the dLocal notification. The transfer details expire after one day.
  • Payrails captures SPEI payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment.
  • Each SPEI payment is a one-time, customer-initiated payment.
Last modified on October 5, 2026