Mexico

Learn everything you need to know to make payouts in Mexico with dLocal.

Market specifications

Take a look of all the information you need to make a payout.

Country reference Mandatory paramenters

Payment methods

Find all the information about payment methods capabilities.

Bank transfers

Bank information

Find all the bank account validations details you need to make a payout.

Bank account validations Bank codes

Market specifications

Do you want to know more information about Mexico's market? Go to the Mexico’s economy and eCommerce market article.

Country reference

country codecurrency codeamount decimalsdocument.type namedocument.id format
MXMXN2CURP or RFCBetween 10 to 18 characters for CURP and 12 or 13 characters for RFC.

Mandatory parameters

Bank transfers

Bank transfer parametersB2CB2BP2P
external_idYesYesYes
payment_method_idYesYesYes
flow_typeYesYesYes
purposeYesYesYes
countryYesYesYes
currencyYesYesYes
amountYesYesYes
beneficiary.first_nameYesYesYes
beneficiary.last_nameYesYesYes
beneficiary.bank_account.codeYesYesYes
beneficiary.bank_account.accountYesYesYes
beneficiary.address.street--Yes
beneficiary.address.city--Yes
remitter.first_name--Yes
remitter.last_name--Yes
remitter.document.type--Yes (if amount exceeds USD 2.999)
remitter.document.id--Yes (if amount exceeds USD 2.999)
remitter.address.street--Yes
remitter.address.city--Yes
remitter.nationality--Yes
remitter.address.postal_code--Yes

Payment methods

Mexico supports payouts via Bank Transfers and Cards. These methods require specific parameters and follow validation rules aligned with local compliance and banking standards.

Bank transfers

Bank transfers in Mexico require detailed account information, bank account, currency, and amount. The format of these fields depends on the receiving bank, and strict validation rules apply.

Refer to the bank account validations and bank codes sections for format specifications.

Mandatory parameters

All fields listed below are required for bank transfer payouts. For successful processing, ensure correct formatting and value types.

Mandatory parameterDescription
external_idPayout identification at the merchant's end. Maximum 100 characters.
payment_method_idPayment method. For bank transfers, use BANK_TRANSFER.
flow_typePayout flow type. Valid values: B2C (Business to Consumer), B2B (Business to Business), or P2P (Person to Person).
countryCountry code. For Mexico, use MX.
currencyPayout currency. For Mexico, use MXN or USD.
amountPayout amount (in the currency set in the currency field). Use up to 2 decimal places.
purposePayout purpose code. See purpose codes reference.
beneficiary.first_nameBeneficiary's first name. Maximum 50 characters.
beneficiary.last_nameBeneficiary's last name. Only applies when the beneficiary is an individual. Maximum 50 characters.
beneficiary.bank_account.accountBeneficiary's bank account number. See bank account validations below.
beneficiary.address.streetRemitter's address street. Maximum 200 characters. Mandatory only for remittance (P2P).
beneficiary.address.cityRemitter's address city. Maximum 40 characters. Mandatory only for remittance (P2P).
remitter.first_nameRemitter's first name. Maximum 50 characters. Mandatory only for remittance (P2P).
remitter.last_nameRemitter's last name. Maximum 50 characters. Mandatory only for remittance (P2P).
remitter.document.typeRemitter's document type: ID for national identification number, PASS for passport, LABOR for labor card / ID. Mandatory only for remittance (P2P) transactions if the amount exceeds USD 2.999.
remitter.document.idRemitter's document. Maximum 45 characters. Mandatory only for remittance (P2P) transactions if the amount exceeds USD 2.999.
remitter.address.streetRemitter's address street. Maximum 200 characters. Mandatory only for remittance (P2P).
remitter.address.cityRemitter's address city. Maximum 40 characters. Mandatory for Remittance (P2P).
remitter.nationalityRemitter's nationality. ISO 3166-1 alpha-2 code. Mandatory only for remittance (P2P).
remitter.address.postal_codeRemitter's address postal code. Maximum 20 characters. Mandatory only for remittance (P2P).

Example request

{
  "external_id": "1234567812345678b",
  "payment_method_id": "BANK_TRANSFER",
  "flow_type": "B2C",
  "country": "MX",
  "currency": "MXN",
  "amount": 2977.89,
  "purpose": "OTHER_SERVICES",
  "notification_url": "https://thisisawebsite.net/payments",
  "beneficiary": {
    "first_name": "JUAN",
    "last_name": "PEREZ",
    "bank_account": {
      "account": "123456789123456789"
    }
  }
}

Cards

Card transfers in Mexico require the number of the card, bank code, currency, and amount. The format of these fields depends on the receiving bank, and strict validation rules apply.

