Introduction
SPEI uses a redirect-based payment flow. When a customer selects SPEI at checkout, they are redirected to a hosted page showing the recipient bank account details (CLABE number and reference). The customer then logs into their bank’s online or mobile banking to execute the transfer. SPEI is a single-use payment method. This guide explains the process of integrating SPEI into your app or website using Payrails.Pre-requisites
Before you start accepting SPEI payments with Payrails, there are a few requirements you must meet:Ways to integrate SPEI
Payrails SDK
Server-to-server integration
Parse SPEI from lookup response
Pass SPEI payment method in request to authorize payment with Payrails
Note on amountsMXN uses 2 decimal places. Amounts should be provided in the smallest currency unit—for example,
10000 for $100.00 MXN.SPEI is a redirect-based, single-use payment method. After calling the authorize endpoint, the customer will be redirected to a hosted page with the CLABE number and reference for the transfer. The customer executes the transfer from their bank. Payments expire after 1 day if the transfer is not received. Once confirmed, the customer will be redirected back to the
returnInfo.success URL.Handle the redirect response
Supported currencies
SPEI via dLocal supports the following presentment currency:- MXN — Mexican Peso