Skip to main content
Version: Lastest

API Get Bill’s transactions

Endpoint: /api/v1/service/ebill/{billCode}/transactions

Method: GET

Header: How to generate JWT_TOKEN

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

Params

ParamsRequiredTypeDescription
billCodeStringPartner BillCode

Data result

ParamsTypeDescription
errorCodeIntegerError Code
messageStringDescription error code detail
billCodeStringBill code, is the unique code for each order
amountIntegerBill amount
paidAmountIntegerReal paid amount
billExpiryTimeIntegerExpiry time to payment
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",
"billCode":"605823cdc67f4",
"amount":50000,
"paidAmount":0,
"billExpiryTime":1616818154,
"transactions": [
{
"transactionId": "abc12345",
"billCode": "004000110020210401174059469229",
"accountNo": "902000225483",
"amount": 100000,
"status": "success",
"type": "VA",
"memo": "chuyen khoan",
"transactionTime": "20-03-2021 10:01:00"
}
]
}