Skip to main content
Accept payments from Mexican customers using SPEI (Sistema de Pagos Electrónicos Interbancarios), Mexico’s real-time interbank transfer system. Customers complete the transaction by transferring funds from their own bank account using the details you present to them.
This payment method only supports one-time (non-recurring) payments. It is available for MXN transactions to customers in Mexico.

Payment flow

Several steps occur between creating the order and completing the SPEI charge.
  1. Create an order with the customer’s information.
  2. Encrypt and send the pay order request.
  3. Redirect the customer to complete the SPEI transfer.
  4. Confirm the payment and inform the customer of its outcome.

Creating the Order

Follow the standard create order flow, setting customer.mobile to the customer’s Mexican phone number and customer.country to MX.

Initiating the Payment

Encrypt the order reference and paymentoption before sending it to the pay order endpoint.
Upon receiving your request, we will return a successful response with a redirect URL for our hosted SPEI payment page.
200 OK

Completing the Payment

Redirect the customer to paymentDetail.redirectUrl. This takes them to our hosted SPEI payment page, where we present the bank name, CLABE account number, and reference the customer needs to complete the transfer from their own bank’s app or website. This is an offline, asynchronous payment method — the transfer isn’t instant, and we’ll notify you once it’s confirmed.

Verifying the Payment

Read the transaction verification section to learn how to verify your SPEI transactions.

Testing your integration

Kindly contact the support team to enable SPEI testing on your account.
Follow these guidelines to successfully test your SPEI integration:
  1. Use a MXN order currency — SPEI is only available for MXN transactions.
  2. Set customer.country to MX when creating the order.
  3. Expect the transaction to remain in a pending state until the simulated/test bank transfer is confirmed — SPEI is not an instant confirmation method like PIX.