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:
Params | Description |
---|---|
startTime | Start time (required if have end time) |
endTime | End time (required if have start time) |
status | Status of transaction want filter |
paymentMethod | Payment method of transaction want filter |
limit | Min is 1, max is 50 (default is 15) |
page | Min is 1 (default is 1) |
HTTP Response:
Params | Data type | Description |
---|---|---|
pagination.total | Integer | Total record |
pagination.page | Integer | Current page |
pagination.limit | Integer | Limit page |
pagination.transactions | array | List 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"
}
]
}