# Mexico

### Country specifications

<table><thead><tr><th align="center">country code</th><th align="center">currency code</th><th width="137.60546875" align="center">amount decimals</th><th>document name</th><th width="135.4921875">document format</th><th align="center">document required?</th></tr></thead><tbody><tr><td align="center"><code>MX</code></td><td align="center"><code>MXN</code> and <code>USD</code></td><td align="center">2</td><td>CURP</td><td><p>Alphanumeric.</p><p>Length between 7 and 18 inclusive</p></td><td align="center">Yes</td></tr></tbody></table>

### Card features

<table><thead><tr><th data-type="checkbox">Card-on-file</th><th width="129.93359375" data-type="checkbox">Subscriptions</th><th width="129.515625" data-type="checkbox">3DS</th><th width="130.22265625" data-type="checkbox">Installments</th><th width="205.6328125" data-type="checkbox">Authorization and Capture</th></tr></thead><tbody><tr><td>true</td><td>true</td><td>true</td><td>true</td><td>false</td></tr></tbody></table>

***

### Brands available

{% hint style="success" %}

### `payment_method` code `CC`

As the payers will be capable to input any card in the displayed checkout form ,the OneShot and Fragments all-in-one solution, we recommend using the payment method code **`CC`**  in the API requests, which is a generic code.

After the payment is attempted, merchants will be capable to know with which card the user paid.
{% endhint %}

<table><thead><tr><th width="95.140625" align="center">Logo</th><th width="160.26171875" align="center">payment_method</th><th width="188.76171875">Name</th></tr></thead><tbody><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/VI.svg" alt="" data-size="original"></td><td align="center"><code>VI</code></td><td>Visa</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/VD.svg" alt="" data-size="original"></td><td align="center"><code>VD</code></td><td>Visa Debit ​</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/MC.svg" alt="" data-size="original"></td><td align="center"><code>MC</code></td><td>Mastercard</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/MD.svg" alt="" data-size="original"></td><td align="center"><code>MD</code></td><td>Mastercard Debit ​</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/AE.svg" alt="" data-size="original"></td><td align="center"><code>AE</code></td><td>American Express</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/CL.svg" alt="" data-size="original"></td><td align="center"><code>CL</code></td><td>Cabal ​</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/DC.svg" alt="" data-size="original"></td><td align="center"><code>DC</code></td><td>Diners Club</td></tr></tbody></table>

### Alternative Payment Methods available

<table><thead><tr><th width="94.875" align="center">Logo</th><th width="159.55859375" align="center">payment_method</th><th width="189.19140625">Name</th><th width="175.0390625" align="center">payment_type</th><th>Flows<select multiple><option value="jlcqaXRW160S" label="Embbeded" color="blue"></option><option value="5X34WAoZrPXY" label="Redirect" color="blue"></option></select></th></tr></thead><tbody><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/ME.svg" alt="" data-size="original"></td><td align="center"><code>ME</code></td><td>MercadoPago</td><td align="center"><code>WALLET</code></td><td><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/SE.svg" alt=""></td><td align="center"><code>SE</code></td><td>Spei</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/OX.svg" alt="" data-size="original"></td><td align="center"><code>OX</code></td><td>OXXO</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/N2Obd1AH9864PSU903VI/image.png" alt="" data-size="original"></td><td align="center"><code>OXP</code></td><td>OXXOPay</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/COD.svg" alt="" data-size="original"></td><td align="center"><code>COD</code></td><td>CoDi</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/AZ.svg" alt="" data-size="original"></td><td align="center"><code>AZ</code></td><td>Banco Azteca</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/BV.svg" alt="" data-size="original"></td><td align="center"><code>BV</code></td><td>BBVA Bancomer</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/ZNojsUIDBkcMb3q323r3/image.png" alt="" data-size="original"></td><td align="center"><code>BM</code></td><td>Banamex</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/STS.svg" alt="" data-size="original"></td><td align="center"><code>STS</code></td><td>Santander SuperNet</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/SM.svg" alt="" data-size="original"></td><td align="center"><code>SM</code></td><td>Santander</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/AF.svg" alt="" data-size="original"><img src="https://resources.directa24.com/cashin/payment_method/square/AF.svg" alt="" data-size="line"></td><td align="center"><code>AF</code></td><td>Afirme online banking</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/6ahAWRleLeNLmHKgZLb7/image.png" alt="" data-size="original"></td><td align="center"><code>TC</code></td><td>Todito</td><td align="center"><code>WALLET</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/PN.svg" alt="" data-size="original"></td><td align="center"><code>PN</code></td><td>PayNet</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/FA.svg" alt="" data-size="original"></td><td align="center"><code>FA</code></td><td>Farmacia del Ahorro</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/EA.svg" alt="" data-size="original"></td><td align="center"><code>EA</code></td><td>Extra</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/CLX.svg" alt="" data-size="original"></td><td align="center"><code>CLX</code></td><td>Calimax</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/BW.svg" alt="" data-size="original"></td><td align="center"><code>BW</code></td><td>Bodega Aurrera</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/CU.svg" alt="" data-size="original"></td><td align="center"><code>CU</code></td><td>Circulo K</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/EN.svg" alt="" data-size="original"></td><td align="center"><code>EN</code></td><td>7 Eleven</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/FL.svg" alt="" data-size="original"></td><td align="center"><code>FL</code></td><td>Farmacia la mas barata</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/RO.svg" alt="" data-size="original"></td><td align="center"><code>RO</code></td><td>Roma</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/SQ.svg" alt="" data-size="original"></td><td align="center"><code>SQ</code></td><td>Soriana</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/WE.svg" alt="" data-size="original"></td><td align="center"><code>WE</code></td><td>Walmart Express</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/UTu1WtqHryQfI6riUK3I/WA.svg" alt="" data-size="original"><img src="https://resources.directa24.com/cashin/payment_method/square/WA.svg" alt="" data-size="line"><img src="https://resources.directa24.com/cashin/payment_method/square/WA.svg" alt="" data-size="line"></td><td align="center"><code>WA</code></td><td>Walmart</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/BQL.svg" alt="" data-size="original"></td><td align="center"><code>BQL</code></td><td>Banorte online banking</td><td align="center"><code>BANK_TRANSFER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/26htp4ZfTMjeXXKO67pP/image.png" alt="" data-size="original"></td><td align="center"><code>SW</code></td><td>SuperCity</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr><tr><td align="center"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/xsBGIRLHJIo8MvCUZa8Y/image.png" alt="" data-size="original"></td><td align="center"><code>SS</code></td><td>Sams Club</td><td align="center"><code>VOUCHER</code></td><td><span data-option="jlcqaXRW160S">Embbeded, </span><span data-option="5X34WAoZrPXY">Redirect</span></td></tr></tbody></table>

