Skip to main content

Payment account transaction history

GET
URLhttps://open-api.tingee.vn/v1/direct-link/account-statement/payment-transaction-history

Payment transaction history

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).
accountNumberstring✓Payment account number to get the transaction history for.
startDatestring✕Search start time (yyyy-MM-dd)
endDatestring✕Search end time (yyyy-MM-dd)
moreRecordIndicatorstring✕Pagination key: pass back the moreRecordIndicator value of the last record on the previous page to get the next page.
postingDatestring✕Pagination key: pass back the postingDate value of the last record on the previous page.
postingOrderstring✕Pagination key: pass back the postingOrder value of the last record on the previous page.
balanceAfterTxnstring✕Pagination key: pass back the nextRUNBAL value (balance after the transaction) of the last record on the previous page.
totalRecordsnumber✕Number of records to get per query.

Code samples​

curl --location --request GET 'https://open-api.tingee.vn/v1/direct-link/account-statement/payment-transaction-history?bankBin=970418&role=Maker&accountNumber=1234567890&startDate=2025-11-01&endDate=2025-11-10' \
--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": [
{
"coreRefNo": "REF001",
"transTime": "2025-01-01 10:00:00",
"debitAmount": 1000000,
"creditAmount": 0,
"remark": "Thanh toan hoa don",
"nextRUNBAL": "9000000",
"postingDate": "2025-01-01",
"postingOrder": "001",
"moreRecordIndicator": "N"
}
],
"total": 1
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
data.itemsarrayList of payment transactions.
data.items[].coreRefNostringTransaction reference number.
data.items[].transTimestringTransaction time.
data.items[].debitAmountnumberDebit amount.
data.items[].creditAmountnumberCredit amount.
data.items[].remarkstringTransaction description.
data.items[].nextRUNBALstringBalance after the transaction.
data.items[].postingDatestringPosting date.
data.items[].postingOrderstringPosting order.
data.items[].moreRecordIndicatorstringWhether more records follow (Y/N).
data.totalnumberTotal number of transactions.

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.