Refer to the bank account validations and bank codes sections for format specifications.

Mandatory parameters

All fields listed below are required for bank transfer payouts. For successful processing, ensure correct formatting and value types.

Mandatory parameterDescription
external_idPayout identification at the merchant's end. Maximum 100 characters.
payment_method_idPayment method. For bank transfers, use BANK_TRANSFER.
flow_typePayout flow type. Valid values: B2C (Business to Consumer), B2B (Business to Business), or P2P (Person to Person).
purposePayout purpose code. See purpose codes reference .
amountPayout amount (in the currency set in the currency field). Use up to 2 decimal numbers.
countryCountry code. For Mexico, use MX.
currencyPayout currency. For Mexico, use MXN or USD.
beneficiary.first_nameBeneficiary's first name. Maximum 50 characters.
beneficiary.last_nameBeneficiary's last name. Only applies when the beneficiary is an individual. Maximum 50 characters.
beneficiary.bank_account.codeBeneficiary's bank account code. See bank codes below.
beneficiary.card.numberBeneficiary's card number.
beneficiary.address.streetBeneficiary address information. Mandatory only for remittance (P2P).
beneficiary.address.cityBeneficiary's address city. Maximum 100 characters. Mandatory only for remittance (P2P).
remitter.first_nameRemitter's first name. Mandatory for Remittance (P2P).
remitter.last_nameRemitter's last name. Mandatory for Remittance (P2P).
remitter.document.typeRemitter's document type: ID for national identification number, PASS for passport, LABOR for labor card / ID. Mandatory only for remittance (P2P) transactions if the amount exceeds USD 2.999.
remitter.document.idRemitter's document ID or number. Maximum 45 characters. Mandatory only for remittance (P2P) transactions if the amount exceeds USD 2.999.
remitter.address.sreetRemitter address information. Maximum 200 characters. Mandatory only for remittance (P2P).
remitter.address.cityRemitter's address city. Maximum 40 characters. Mandatory only for remittance (P2P).
remitter.nationalityRemitter's nationality. ISO 3166-1 alpha-2 code. Mandatory only for remittance (P2P).
remitter.address.postal_codeRemitter's address postal code. Maximum 20 characters. Mandatory only for remittance (P2P).

Example request

{
  "external_id": "1234567812345678b",
  "payment_method_id": "BANK_TRANSFER",
  "flow_type": "B2C",
  "country": "MX",
  "currency": "MXN",
  "amount": 2977.89,
  "purpose": "OTHER_SERVICES",
  "notification_url": "https://thisisawebsite.net/payments",
  "beneficiary": {
    "first_name": "JUAN",
    "last_name": "PEREZ",
    "bank_account": {
      "code": "137"
    },
    "card": {
      "number": "4111111111111111"
    }
  }
}

Bank information

Access the reference formats and accepted values required for processing bank payouts in Mexico.


Bank account validations


ValidationNameLengthTypeVerification digitExample
Bank accountCLABE18numericApply verification algorithm032180000118359719


Bank codes


Check below the different values that beneficiary.bank_account.code parameter can take in Mexico.

Bank NameBank Code
ABC Capital138
Actinver133
Afirme62
Arcus706
Autofin128
Azteca127
BaBien166
Bajio30
Banamex2
Bancomext6
Bancoppel137
Banjercito19
Banobras9
Banorte72
Banregio58
Bansi60
BANXICO1
Barclays129
Bbase145
BBVA Bancomer12
BMonex112
BMultiva132
Banco Covalto154
Banco S3160
Banco Sabadell156
Bancrea152
Bank of America106
Bank of China159
Bankaool147
Caja Pop Mexicana677
Caja Telefonistas683
Cartera Digital715
Citi124
CLS901
CoDi Valida903
Compartamos130
Consubanco140
Credicapital652
Crediclub688
Cristobal Colon680
Cuenca723
Donde151
Finamex616
Fincomun634
FOMPED689
Fondeadora699
Fondo (FIRA)685
GBM601
Hipotecaria Federal168
HSBC21
ICBC155
Inbursa36
Indeval902
Inmobiliario150
Interbanco136
Invex59
JP Morgan110
Klar661
Kuspit653
Libertad670
Masari602
Mercado Pago722
Mifel42
Mizuho Bank158
Monexcb600
MUFG108
Nafin135
Nu Bank638
NVIO710
Opciones Empresariales del Noroeste659
Pagatodo148
Peibo732
Profuturo620
Santander14
Scotiabank44
Shinhan157
SPIN BY OXXO728
STP646
Tesored703
Transfer684
Unagra656
Valmex617
Value605
Ve Por Mas113
Vector608
Volkswagen141