Skip to main content

Get bank list

API VA Flow

Path

  • URL: /cb-core/api/v1/disbursement/get-bank-list
  • Method: POST
  • Description: This API allows you to get a list of Vietnam-based banks.

Request

Request table

ParamsData TypeRequiredDescription
request_idstring(50)YesThe only code that corresponds to an upload request.
Format: MerchantCode + BK + YYYYMMDD + UniqueId
request_timestring(19)YesTime to send request from merchant, format: YYYY-MM-DD HH:MM:SS
merchant_codestring(20)YesMerchant code provided by Baokim before integration

Request Example

{
"request_id": "MerchantCodeBK20231106UniqueId",
"request_time": "2024-11-06 10:15:30",
"merchant_code": "MerchantCode1234"
}

Response

Response table

ParamsData TypeDescription
response_codeint(4)Error code from Baokim as per Error Codes Table
response_messagestring(200)Description of the error code from Baokim as per Error Codes Table
dataarrayList of banks, where each bank contains detailed information as specified below

Data Array Structure (Inside data)

ParamsData TypeDescription
bank_nostring(20)Unique identifier code for the bank
bank_namestring(100)Full name of the bank in Vietnamese
eng_bank_namestring(100)Full name of the bank in English
bank_short_namestring(50)Short or abbreviated name of the bank
supports_card_transferint(1)Indicates if the bank supports transfer via card (true = 1, false = 0)
supports_account_transferint(1)Indicates if the bank supports transfer via account (true = 1, false = 0)

Response Example

{
"response_code": 200,
"response_message": "Success",
"data": [
{
"bank_no": "970423",
"bank_name": "Ngân hàng TMCP Tiên Phong",
"eng_bank_name": "TIEN PHONG COMMERCIAL JOINT STOCK BANK",
"bank_short_name": "TPBANK",
"supports_card_transfer": 1,
"supports_account_transfer": 1
},
{
"bank_no": "970437",
"bank_name": "Ngân hàng TMCP Phát Triển Thành Phố Hồ Chí Minh",
"eng_bank_name": "Ho Chi Minh City Development Joint Stock Commercial Bank",
"bank_short_name": "HDBANK",
"supports_card_transfer": 0,
"supports_account_transfer": 1
},
{
"bank_no": "970422",
"bank_name": "Ngân hàng TMCP Quân Đội",
"eng_bank_name": "Military Commercial Joint Stock Bank",
"bank_short_name": "MBBANK",
"supports_card_transfer": 1,
"supports_account_transfer": 0
}
]
}

Error Code

Response CodeResponse Message
200Success
99Pending
11Failed
101System Error
110Merchant Code Invalid
120Invalid Signature
422Validation Error