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_datestringStart time (YYYY-MM-DD HH:MM:SS)
to_datestringEnd time (YYYY-MM-DD HH:MM:SS)
limitnumberNumber of records per page
pagenumberPage 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-CodeMerchant identifier code (provided by TCONNECT)
Content-Typeapplication/json
AuthorizationBearer <access_token>

Body

FieldTypeRequiredDescription
datastringAES-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