API Get detail ebill
Endpoint: /api/v1/service/ebill/detail/{billCode}
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 result | 
| message | String | Description error code detail | 
| billCode | String | Bill code, is the unique code for each order | 
| amount | Integer | Bill amount | 
| paidAmount | Integer | Paid amount | 
| billExpiryTime | Integer | Expiry time to payment | 
| payment | Object | Payment information user paid | 
| payment.bankAccounts | Array of Object | Bank account | 
| payment.bankAccounts.bankCode | String | Bank code | 
| payment.bankAccounts.bankName | String | Bank name | 
| payment.bankAccounts.accountNo | String | Account number | 
| payment.bankAccounts.accountName | String | Account name | 
| payment.bankAccounts.bankBranch | String | Bank branch | 
| payment.bankAccounts.status | String | Bank account status active: bank account is active inactive: bank account is temporary inactive closed: bank account is closed | 
| signature | String | Signature of parameter passed to the API, the parameter is included into signature like this: amount + billCode + billExpiryTime + errorCode + paidAmount + json_encode(payment) (more how to generate signature) | 
Example
Response
{
    "errorCode": 0,
    "message": "Thành công",
    "billCode":"605823cdc67f4",
    "amount":50000,
    "paidAmount":0,
    "billExpiryTime":1616818154,
    "payment": {
        "bankAccounts": [{
        "bankCode": "WOORIBANK",
        "bankName": "WOORIBANK",
        "accountNo": "902000225811",
        "accountName": "VAP001 PHAM MINH TUAN",
        "bankBranch": "",
        "status": "active"
        }]
    },
    "signature": "73c600b139fcd08eecf811d1c5869504d039f1ed8b320ede614ab0 9469c4a44b"
}