API Get list transactions
Endpoint: /api/v1/service/ebill/transactions
Method: GET
Header: How to generate JWT_TOKEN
{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json"
}
Params
Params | Required | Type | Description |
---|---|---|---|
startTime | √ | Integer | Start time transaction |
endTime | √ | Integer | End time transaction |
billCode | String | Bill code | |
limit | Integer | Total transaction in per page (default: 20) | |
page | Integer | Page current (default: 1) |
Data result
Params | Type | Description |
---|---|---|
errorCode | Integer | Error code result |
message | String | Description error code detail |
total | Integer | Total transaction |
page | Integer | Page current |
transactions | Array of Object | Transactions |
transactions.transactionId | String | Transaction id |
transactions.billCode | String | Bill code |
transaction.accountNo | String | Account number |
transactions.amount | Integer | Transaction amount |
transactions.status | String | Transaction status |
transactions.type | String | Transaction type |
transactions.memo | String | Transfer content |
transactions.transactionTime | String | Transaction time |
Example
Response
{
"errorCode": 0,
"message": "Thành công",
"total": 1,
"page": 1,
"transactions": [
{
"transactionId": "abc12345",
"billCode": "004000110020210401174059469229",
"accountNo": "902000225483",
"amount": 100000,
"status": "success",
"type": "VA",
"memo": "chuyen khoan",
"transactionTime": "20-03-2021 10:01:00"
}
]
}