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 JSON Key          | Description                                | Example                   | 
 |---------------|----------|----------|------------------------------------------|------------------| |---------------|--------|-----------------|--------------| 
 | response        CustomerCode    | array      | Yes        | List of individual bank records            | `[{...}]`          | 
 | xid             | string     | Yes        customerCode      | Request ID for tracing the API request "90000001"     | `"x-request-id"` | 

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

 ### Example body 

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

Back