Nhảy tới nội dung
Phiên bản: Lastest

API Lấy danh sách giao dịch của 1 hoá đơn

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

Method: GET

Header: Cách tạo JWT_TOKEN

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

Tham số

Tham sốYêu cầuKiểu dữ liệuMô tả
billCodeStringMã đơn hàng phía Partner

Dữ liệu trả về

Tham sốKiểu dữ liệuMô tả
errorCodeIntegerMã lỗi trả về
messageStringChi tiết mã lỗi
billCodeStringMã đơn hàng phía Partner
amountIntegerSố tiền thanh toán
paidAmountIntegerSố tiền thực tế đã thanh toán
billExpiryTimeIntegerThời gian hết hạn giao dịch thanh toán hóa đơn
transactionsArray of ObjectThông tin giao dịch thực hiện chuyển khoản
transactions.transactionIdStringMã giao dịch
transactions.billCodeStringMã đơn hàng
transaction.accountNoStringSố tài khoản nhận tiền
transactions.amountIntegerSố tiền giao dịch
transactions.statusStringTrạng thái giao dịch
transactions.typeStringLoại giao dịch
transactions.memoStringNội dung chuyển khoản
transactions.transactionTimeStringThời gian thực hiện giao dịch

Ví dụ

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