Skip to main content

Query the action history of a transaction

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

Lets partners query the action history of a specific transaction by ID (including actions such as submit for approval, approve, reject... and processing by the bank)

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.
transactionCodestring✓BIDV transaction type code (e.g. PM02) — taken from the transaction's transactionCode field.
transactionIdstring✓BIDV transaction ID — taken from the transactionId field in the result of Transaction inquiry (TRANSFER_DETAIL, FO_REPORT_LIST).

Code samples​

curl --location --request GET 'https://open-api.tingee.vn/v1/direct-link/financial-utility/transaction-log-inquiry?bankBin=970418&transactionCode=PM02&transactionId=TRANS_001&role=Maker' \
--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": {
"items": [
{
"id": 1,
"transactionId": "TXN001",
"transactionCode": "CT",
"logType": "INIT",
"logTypeDesc": "Khởi tạo",
"status": "SUCCESS",
"statusDesc": "Thành công",
"createdDate": "2025-01-01 10:00:00",
"createdBy": "system",
"channel": "API",
"appcode": "TINGEE",
"source": "PARTNER",
"logNote": ""
}
],
"total": 1
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
data.itemsarrayList of transaction log entries.
data.items[].idnumberLog entry ID.
data.items[].transactionIdstringBIDV transaction ID.
data.items[].transactionCodestringBIDV transaction type code.
data.items[].logTypestringLog type.
data.items[].logTypeDescstringLog type description.
data.items[].statusstringStatus.
data.items[].statusDescstringStatus description.
data.items[].createdDatestringCreation date.
data.items[].createdBystringCreated by.
data.items[].channelstringTransaction channel.
data.items[].appcodestringApplication code.
data.items[].sourcestringSource.
data.items[].logNotestringNote.
data.totalnumberTotal number of log entries.

Common error codes​

CodeDescriptionHow to handle
1077The BIDV authorization session for the role has expired or has not been grantedCall Get the authorization URL with the correct role to re-authorize, then query 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.