> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pandablue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Thailand

> Check the requirements and validations made over the cashouts on Thailand.

Check the requirements and validations made over the cashouts on Thailand.

### 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 | Beneficiary's document ID |
| `country` | `TH` | |
| `currency` | `THB` / `USD` | |
| `amount` | Number (up to 2 decimals) | Cashout amount |
| `bank_account` | See Bank account validations | Beneficiary's bank account |
| `bank_code` | See 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 | 1680026081 |

### Document validations

See Countries Specifications for the document\_id format required for Thailand.

### Example request

```json theme={null}
{
"login": "xxxxxxx",
"pass": "xxxxxxx",
"external_id": "30000000001",
"document_id": "873839473",
"beneficiary_name": "test",
"beneficiary_lastname": "lastname",
"country": "TH",
"amount": 100,
"currency": "THB",
"bank_code": "21",
"bank_account": "1680026081",
"notification_url": "https://webhook.site/url",
"type": "json"
}
```

### Bank codes

> [!NOTE]
>
> For the full and most up-to-date list of banks and their codes for Thailand, check the [Cashout Bank Codes](https://docs.pandablue.com/api-reference/cashouts-api/banks/get-bank-codes.md) endpoint.

| Bank | Bank Code |
| - | - |
| KasiKorn Bank | 278 |
| Siam Commercial Bank | 734 |
| Bank of Ayudhya | 21 |
| Bangkok Bank | 427 |
| KTB Net Bank | 215 |
| Krung Thai Bank | 824 |
| Government Savings Bank | 485 |
| TMB Bank Public Company Limited | 823 |
| Kiatnakin Bank | 168 |
| CIMB Thai | 93 |

> [!NOTE]
>
> For the full and most up-to-date list of banks and their codes for Thailand, check the [Cashout Bank Codes](https://docs.pandablue.com/api-reference/cashouts-api/banks/get-bank-codes.md) endpoint.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.