{
"code": "L5I8778446",
"name": "Fee_Topup_Under_100k",
"currency": "USD",
"glTarget": "L100000101",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"debit": {
"max": "5000",
"percentage": "0.5",
"fixed": "1000",
"value": "amount * percentage + fixed"
},
"condition": "amount > 0 && amount <= 100000"
}
],
"desc": "Applies to top-up transactions less than 100,000 VND.",
"createdBy": {
"id": "6822b275e3d9813a7e1c230f",
"name": "Dat LD",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6822b275e3d9813a7e1c230f",
"name": "Dat LD",
"roles": [
"root"
]
},
"createdAt": "2025-05-13T04:52:58.448Z",
"updatedAt": "2025-05-13T04:52:58.448Z",
"status": 0,
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"id": "6822d02ae3d9813a7e1c235b"
}curl --location --request POST '/admin/fee/updateFee' \
--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 '{
"code": "L5I8778446",
"name": "Fee_Topup_Under_100k",
"currency": "USD",
"glTarget": "L100000101",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0,
"value": "amount * percentage + fixed"
},
"debit": {
"max": "5000",
"percentage": "0.5",
"fixed": "1000",
"value": "amount * percentage + fixed"
},
"condition": "amount > 0 && amount <= 100000"
}
],
"desc": "Applies to top-up transactions less than 100,000 VND.",
"createdBy": {
"id": "6822b275e3d9813a7e1c230f",
"name": "Dat LD",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6822b275e3d9813a7e1c230f",
"name": "Dat LD",
"roles": [
"root"
]
},
"createdAt": "2025-05-13T04:52:58.448Z",
"updatedAt": "2025-05-13T04:52:58.448Z",
"status": 0,
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"id": "6822d02ae3d9813a7e1c235b"
}'