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
Params | Required | Type | Description |
---|---|---|---|
billCode | √ | String | Partner BillCode |
Data result
Params | Type | Description |
---|---|---|
errorCode | Integer | Error Code |
message | String | Description error code detail |
billCode | String | Bill code, is the unique code for each order |
amount | Integer | Bill amount |
paidAmount | Integer | Real paid amount |
billExpiryTime | Integer | Expiry time to payment |
transactions | Array of Object | Transactions |
transactions.transactionId | String | Transaction id |
transactions.billCode | String | Bill code |
transaction.accountNo | String | Account number |
transactions.amount | Integer | Transaction amount |
transactions.status | String | Transaction status |
transactions.type | String | Transaction type |
transactions.memo | String | Transfer content |
transactions.transactionTime | String | Transaction 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"
}
]
}