{
"type": "string",
"code": "VIRTUAL_ACCOUNT",
"name": "VIRTUAL_ACCOUNT",
"subConfigs": {
"VA_NUMBER_FORMAT": {
"type": "object",
"name": "VA_NUMBER_FORMAT",
"value": "[ { \"field\" : \"prefix\", \"length\" : 4, \"fixedValue\" : \"M339\" }, { \"field\" : \"version\", \"length\" : 2, \"fixedValue\" : \"01\" }, { \"field\" : \"customerType\", \"length\" : 1, \"fixedValue\" : \"1\" }, { \"field\" : \"walletType\", \"length\" : 1, \"fixedValue\" : \"01\" }, { \"field\" : \"userCode\", \"length\" : 10, \"mapFrom\" : \"code\" } ]"
}
}
}curl --location --request POST '/admin/config/createConfig' \
--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 '{
"type": "string",
"code": "VIRTUAL_ACCOUNT",
"name": "VIRTUAL_ACCOUNT",
"subConfigs": {
"VA_NUMBER_FORMAT": {
"type": "object",
"name": "VA_NUMBER_FORMAT",
"value": "[ { \"field\" : \"prefix\", \"length\" : 4, \"fixedValue\" : \"M339\" }, { \"field\" : \"version\", \"length\" : 2, \"fixedValue\" : \"01\" }, { \"field\" : \"customerType\", \"length\" : 1, \"fixedValue\" : \"1\" }, { \"field\" : \"walletType\", \"length\" : 1, \"fixedValue\" : \"01\" }, { \"field\" : \"userCode\", \"length\" : 10, \"mapFrom\" : \"code\" } ]"
}
}
}'