{
"offerFactory": {
"primPocket": {
"currency": "5cb94444218ef4463fe70523",
"max": "100000000",
"min": "2000"
},
"name": "VSF-PO test",
"desc": "Special offer",
"level": 20,
"role": "officer",
"maxNumBankAccount": 5,
"maxNumCard": 5,
"secondaryPocketConfig": [],
"services": [
{
"id": "606e69a31ef3388dbb431134",
"name": "Customer transfer to Customer",
"status": 1,
"activeClass": true,
"limitPerDay": "50000000",
"limitPerMonth": "100000000",
"limitPerWeek": "",
"limitInterval": "1",
"maxAmount": "50000000",
"minAmount": "2000",
"senderStatus": true,
"receiverStatus": true,
"method": "SIG"
},
{
"id": "65792c1004415de0de26bcc5",
"name": "Transfer to Bank Account",
"status": 1,
"activeClass": false
},
{
"id": "60af245f9226a44950642135",
"name": "QR Pay",
"status": 1,
"activeClass": false
},
{
"id": "68ca8edab55817dae1ee6cce",
"name": "Customer Create Red Pocket",
"status": 1,
"activeClass": false
}
],
"limitation": []
},
"note": "Yes",
"bioAuthMatrixes": [
{
"serviceRef": "6927d562aac6118e50ce131c",
"ruleType": "advance",
"combination": "1",
"rule": {
"1": {
"name": "AMOUNT",
"value": "10000000",
"format": "number",
"operator": ">="
}
},
"services": [
"6911d0e7831bfc03608b3992"
],
"status": "active"
}
]
}curl --location --request POST '/admin/offer/createOffer' \
--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 '{
"offerFactory": {
"primPocket": {
"currency": "5cb94444218ef4463fe70523",
"max": "100000000",
"min": "2000"
},
"name": "VSF-PO test",
"desc": "Special offer",
"level": 20,
"role": "officer",
"maxNumBankAccount": 5,
"maxNumCard": 5,
"secondaryPocketConfig": [],
"services": [
{
"id": "606e69a31ef3388dbb431134",
"name": "Customer transfer to Customer",
"status": 1,
"activeClass": true,
"limitPerDay": "50000000",
"limitPerMonth": "100000000",
"limitPerWeek": "",
"limitInterval": "1",
"maxAmount": "50000000",
"minAmount": "2000",
"senderStatus": true,
"receiverStatus": true,
"method": "SIG"
},
{
"id": "65792c1004415de0de26bcc5",
"name": "Transfer to Bank Account",
"status": 1,
"activeClass": false
},
{
"id": "60af245f9226a44950642135",
"name": "QR Pay",
"status": 1,
"activeClass": false
},
{
"id": "68ca8edab55817dae1ee6cce",
"name": "Customer Create Red Pocket",
"status": 1,
"activeClass": false
}
],
"limitation": []
},
"note": "Yes",
"bioAuthMatrixes": [
{
"serviceRef": "6927d562aac6118e50ce131c",
"ruleType": "advance",
"combination": "1",
"rule": {
"1": {
"name": "AMOUNT",
"value": "10000000",
"format": "number",
"operator": ">="
}
},
"services": [
"6911d0e7831bfc03608b3992"
],
"status": "active"
}
]
}'