Skip to main content

Verify bank account

API VA Flow

Path

  • URL: /cb-core/api/v1/disbursement/verify-bank-account
  • Method: POST
  • Description: API verify bank account.

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
bank_nostring(6)YesBank no as per Baokim's list of remittance banks
acc_nostring(22)YesCustomer's account number or bank card number
acc_typeint(1)YesAccount classification: 0 for bank account number, 1 for bank card number

Request Example

{
"request_id": "MerchantCodeBK20231106UniqueId",
"request_time": "2024-11-06 10:15:30",
"merchant_code": "MERCHANT1234",
"bank_no": "001122",
"acc_no": "1234567890123456789012",
"acc_type": 0
}

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
request_idstring(50)Merchant information posted
bank_nostring(6)Merchant information posted
acc_nostring(22)Merchant information posted
acc_typeint(1)Merchant information posted
acc_namestring(50)Account Name of requested account number, returned if the Account number and account bank are valid

Response Example

{
"response_code": 200,
"response_message": "Success",
"request_id": "MerchantRequest12345",
"bank_no": "001122",
"acc_no": "1234567890123456789012",
"acc_type": 0,
"acc_name": "John Doe"
}

Error Code

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