# Vietnam

## Required fields

| Field                  | Format                                                                                                               | Description                                                                                                       |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `login`                | String                                                                                                               | Cashouts login                                                                                                    |
| `pass`                 | String                                                                                                               | Cashouts pass                                                                                                     |
| `external_id`          | String (max length: 100)                                                                                             | Transaction's ID on your end                                                                                      |
| `document_id`          | See [document validations](https://docs.pandablue.com/specifications/countries-specifications#documents-validations) | Beneficiary's document ID                                                                                         |
| `country`              | `VN`                                                                                                                 | See [country codes](https://docs.pandablue.com/specifications/countries-specifications#countries-and-currencies)  |
| `currency`             | `VND` / `USD`                                                                                                        | See [currency codes](https://docs.pandablue.com/specifications/countries-specifications#countries-and-currencies) |
| `amount`               | Number with up to 2 decimals                                                                                         | Cashout amount                                                                                                    |
| `bank_account`         | See [validations below](#bank-account-validations)                                                                   | Beneficiary's bank account                                                                                        |
| `bank_code`            | See [bank codes](#bank-codes)                                                                                        | Code specifying the beneficiary's bank                                                                            |
| `beneficiary_name`     | String (max length: 100)                                                                                             | Beneficiary's name                                                                                                |
| `beneficiary_lastname` | String (max length: 100)                                                                                             | Beneficiary's last name                                                                                           |

## Bank Account Validations

| Bank name | Bank code | Format  | Example               |
| --------- | :-------: | ------- | --------------------- |
| All       |     -     | Numeric | 123456789, 9283749293 |

## Document Validations

[Click here](https://docs.pandablue.com/specifications/countries-specifications#documents-validations) to check document types and validations.

## Example Request

```java
{
    "login": "xxxxxxx",
    "pass": "xxxxxxx",
    "external_id": "30000000001",
    "document_id": "873839473",
    "beneficiary_name": "pruebaq",
    "beneficiary_lastname": "prueba",
    "country": "VN",
    "amount": 100,
    "currency": "VND",
    "bank_code": "400",
    "bank_account": "16800026081",
    "notification_url": "https://webhook.site/url",
    "type": "json"
}
```

## Bank Codes

| Bank                                           | Code |
| ---------------------------------------------- | ---- |
| SAIGON Bank                                    | 400  |
| Bank for Investment and Development of Vietnam | 401  |
| Sacom Bank                                     | 403  |
| Agribank                                       | 405  |
| DongA Joint Stock Commercial Bank              | 406  |
| Techcom Bank                                   | 407  |
| VietinBank                                     | 415  |
| Asia Commercial Bank                           | 416  |
| Eximbank Vietnam                               | 431  |
| Vietcom Bank                                   | 436  |
| Vietnam International Bank                     | 441  |

{% hint style="info" %}
For the full and most up-to-date list of banks and its codes, please check the [Cashout Bank Code endpoint.](https://docs.pandablue.com/api-documentation/cashouts-api/endpoints/cashout-bank-codes)
{% endhint %}
