Skip to content

Latest commit

 

History

History
91 lines (70 loc) · 2.46 KB

File metadata and controls

91 lines (70 loc) · 2.46 KB
title description
Get bank codes (All) API

import Details from "/components/gitbook/Details.astro"; import Swagger from "/components/gitbook/swagger/Swagger.astro"; import SwaggerDescription from "/components/gitbook/swagger/SwaggerDescription.astro"; import SwaggerResponse from "/components/gitbook/swagger/SwaggerResponse.astro"; import Tab from "/components/gitbook/tabs/Tab.astro"; import Tabs from "/components/gitbook/tabs/Tabs.astro"; import Hint from "~/components/Hint.astro";

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

Responses

**`code`** **\*** **integer**
    **Response code**

    0: success, Not 0: check the message

    **`message`** <mark style="color:red;">**\***</mark> <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>
  </Tab>
</Tabs>

<Tabs>
  <Tab title="StandardCodeAnnotation">
    **`code`**<mark style="color:red;">**`*`**</mark><mark style="color:green;">**`string`**</mark>

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

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

    **`Institution name (from KFTC)`**
  </Tab>
</Tabs>
```ts { // Response } ``` ```ts { // Response } ```

Response Model Schema

{
  "code": 0,
  "message": "string",
  "response": [
    {
      "code": "string",
      "name": "string"
    }
  ]
}
**Swagger Test Link**

https://api.iamport.kr/#!/codes/allBankCodes