# Get bank codes (All) API

### Gets a list of standard codes and names for all banks (based on  KFTC codes).

## Gets a list of standard codes and names for all banks (based on KFTC codes).

<mark style="color:blue;">`GET`</mark> `https://api.iamport.kr/banks`

{% tabs %}
{% tab title="200: OK Success" %}
{% tabs %}
{% tab title="StandardCodeListResponse" %}
**`code`** <mark style="color:red;">**\***</mark>**&#x20;**<mark style="color:purple;">**integer**</mark>

**Response code**

0: success, Not 0: check the message



**`message`** <mark style="color:red;">**\***</mark>**&#x20;**<mark style="color:green;">**string**</mark>

**Response message**

A non-zero code includes a message like 'Invalid payment info'.



**`response`**<mark style="color:red;">**`(Array[StandardCodeAnnotation], optional)`**</mark>&#x20;
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="StandardCodeAnnotation" %}
**`code`**<mark style="color:red;">**`*`**</mark><mark style="color:green;">**`string`**</mark>

**`Institution code (from KFTC)`**

&#x20;

**`name`` `**<mark style="color:red;">**`*`**</mark><mark style="color:green;">**`string`**</mark>

**`Institution name (from KFTC)`**
{% endtab %}
{% endtabs %}
{% endtab %}

{% tab title="401: Unauthorized Missing or invalid access token" %}
```javascript
{
    // Response
}
```
{% endtab %}

{% tab title="404: Not Found Result not found" %}
```javascript
{
    // Response
}
```
{% endtab %}
{% endtabs %}

<details>

<summary>Response Model Schema</summary>

```
{
  "code": 0,
  "message": "string",
  "response": [
    {
      "code": "string",
      "name": "string"
    }
  ]
}
```

</details>

{% hint style="success" %}
**Swagger Test Link**

[**https://api.iamport.kr/#!/codes/allBankCodes**](https://api.iamport.kr/#!/codes/allBankCodes)
{% endhint %}
