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:
Params | Description |
---|---|
startTime | Start time (required if have end time) |
endTime | End 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) |
signature | Signature check data signature = data: |
HTTP Response:
Params | Data type | Description |
---|---|---|
total | Integer | Total record |
page | Integer | Current page |
transactions | array | List 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"
},
...
]
}