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