Lấy thông tin giao dịch ngân hàng
{
"error": 0,
"message": "success",
"data": [
{
"id": 3267,
"tid": "TF210403249039850",
"description": "refund",
"amount": 70000000,
"cusum_balance": 7303904,
"when": "2021-04-03"
},
{
"id": 3268,
"tid": "TF210403249040659",
"description": "chuyen tien tro T4",
"amount": 1767000,
"cusum_balance": 5536904,
"when": "2021-04-03"
},
]
}
{
"error": 0,
"message": "success",
"data": {
"page": 4,
"pageSize": 10,
"nextPage": 5,
"prevPage": 3,
"totalPages": 35,
"totalRecords": 341,
"records": [
{
"id": 5789,
"tid": "TF210415239581402",
"description": "chuyen tien",
"amount": -193000,
"cusum_balance": 1070904,
"when": "2021-04-15"
},
{
"id": 5790,
"tid": "TF210415299602811",
"description": "Chuyen tien nap momo",
"amount": -350000,
"cusum_balance": 720904,
"when": "2021-04-15"
},
]
}
}
{
"error": 401,
"message": "Unauthorized Access",
"data": null
}
curl --location --request GET 'https://oauth.casso.vn/v1/transactions?fromDate=2021-04-01&page=4&pageSize=20&sort=ASC' \
--header 'Authorization: Access token'
Lấy chi tiết thông tin giao dịch theo id giao dịch
{
"error": 0,
"message": "success",
"data": {
"id": 314344,
"tid": "TF210702253136879",
"description": "DH220",
"amount": -10000,
"cusumBalance": 389460,
"when": "2021-07-02",
"bankSubAccId": "8007041023848"
}
}
{
"error": 401,
"message": "Unauthorized Access",
"data": null
}
curl --location --request GET 'https://oauth.casso.vn/v1/transactions/123 \
--header 'Authorization: Access token'