#### Fields required for the [OneShot](https://docs.pandablue.com/guides/deposits/solutions/oneshot) solution <a href="#fields-required-for-the-oneshot-experience" id="fields-required-for-the-oneshot-experience"></a>

<table data-header-hidden><thead><tr><th width="230.625">Payment Method Name</th><th width="99.52734375" align="center">country</th><th width="109.91796875" align="center">amount</th><th width="109.78515625" align="center">payer[]</th><th width="150.27734375" align="center">payment_method</th></tr></thead><tbody><tr><td><strong>Payment method name</strong></td><td align="center"><strong><code>country</code></strong></td><td align="center"><strong><code>amount</code></strong></td><td align="center"><strong><code>payer[]</code></strong></td><td align="center"><strong><code>payment_method</code></strong></td></tr><tr><td>All</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td></tr></tbody></table>

#### `payer[]` object requirements <a href="#payer-object-requirements" id="payer-object-requirements"></a>

<table data-header-hidden><thead><tr><th width="230.6015625">Payment Method Name</th><th width="100.12109375" align="center">document</th><th align="center">email</th><th align="center">first_name</th><th align="center">last_name</th></tr></thead><tbody><tr><td><strong>Payment method name</strong></td><td align="center"><strong><code>document</code></strong></td><td align="center"><strong><code>email</code></strong></td><td align="center"><strong><code>first_name</code></strong></td><td align="center"><strong><code>last_name</code></strong></td></tr><tr><td>All</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td></tr></tbody></table>

{% hint style="success" %}
Other fields not in these lists are optional.
{% endhint %}

{% hint style="info" %}

### If any of the required fields are missing the `HOSTED` flow will be triggered

In that case you will receive the `HOSTED` value in the `checkout_type` parameter.\
You will have to redirect the user to the `redirect_url`
{% endhint %}

***

### Payment flows

#### Transferencias SPEI

<figure><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/LqyKOptBKXZR4WnoDbc6/SPEI%20Mexico.png" alt=""><figcaption></figcaption></figure>

The user selects **SPEI** as the payment method. A **CLABE** number (bank account code) appears on the screen. The user copies it, opens their banking app, selects “transfer,” pastes the CLABE, and completes the payment. Once confirmed, the funds are sent in real time.

{% hint style="success" %}

#### SPEI Offline

Additionally to the standard SPEI flow described above, we offer a different way in processing SPEI deposits.\
To learn more about this flow, please visit <a href="../../countries-specialization/spei-offline" class="button primary">SPEI Offline</a>
{% endhint %}

&#x20;   :art:**User interface tips**

If you are using our **`payment_info[]`** object to display the checkout natively in your website, follow this tips to boost conversion rates!

<figure><picture><source srcset="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/WbghGGs3Xle6XcwxY0QS/SPEI%20Skeleton%20dark%20mode.png" media="(prefers-color-scheme: dark)"><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/xwJGNR4YJX0VDxCDHr3d/SPEI%20Skeleton.png" alt="" width="563"></picture><figcaption></figcaption></figure>

#### CoDi

<figure><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/Xzsk42jYEyz9k6l0aGPu/Codi%20Mexico.png" alt=""><figcaption></figcaption></figure>

After selecting **CoDi**, the user provides basic info, and a **QR code** appears on screen. They open their bank’s mobile app, select the CoDi scan option, upload the code, and confirm the transaction. The payment is completed in seconds.

#### `VOUCHER`s

<figure><img src="https://content.gitbook.com/content/f92vedEnowdVWbjM4Cmd/blobs/KxXtNUDivE8McmeOH2l0/7Eleven%20Mexico.png" alt=""><figcaption></figcaption></figure>

After choosing **7-Eleven (for example)** as the payment method, the user fills in their personal info and receives a reference number. They take this number to any **7-Eleven** store, give it to the cashier, and pay in cash. The system updates the payment automatically once it’s received.

{% hint style="success" %}

#### `VOUCHER` type payment methods

Note that, even though the example provided is from 7Eleven, the flow described above applies for all the payment methods with type `VOUCHER`.

It applies for Oxxo, Bodega Aurrera, Circulo K, Walmart ... and more.

Cash vouchers are very popular in Mexico.
{% endhint %}
