🇲🇽 SPEI

Overview

SPEI (Sistema de Pagos Electrónicos Interbancarios) is Mexico’s real-time A2A (account-to-account) payment system, operated by Banco de México (Banxico). It enables fast, secure, and 24/7 transfers between bank accounts.

Through Orkestra, you can create a SPEI payment by specifying SPEI as the payment method in the order transaction.

📝 Minimum Required Fields for SPEI Payouts

FieldTypeDescription
amountDecimalAmount to send in MXN.
currencyStringMust be "MXN".
paymentMethodStringMust be "SPEI".
receivingBankAccount.keyStringCLABE or SPEI key of the recipient.
beneficiary.firstNameStringFirst name of the beneficiary.
beneficiary.lastNameStringLast name of the beneficiary.
beneficiary.documentStringRFC or CURP number.
beneficiary.documentTypeStringMust be "RFC" or "CURP".
beneficiary.typeString"INDIVIDUAL" or "BUSINESS".

Optional Fields

FieldTypeDescription
referenceIdStringCustom reference for idempotency.
beneficiary.genderString"M" or "F" (optional demographic data).
beneficiary.birthdateStringFormat: YYYY-MM-DD.
beneficiary.emailAddressStringEmail for payout alerts.
beneficiary.phoneNumberStringE.164 format.

📦 Example: SPEI Payout Request

{  
  "referenceId": "7c13c449-3a97-46bb-a9a3-e951ec92d18c",  
  "amount": 500,  
  "currency": "MXN",  
  "paymentMethod": "SPEI",  
  "beneficiary": {  
    "firstName": "Frédéric",  
    "lastName": "Chopin",  
    "document": "VECJ880326",  
    "documentType": "RFC",  
    "gender": "M",  
    "birthdate": "1994-08-20",  
    "emailAddress": "[email protected]",  
    "phoneNumber": "+5511979595697",  
    "type": "INDIVIDUAL"  
  },  
  "receivingBankAccount": {  
    "key": "012345678910111314"  
  }  
}

🔁 Payout Flow Overview

  • Send the payload via Orkestra’s API.
  • The transaction is settled within seconds.
  • You receive confirmation of payout status.
  • In case of failure, Orkestra returns a detailed status reason.

🚨 Important Notes

  • SPEI transfers are processed in real time.
  • Ensure that customer document information (RFC or CURP) is properly validated before submission.
  • Expiry times for the payment are based on Orkestra’s default configuration or can be customized in the future.

📦 Example: SPEI Order Response

{
    "id": 311234,
    "paymentMethod": "SPEI",
    "amount": 200,
    "currency": "MXN",
    "status": "PENDING",
     "beneficiary": {  
        "firstName": "Frédéric",  
        "lastName": "Chopin",  
        "document": "VECJ880326",  
        "documentType": "RFC",  
        "gender": "M",  
        "birthdate": "1994-08-20",  
        "emailAddress": "[email protected]", 
        "phoneNumber": "+5511979595697",  
        "type": "INDIVIDUAL" 	 
     },
    "createdAt": "2024-06-18T13:56:58.488Z",
    "updatedAt": "2024-06-18T13:56:58.488Z"
}

✅ Summary

To create a SPEI payment, ensure:

  • You have customer name and document information (RFC or CURP).
  • You set the paymentMethod field to SPEI.
  • Customer uses the generated CLABE and Reference Number to make the transfer.
  • Webhook notifications will inform you once the payment is confirmed.

Orkestra handles the banking logistics, allowing you to focus on your business 🚀.