Skip to main content
Version: 1.1

Get transaction list

API get transaction list

Endpoint: /api/v1.1/orders/transactions

Method: GET

Header: How to generate JWT_TOKEN

"Content-Type": "application/json"

HTTP Request:

startTimeStart time (required if have end time)
endTimeEnd time
statusStatus of transaction want filter
paymentMethodPayment method of transaction want filter
limitMin is 1, max is 50 (default is 15)
pageMin is 1 (default is 1)
signatureSignature check data

signature = HMAC_SHA256(data, secretKey)

data: endTime={endTime}&limit={limit}&page={page}&paymentMethod={paymentMethod}&startTime={startTime}&status={status}

HTTP Response:

ParamsData typeDescription
totalIntegerTotal record
pageIntegerCurrent page
transactionsarrayList transactions

Example Response

"message":"Thành công",
"total": 50,
"page": 1,
"transactions": [
"errorCode": 0,
"status": "success",
"extraData":"test test"