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

{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}

HTTP Request:

ParamsDescription
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

{
"errorCode":0,
"message":"Thành công",
"total": 50,
"page": 1,
"transactions": [
{
"errorCode": 0,
"status": "success",
"amount":50000,
"currency":"VND",
"orderId":"5f5b46cb73fd0",
"bankCode":"SHB",
"paymentMethod":"ATM",
"paymentType":"WEB",
"appotapayTransId":"AP200910014125B",
"transactionTs":1599817433,
"extraData":"test test"
},
...
]
}