Skip to main content
Version: Lastest

Get transaction list

API get transaction list

Endpoint: /api/v2/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 (required if have start 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)

HTTP Response:

ParamsData typeDescription
pagination.totalIntegerTotal record
pagination.pageIntegerCurrent page
pagination.limitIntegerLimit page
pagination.transactionsarrayList transactions

Example Response

{
"pagination": {
"total": 1,
"page": 1,
"limit": 15
},
"transactions": [
{
"errorCode": 0,
"status": "success",
"amount": 1000000,
"currency": "VND",
"orderId": "9MOmaZigD",
"bankCode": "MASTERCARD",
"paymentMethod": "CC",
"paymentType": "WEB",
"appotapayTransId": "AP241447565422",
"transactionTs": 1715848036,
"extraData": "CPM"
}
]
}