🇲🇽 Mexico
Learn everything you need to know about making payouts in Mexico.
Payment Methods
- SPEI Instant
- Bank Transfer
Available Operations
- Local LATAM
- Cross Border
Payee Types
- B2B
- B2C
Payment Methods​
Checkout our SLAs for each payment method:
| Payment Method | SLA | B2B | B2C |
|---|---|---|---|
| < 2 minutes | check_circle_outline | check_circle_outline | |
| Up to 3 days | check_circle_outline | check_circle_outline |
Instructions​
To create a payout using EBANX Direct API, follow the steps below.
- Define request parameters​
Provide the required parameters listed below to create a payout.
Field Description integration_keyYour EBANX integration key. external_referenceThe unique payout ID provided by you. countryThe two-letter country code for the customer country. In this case, we'll show the method to mx (Mexico) amountThe amount in the specified currency (currency_code). currency_codeThree-letter code of the payout currency. In this case, we'll use MXN (Mexican Peso) payeeA JSON object containing the details of the payee of your request. Document Types Allowed
Document type Description RFC Federal taxpayer registration (Registro Federal de Contribuyentes). CURP Unique Population Registry Code (Clave Única de Registro de Población), 18 characters. Understanding CLABEIn Mexico, bank accounts are identified using the CLABE (Clave Bancaria Estandarizada), an 18-digit standard number. The first three digits identify the specific bank (e.g., 012 for BBVA, 002 for Banamex). This three-digit bank code is the same as the last three digits of the bank's official institution key.
- Send payout request to EBANX​
To create a new Payout, you will use the /ws/payout/create endpoint.
For Mexico, when sending payee information, the bank_info tag only requires the bank_details key filled with the CLABE number. The bank_details key is mandatory. The API will automatically extract bank_name, bank_branch, bank_account and account_type values from the CLABE number.
The following example demonstrates a payout request to an individual payee using their CLABE number:
curl -X POST 'https://sandbox.ebanx.com/ws/payout/create' \
--header 'Content-Type: application/json' \
--data '{
"integration_key": "your_test_integration_key",
"external_reference": "PAYOUT_EBANX_MX_01",
"country": "mx",
"amount": 1000,
"currency_code": "MXN",
"payee": {
"name": "Carlos Martinez Lopez",
"email": "carlos.martinez@email.com",
"phone": "+525512345678",
"document": "MALC900101HDFRRL09",
"document_type": "CURP",
"bank_info": {
"bank_details": "012180012345678907"
},
"address": {
"zipcode": "06600",
"state": "CDMX",
"city": "Ciudad de Mexico",
"street_address": "Av. Paseo de la Reforma 250",
"street_complement": "Piso 10"
}
}
}'A successful creation will return a JSON Object with type "success" and a payout object with all the details of the newly created payout.
{
"type": "success",
"payout": {
"uid": "d4685f5341c3c8c1e40ea9c06715f05778ff35ee",
"external_reference": "PAYOUT_EBANX_MX_01",
"status": "OP",
"request_date": "2024-01-15 10:30:00",
"status_date": null,
"paid_date": null,
"cancel_date": null,
"payee": {
"name": "Carlos Martinez Lopez",
"email": "carlos.martinez@email.com",
"phone": "525512345678",
"document": "MALC900101HDFRRL09",
"document_type": "CURP",
"birthdate": null,
"bank_info": {
"bank_name": "012 BBVA MEXICO",
"bank_branch": "1800",
"bank_account": "12345678907",
"account_type": "C",
"bank_details": "012180012345678907"
}
},
"request_amount": "1000.00",
"request_currency": "MXN",
"request_exchange_rate": "1.0000",
"debit_amount": "1000.00",
"debit_fee": "10.00",
"debit_amount_total": "1010.00",
"debit_currency": "MXN",
"local_tax_amount": "0.00",
"local_amount_total": "1000.00",
"local_currency": "MXN",
"local_exchange_rate": "1.0000"
}
} - Send commit request to EBANX​
Once the new payout record is created it'll be committed automatically after 6 hours. Or you can use the /ws/payout/commit endpoint to start the payment process.
Here's an example of a commit operation using the payout we've just created:
curl -X POST 'https://sandbox.ebanx.com/ws/payout/commit' \
--header 'Content-Type: application/json' \
--data '{
"integration_key": "your_test_integration_key",
"uid": "d4685f5341c3c8c1e40ea9c06715f05778ff35ee"
}'Once the new payout is commited, a JSON Object with type "success" will be returned.
{
"type": "success",
"message": "Payout has already been committed"
} - Congratulations!​
You have successfully Created a Payout in Mexico.
Creating a Payout using the Dashboard​
You can also create a payout through our Dashboard in the Overview section of the Payout tab. Click on Create Payout, fill in the payee information, payout amount and click on Create. Additionally, you can create a Mass Payout by sending a spreadsheet to be processed in bulks.
Available Banks​
Below is the list of banks supported for payout operations in Mexico. The Bank Code corresponds to the first three digits of the CLABE number.
| Institution Key | Bank Code (from CLABE) | Institution Name |
|---|---|---|
| 40133 | 133 | ACTINVER |
| 40062 | 062 | AFIRME |
| 90721 | 721 | albo |
| 90706 | 706 | ARCUS FI |
| 90659 | 659 | ASP INTEGRA OPC |
| 40127 | 127 | AZTECA |
| 37166 | 166 | BaBien |
| 40030 | 030 | BAJIO |
| 40002 | 002 | BANAMEX |
| 40154 | 154 | BANCO COVALTO |
| 37006 | 006 | BANCOMEXT |
| 40137 | 137 | BANCOPPEL |
| 40160 | 160 | BANCO S3 |
| 40152 | 152 | BANCREA |
| 37019 | 019 | BANJERCITO |
| 40147 | 147 | BANKAOOL |
| 40106 | 106 | BANK OF AMERICA |
| 40159 | 159 | BANK OF CHINA |
| 37009 | 009 | BANOBRAS |
| 40072 | 072 | BANORTE |
| 40058 | 058 | BANREGIO |
| 40060 | 060 | BANSI |
| 2001 | 001 | BANXICO |
| 40129 | 129 | BARCLAYS |
| 40145 | 145 | BBASE |
| 40012 | 012 | BBVA MEXICO |
| 40112 | 112 | BMONEX |
| 90677 | 677 | CAJA POP MEXICA |
| 90683 | 683 | CAJA TELEFONIST |
| 90715 | 715 | CASHI CUENTA |
| 90630 | 630 | CB INTERCAM |
| 90631 | 631 | CI BOLSA |
| 40124 | 124 | CITI MEXICO |
| 90901 | 901 | CLS |
| 90903 | 903 | CoDi Valida |
| 40130 | 130 | COMPARTAMOS |
| 40140 | 140 | CONSUBANCO |
| 90725 | 725 | COOPDESARROLLO |
| 90652 | 652 | CREDICAPITAL |
| 90688 | 688 | CREDICLUB |
| 90680 | 680 | CRISTOBAL COLON |
| 90723 | 723 | Cuenca |
| 90729 | 729 | Dep y Pag Dig |
| 40151 | 151 | DONDE |
| 90616 | 616 | FINAMEX |
| 90634 | 634 | FINCOMUN |
| 90734 | 734 | FINCO PAY |
| 90699 | 699 | FONDEADORA |
| 90685 | 685 | FONDO (FIRA) |
| 90601 | 601 | GBM |
| 40167 | 167 | HEY BANCO |
| 37168 | 168 | HIPOTECARIA FED |
| 40021 | 021 | HSBC |
| 40155 | 155 | ICBC |
| 40036 | 036 | INBURSA |
| 90902 | 902 | INDEVAL |
| 40150 | 150 | INMOBILIARIO |
| 40136 | 136 | INTERCAM BANCO |
| 40059 | 059 | INVEX |
| 40110 | 110 | JP MORGAN |
| 40128 | 128 | KAPITAL |
| 90661 | 661 | KLAR |
| 90653 | 653 | KUSPIT |
| 90670 | 670 | LIBERTAD |
| 90602 | 602 | MASARI |
| 90722 | 722 | Mercado Pago W |
| 90720 | 720 | MexPago |
| 40042 | 042 | MIFEL |
| 40158 | 158 | MIZUHO BANK |
| 90600 | 600 | MONEXCB |
| 40108 | 108 | MUFG |
| 40132 | 132 | MULTIVA BANCO |
| 37135 | 135 | NAFIN |
| 90638 | 638 | NU MEXICO |
| 90710 | 710 | NVIO |
| 40148 | 148 | PAGATODO |
| 90732 | 732 | Peibo |
| 90620 | 620 | PROFUTURO |
| 40156 | 156 | SABADELL |
| 40014 | 014 | SANTANDER |
| 40044 | 044 | SCOTIABANK |
| 40157 | 157 | SHINHAN |
| 90728 | 728 | SPIN BY OXXO |
| 90646 | 646 | STP |
| 90703 | 703 | TESORED |
| 90684 | 684 | TRANSFER |
| 40138 | 138 | UALA |
| 90656 | 656 | UNAGRA |
| 90617 | 617 | VALMEX |
| 90605 | 605 | VALUE |
| 90608 | 608 | VECTOR |
| 40113 | 113 | VE POR MAS |
| 40141 | 141 | VOLKSWAGEN |
Possible Errors​
Click here and check out our Payout Error Code page to learn more about the possible errors.
Still need help?
We hope this article was helpful. If you still have questions, you can explore the following options:
- Merchant support: Contact our support team at sales.engineering@ebanx.com for assistance.
- Not a partner yet? Please complete the Merchant Signup Form, and our commercial team will reach out to you.