{
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "0.5"
},
"condition": "amount>0&&amount<=100"
},
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "1"
},
"condition": "amount>100&&amount<=2000"
}
],
"name": "Customer transfer to Customer",
"glTarget": "I100000101",
"currency": "USD"
}curl --location --request POST '/admin/fee/createFee' \
--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 '{
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "0.5"
},
"condition": "amount>0&&amount<=100"
},
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "1"
},
"condition": "amount>100&&amount<=2000"
}
],
"name": "Customer transfer to Customer",
"glTarget": "I100000101",
"currency": "USD"
}'