Skip to main content
Version: Lastest

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

ParamsRequiredTypeDescription
startTimeIntegerStart time transaction
endTimeIntegerEnd time transaction
billCodeStringBill code
limitIntegerTotal transaction in per page (default: 20)
pageIntegerPage current (default: 1)

Data result

ParamsTypeDescription
errorCodeIntegerError code result
messageStringDescription error code detail
totalIntegerTotal transaction
pageIntegerPage current
transactionsArray of ObjectTransactions
transactions.transactionIdStringTransaction id
transactions.billCodeStringBill code
transaction.accountNoStringAccount number
transactions.amountIntegerTransaction amount
transactions.statusStringTransaction status
transactions.typeStringTransaction type
transactions.memoStringTransfer content
transactions.transactionTimeStringTransaction 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"
}
]
}