Skip to main content

Get financial account details

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

Account balance details

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✓Bank BIN. Currently only 970418 (BIDV) is supported.
rolestring~User role: Maker or Checker (uses the BIDV authorization session of that role).
Required for BIDV.
accountNumberstring✓BIDV payment account number to query (owned by the authorizing business).

Code samples​

curl --location --request GET 'https://open-api.tingee.vn/v1/direct-link/financial-utility/account-balance-detail?bankBin=970418&role=Maker&accountNumber=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": {
"accountNumber": "1234567890",
"accountName": "NGUYEN VAN A",
"status": "ACTIVE",
"cif": "12345678",
"branchCode": "001",
"currency": "VND",
"holdBalance": 0,
"minBalance": 50000,
"overdraftBalance": 0,
"availableBalance": 10000000,
"acctRelation": "OWNER",
"currentBalance": 10050000,
"maturityDate": "",
"parentBoo": "HO",
"boo": "001",
"productCode": "CA01",
"purposeCode": "001",
"default": true
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
data.accountNumberstringAccount number.
data.accountNamestringAccount holder name.
data.statusstringAccount status:
- ACTIVE: Active
- INACTIVE: Inactive
data.cifstringCustomer CIF number.
data.branchCodestringBranch code.
data.currencystringCurrency code.
data.holdBalancenumberHeld balance.
data.minBalancenumberMinimum balance.
data.overdraftBalancenumberOverdraft balance.
data.availableBalancenumberAvailable balance.
data.acctRelationstringAccount relationship.
data.currentBalancenumberCurrent balance.
data.maturityDatestringMaturity date.
data.parentBoostringParent managing unit.
data.boostringManaging unit.
data.productCodestringProduct code.
data.purposeCodestringPurpose code.
data.defaultbooleanDefault account.

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 so the user signs in to BIDV and re-authorizes, then call the API again.
1021The bank is not supported for this APICheck bankBin; this API only supports BIDV (970418).
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.