Skip to main content

Beneficiary inquiry (BIDV, BaoKim)

GET
URLhttps://open-api.tingee.vn/v1/direct-link/financial-utility/account-inquiry

Look up the beneficiary account information

Header Request​

HeaderRequiredDescription
Content-Type✓application/json
x-client-id✓Partner identifier issued by TINGEE.
x-signature✓HMAC SHA512 authentication signature.
x-request-timestamp✓Time the request is sent (format: yyyyMMddHHmmssSSS, UTC+7)

Query Parameters​

FieldTypeRequiredDescription
bankBinstring✓BIN of the bank that performs the inquiry. Pass 970418 (BIDV), 970415 (VietinBank) or BAOKIM (BaoKim).
creditAccountNumberstring✓Beneficiary account number / card number / wallet number to look up.
creditBankBinstring~Beneficiary bank BIN. See Supported banks.
Required, except for BAOKIM with accountType = WALLET.
creditBankBranchCodestring✕Beneficiary bank branch code.
Only applies to VietinBank.
rolestring~User role: Maker or Checker.
Required for BIDV.
accountTypestring~Beneficiary account type (only applies to BAOKIM):
- ACCOUNT: Bank account number
- CARD: Card number
- WALLET: BaoKim wallet (creditBankBin not needed)
The values ID and PHONE are also accepted and handled as ACCOUNT.
Required for BAOKIM.
walletIdstring~Username of the business's BaoKim wallet linked to TINGEE (the wallet used for the lookup).
Required for BAOKIM.

Code samples​

curl --location --request GET 'https://open-api.tingee.vn/v1/direct-link/financial-utility/account-inquiry?bankBin=970418&role=Maker&creditBankBin=970418&creditAccountNumber=1234567890' \
--header 'accept: application/json' \
--header 'x-client-id: YOUR_CLIENT_ID' \
--header 'x-request-timestamp: 20240509154004003' \
--header 'x-signature: YOUR_SIGNATURE'

Sample Response​

{
"code": "00",
"message": "Success",
"data": {
"creditAccountNumber": "1234567890",
"creditAccountName": "NGUYEN VAN A",
"creditBankBin": "970418"
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
dataobjectBeneficiary information.
For BAOKIM only: if BaoKim returns multiple results, data is an array of objects with the structure below.
data.creditAccountNumberstringBeneficiary account number / card number / wallet number.
data.creditAccountNamestringBeneficiary account holder name.
data.creditBankBinstringBeneficiary bank BIN.
data.creditPhoneNumberstringBeneficiary phone number (BAOKIM only, if available; normalized to the 0xxxxxxxxx format).

Common error codes​

CodeDescriptionHow to handle
1077The BIDV authorization session for the role has expired or has not been grantedCall Get authorization URL with the correct role to re-authorize, then run the lookup again.
1086The Merchant's BAOKIM wallet has not been configuredCheck that walletId is linked to TINGEE; if the error persists, contact TINGEE to complete the wallet configuration.
1021The bank is not supported for this APICheck bankBin; only BIDV, VietinBank, OCB and BAOKIM are supported.
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.