Skip to main content
Version: Lastest

API Get list transactions

API Get list transactions

Chat with AI▼

Endpoint: /api/v1/service/ebill/transactions

Method: GET

Header: How to generate JWT_TOKEN

Language: en | vi

{
"X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
"Content-Type": "application/json",
"Language": LANGUAGE
}

Params​

ParamsRequiredTypeDescription
startTime√IntegerStart time transaction
endTime√IntegerEnd 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​

Request​

GET /api/v1/service/ebill/transactions?startTime=1616818154&endTime=1616904554&billCode=004000110020210401174059469229&limit=20&page=1

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"
}
]
}

Code Examples​

curl --location 'https://gateway.dev.appotapay.com/api/v1/service/ebill/transactions?startTime=1616818154&endTime=1616904554&billCode=004000110020210401174059469229&limit=20&page=1' \
--header 'X-APPOTAPAY-AUTH: JWT_TOKEN' \
--header 'Content-Type: application/json'

Request​

REQUEST

Development server