> For the complete documentation index, see [llms.txt](https://docs.coda.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coda.co/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/payout/api-shuo-ming/fa-qi-payout-qing-qiu/ge-guo-jia-api-can-shu/mo-xi-ge.md).

# 墨西哥

## <mark style="color:purple;">银行转账</mark>

* payout\_method.type = bank\_transfer
* payout\_method.payment\_method = bank\_transfer

<table><thead><tr><th width="300">payout_method_details 参数</th><th width="125">类型</th><th width="100">必填项</th><th>描述</th></tr></thead><tbody><tr><td>first_name</td><td>String</td><td>是</td><td>收款人的名字。最多 50 个字符</td></tr><tr><td>last_name</td><td>String</td><td>是</td><td>收款人的姓氏。最多 50 个字符</td></tr><tr><td>account_number</td><td>String</td><td>是</td><td>请参阅下方的“墨西哥银行账号验证”。</td></tr><tr><td>bank_code</td><td>String</td><td>否</td><td><strong>仅在账户为借记卡时为必填项。</strong>请参阅下方的“墨西哥银行代码”。</td></tr></tbody></table>

## <mark style="color:purple;">墨西哥银行账号验证</mark>

| 验证   | 类型    | 长度 | 类型      | 数字验证   | 示例                                |
| ---- | ----- | -- | ------- | ------ | --------------------------------- |
| 银行账户 | CLABE | 18 | numeric | 应用验证算法 | <p>I032180000118359719</p><p></p> |

## <mark style="color:purple;">银行转账Payload示例</mark>

{% tabs %}
{% tab title="请求示例" %}

```javascript
{
  "payout_method": {
    "type": "bank_transfer",
    "payment_method": "bank_transfer",
    "beneficiary": {
      "name": "John Doe",
      "payout_method_details": {
        "first_name": "John",
        "last_name": "Doe",
        "account_number": "032180000118359719", 
        "bank_code": "138" 
      }
    }
  },
  "amount": {
    "value": "2000.00",
    "currency_code": "MXN"
  },
  "country_code": "MX",
  "purpose": "salaries",
  "reference": "Invoice #12345",
  "request_id": "unique_request_id",
  "due_date": "2022-06-27"
}
```

{% endtab %}

{% tab title="响应示例" %}

```javascript
{
  "purpose": "SALARIES",
  "reference": "Invoice #12345",
  "id": "4b3c99a6-bd0e-425b-bd48-a63c755ef5a2",
  "payout_method": {
    "type": "bank_transfer",
    "payment_method": "mx_bank_transfer",
    "beneficiary_details": {
      "name": "John Doe"
    }
  },
  "amount": {
    "value": 2000,
    "currency_code": "MXN"
  },
  "country_code": "MX",
  "request_id": "unique_request_id",
  "created_at": 1715064262
}
```

{% endtab %}
{% endtabs %}

## <mark style="color:purple;">墨西哥银行代码</mark>

| 类型        | 银行名称                                | 银行代码 |
| --------- | ----------------------------------- | ---- |
| 银行转账（借记卡） | ABC Capital                         | 138  |
|           | Accival                             | 614  |
|           | Actinver                            | 133  |
|           | Afirme                              | 62   |
|           | Akala                               | 638  |
|           | Alternativos                        | 661  |
|           | American Express                    | 103  |
|           | Arcus                               | 706  |
|           | Asea                                | 652  |
|           | Autofin                             | 128  |
|           | Azteca                              | 127  |
|           | B\&B                                | 610  |
|           | Bajio                               | 30   |
|           | Bamsa                               | 106  |
|           | Banamex                             | 2    |
|           | Banco Famsa                         | 131  |
|           | Bancomext                           | 6    |
|           | Bancoppel                           | 137  |
|           | Banjercito                          | 19   |
|           | Banobras                            | 9    |
|           | Banorte                             | 72   |
|           | Banregio                            | 58   |
|           | Bansefi                             | 166  |
|           | Bansi                               | 60   |
|           | Barclays                            | 129  |
|           | Bbase                               | 145  |
|           | BBVA Bancomer                       | 12   |
|           | BMonex                              | 112  |
|           | BMultiva                            | 132  |
|           | Bulltick CB                         | 632  |
|           | CB Actinver                         | 621  |
|           | CB Intercam                         | 630  |
|           | CB JPMorgan                         | 640  |
|           | CI Bolsa                            | 631  |
|           | Cibanco                             | 143  |
|           | CLS                                 | 901  |
|           | Compartamos                         | 130  |
|           | Consubanco                          | 140  |
|           | Credit Suisse                       | 126  |
|           | Deutsche Bank                       | 124  |
|           | Estructuradores                     | 606  |
|           | Evercore                            | 648  |
|           | Finamex                             | 616  |
|           | Fincomun                            | 634  |
|           | GBM                                 | 601  |
|           | HDI Seguros                         | 636  |
|           | Hipotecaria Federal                 | 168  |
|           | HSBC                                | 21   |
|           | Inbursa                             | 36   |
|           | Indeval                             | 902  |
|           | ING                                 | 116  |
|           | Interacciones                       | 37   |
|           | Interbanco                          | 136  |
|           | Invex                               | 59   |
|           | IXE                                 | 32   |
|           | JP Morgan                           | 110  |
|           | Kuspit                              | 653  |
|           | Libertad                            | 670  |
|           | Mapfre                              | 619  |
|           | Masari                              | 602  |
|           | Merrill Lynch                       | 615  |
|           | Mifel                               | 42   |
|           | Monexcb                             | 600  |
|           | Nafin                               | 135  |
|           | Oactin                              | 622  |
|           | Opciones Empresariales del Noroeste | 659  |
|           | Order                               | 637  |
|           | Profuturo                           | 620  |
|           | Reforma                             | 642  |
|           | Santander                           | 14   |
|           | Scotiabank                          | 44   |
|           | Segmty                              | 651  |
|           | Skandia Vida                        | 623  |
|           | Skandia Operadora                   | 649  |
|           | Sofiexpress                         | 655  |
|           | Sterling                            | 633  |
|           | STP                                 | 646  |
|           | Su Casita                           | 629  |
|           | Telecomm                            | 647  |
|           | The Royal Bank                      | 102  |
|           | Tiber                               | 607  |
|           | Tokyo                               | 108  |
|           | UBS Bank                            | 139  |
|           | Unagra                              | 656  |
|           | Unica                               | 618  |
|           | Valmex                              | 617  |
|           | Value                               | 605  |
|           | Ve Por Mas                          | 113  |
|           | Vector                              | 608  |
|           | Volkswagen                          | 141  |
|           | Walmart                             | 134  |
|           | Zurich                              | 627  |
|           | Zurichvi                            | 628  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coda.co/https-coda-payments.gitbook.io-zhong-wen-coda-private-technical-documentation/payout/api-shuo-ming/fa-qi-payout-qing-qiu/ge-guo-jia-api-can-shu/mo-xi-ge.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
