{
"code": "TAX004",
"name": "VAT",
"currency": "USD",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "50"
},
"condition": "amount>0"
}
],
"createdBy": {
"id": "admin"
},
"status": 0,
"createdAt": "2025-06-16T02:39:54.924Z",
"updatedAt": "2025-06-16T02:39:54.924Z",
"desc": "",
"glTarget": "2811500009",
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"updatedBy": {},
"id": "684f83faeecda946bef150c8"
}curl --location --request POST '/admin/tax/updateTax' \
--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": "TAX004",
"name": "VAT",
"currency": "USD",
"tiers": [
{
"type": "standard",
"credit": {
"max": 0,
"percentage": 0,
"fixed": 0
},
"debit": {
"max": 0,
"percentage": 0,
"fixed": "50"
},
"condition": "amount>0"
}
],
"createdBy": {
"id": "admin"
},
"status": 0,
"createdAt": "2025-06-16T02:39:54.924Z",
"updatedAt": "2025-06-16T02:39:54.924Z",
"desc": "",
"glTarget": "2811500009",
"note": "",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"updatedBy": {},
"id": "684f83faeecda946bef150c8"
}'