Project

General

Profile

Sub-task #236

Updated by Ryan Supawarapong 3 months ago

~~https://uat-ico-admin.eliteconsulting.io/api/v1/transaction/bank/individual/get~~ 

 the url above is for a different service. 

 ## Corporate Bank List 

 URL: /api/v1/transaction/bank/corporate/list 
 Type: Get 

 ## Individual Bank List 

 URL: /api/v1/transaction/bank/individual/list 
 Type: Get 


 ## Response Body 


 | Field           | Type       | Required | Description                                | Example            | 
 |---------------|----------|----------|------------------------------------------|------------------| 
 | response        | array      | Yes        | List of individual bank records            | `[{...}]`          | 
 | xid             | string     | Yes        | Request ID for tracing the API request     | `"x-request-id"` | 
 

 | response[].customerCode    | string | Yes | Customer code for the bank account owner | `"90000001"`       | 
 | response[].bankName        | string | Yes | Bank name                                  | `"Bangkok Bank"` | 
 | response[].bankAccountNo | string | Yes | Bank account number                        | `"1234567890"`     | 

 ### Example body 

 ``` 
 { 
   "xid": "x-request-id", 
   "response": [ 
     { 
       "customerCode": "90000001", 
       "bankName": "Bangkok Bank", 
       "bankAccountNo": "1234567890" 
     } 
   ] 
 } 
 ```

Back