Skip to main content
Version: Next

Get Cash Transactions

POST /openapi/v1/transaction/cash

Retrieve the list of recorded cash payment transactions. Used for shift closing and revenue summary reporting.

Payload before encryption:

{
"from_date": "2026-01-07 00:00:00",
"to_date": "2026-01-07 23:59:59",
"limit": 10,
"page": 1
}
FieldTypeRequiredDescription
from_datestring✅Start time (YYYY-MM-DD HH:MM:SS)
to_datestring✅End time (YYYY-MM-DD HH:MM:SS)
limitnumber✅Number of records per page
pagenumber✅Page number (starting from 1)
curl --location '<base_url>/openapi/v1/transaction/cash' \
--header 'Partner-Code: YOUR_PARTNER_CODE' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsI…' \
--data '{
"data": ENCRYPTED_PAYLOAD
}'

Request​

Headers​

NameRequiredDescription
Partner-Code✅Merchant identifier code (provided by TCONNECT)
Content-Type✅application/json
Authorization✅Bearer <access_token>

Body​

FieldTypeRequiredDescription
datastring✅AES-256-CBC encrypted payload as Hexadecimal

Response​

200 — Cash transaction list​

FieldTypeDescription
dataarrayList of transactions
data[].order_idstringOrder ID
data[].amountnumberAmount (VND)
data[].original_transaction_datestringTransaction recorded date and time
pagination.pageintegerCurrent page
pagination.limitintegerRecords per page
pagination.total_itemsintegerTotal number of records
pagination.total_pagesintegerTotal number of pages