{
"createdAt": "2025-12-02T13:08:02.201Z",
"updatedAt": "2025-12-02T13:08:02.201Z",
"id": "692ee4b2352097435885933a",
"code": "ABC",
"name": "haha",
"type": "assets",
"desc": "",
"balance": 0,
"openBalance": 0,
"currency": "VND",
"currencyGLCode": "",
"parent": "A TMDS Expense",
"level": null,
"createdBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
]
},
"updatedBy": null
}curl --location --request POST '/admin/account/updateCOAAccount' \
--header 'Authorization: Bearer f41e8fd7-3221-4b36-8dc3-623890b2c078' \
--header 'Accept: application/json' \
--header 'User-Agent: Mozilla/5.0' \
--header 'Referer: https://wallet-admin-vpay-dev2.vinsmartfuture.tech/' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"createdAt": "2025-12-02T13:08:02.201Z",
"updatedAt": "2025-12-02T13:08:02.201Z",
"id": "692ee4b2352097435885933a",
"code": "ABC",
"name": "haha",
"type": "assets",
"desc": "",
"balance": 0,
"openBalance": 0,
"currency": "VND",
"currencyGLCode": "",
"parent": "A TMDS Expense",
"level": null,
"createdBy": {
"id": "69081b98f167f37b47450a84",
"name": "Ducls",
"roles": [
"root"
]
},
"updatedBy": null
}'