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": "94194a2f3ed349785a36",
"amount": 20000,
"paidAmount": 30000,
"billExpiryTime": 1710644659,
"transactions": [
{
"transactionId": "01HRXEPS7163JT039YHS6CGMS9",
"billCode": "94194a2f3ed349785a36",
"accountNo": "987654000007947",
"amount": 10000,
"status": "success",
"type": "VA",
"memo": "chuyen khoan",
"transactionTime": "13-03-2024 11:10:00"
},
{
"transactionId": "01HRXERA2GT8JV6ND6GG8N5RW9",
"billCode": "94194a2f3ed349785a36",
"accountNo": "987654000007947",
"amount": 20000,
"status": "success",
"type": "VA",
"memo": "chuyen khoan",
"transactionTime": "13-03-2024 11:10:00"
}
]
}