{
"code": "8GZ7144292",
"name": "test abc abc",
"currency": "VND",
"glTarget": "L100000201",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"condition": "amount>0"
}
],
"createdBy": {
"id": "6916ef757704806b478f9a55",
"name": "bichuong",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6916ef757704806b478f9a55",
"name": "bichuong",
"roles": [
"root"
]
},
"createdAt": "2025-12-01T09:12:24.293Z",
"updatedAt": "2025-12-01T09:12:33.403Z",
"desc": "",
"status": 1,
"note": "ssss",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "2025-12-01T09:12:33.403Z",
"id": "692d5bf8457acdc437d0187d"
}curl --location --request POST '/admin/fee/updateFee' \
--header 'Authorization: Bearer ' \
--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 '{
"code": "8GZ7144292",
"name": "test abc abc",
"currency": "VND",
"glTarget": "L100000201",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"condition": "amount>0"
}
],
"createdBy": {
"id": "6916ef757704806b478f9a55",
"name": "bichuong",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6916ef757704806b478f9a55",
"name": "bichuong",
"roles": [
"root"
]
},
"createdAt": "2025-12-01T09:12:24.293Z",
"updatedAt": "2025-12-01T09:12:33.403Z",
"desc": "",
"status": 1,
"note": "ssss",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "2025-12-01T09:12:33.403Z",
"id": "692d5bf8457acdc437d0187d"
}'