{
"code": "6WO9376225",
"name": "Subscriber Transfer To Wallet Fee",
"currency": "USD",
"glTarget": "I100000101",
"tiers": [
{
"type": "standard",
"credit": {
"max": "",
"percentage": "",
"fixed": "",
"value": "amount * percentage + fixed"
},
"debit": {
"max": "",
"percentage": "0.02",
"fixed": "10",
"value": "amount * percentage + fixed"
},
"condition": "amount > 0"
}
],
"desc": "Fee applied when user do transaction",
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "nhung",
"roles": [
"root"
]
},
"updatedBy": {
"id": "64e85a77d767e5f72fb32264",
"name": "BANMAI",
"roles": [
"root"
]
},
"createdAt": "2021-04-08T03:59:36.225Z",
"updatedAt": "2024-05-09T11:10:49.919Z",
"status": 1,
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "2021-04-08T03:59:41.959Z",
"id": "606e7fa8a7ee73db046f1ecc"
}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": "6WO9376225",
"name": "Subscriber Transfer To Wallet Fee",
"currency": "USD",
"glTarget": "I100000101",
"tiers": [
{
"type": "standard",
"credit": {
"max": "",
"percentage": "",
"fixed": "",
"value": "amount * percentage + fixed"
},
"debit": {
"max": "",
"percentage": "0.02",
"fixed": "10",
"value": "amount * percentage + fixed"
},
"condition": "amount > 0"
}
],
"desc": "Fee applied when user do transaction",
"createdBy": {
"id": "606bc1d35be128bfe08307b9",
"name": "nhung",
"roles": [
"root"
]
},
"updatedBy": {
"id": "64e85a77d767e5f72fb32264",
"name": "BANMAI",
"roles": [
"root"
]
},
"createdAt": "2021-04-08T03:59:36.225Z",
"updatedAt": "2024-05-09T11:10:49.919Z",
"status": 1,
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "2021-04-08T03:59:41.959Z",
"id": "606e7fa8a7ee73db046f1ecc"
}'