{
"createdAt": "2024-07-11T02:41:16.962Z",
"updatedAt": "2024-07-11T02:41:16.971Z",
"id": "668f464c39091f75647d9a11",
"code": "94000011",
"fee": {},
"name": "MAIMAI1",
"regName": "MAIMAI1",
"ownerName": "MAIMAI1",
"ownerInfo": {
"fatherName": "A",
"motherName": "A",
"country": "64e5d7fad767e5f72fb30d3a",
"province": "6647019b8eb872598e47e85a",
"district": "65adf4904e9ebc464c565557",
"township": "65adf4a94e9ebc464c56599b",
"address": "hn"
},
"type": "merchant",
"phone": "70001100",
"phone2": "",
"contactNumber": "",
"email": "bichuong1412@gmail.com",
"maritalStatus": "single",
"gender": "Male",
"birth": "2001-04-08T00:00:00.000Z",
"roles": "admin",
"avatar": "Upload/submerchant/a91b8b72-6667-4038-a732-0759b38b85c2.png",
"township": {},
"district": {},
"province": {},
"country": {},
"acquirer": {},
"contract": "",
"contractNo": "",
"mcc": {},
"openHoursType": "customHour",
"openHours": [],
"shopImages": [],
"address": "",
"owner": {
"id": "667d1f24d60bc85f3a9215db",
"code": "80000020",
"name": "MAITEST",
"regName": "MAITEST",
"ownerName": "MAITEST",
"phone": "70001111",
"client": "merchant"
},
"offer": "",
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "",
"state": "released",
"createdBy": {
"id": "6678e728d36e087f98bef59d",
"name": "MAIBT",
"phone": "0955443398",
"client": "officer",
"roles": [
"root"
]
},
"updatedBy": {},
"lang": "en",
"lastOnlineAt": "",
"firebaseToken": "",
"deviceId": "",
"note": "",
"devGrp": 0,
"qrcode": "",
"qrcodeImage": "",
"lat": 0,
"long": 0,
"kycType": "newNric",
"oldNric": "",
"passportInfo": {
"expireDate": "2024-07-11T02:48:47.505Z"
},
"nric": {
"code": 1,
"name": "AGaYa",
"type": "N",
"number": "111222"
},
"nricImages": "",
"favourites": [],
"refBank": "",
"accountName": "",
"accountNumber": "",
"openClosed": "7h-9h00",
"images": [],
"regAt": "",
"isSubMerchant": true,
"approvedAt": "",
"approvedBy": {},
"callbackUrl": "",
"encryptionKey": "",
"commission": "",
"limitShop": false,
"listShop": [],
"globalStatus": "live",
"introducerDetail": {},
"documents": {},
"nationality": "vn",
"createdDate": "2024-Jul-11 09:41",
"link": "https://minio-local.jitsinnovationlabs.com/bnctl-agentbanking-dev-bucket/",
"statistic": {
"transRecordsOnService": {},
"transRecordsOnTime": {
"thisYear": {},
"thisMonth": {},
"thisWeek": {},
"today": {}
}
},
"rolesDetail": {
"id": "5ef31e0ed6b5de1c9f864dcb",
"code": "admin",
"name": "Admin"
},
"listShopDetail": [
{
"id": "667d1f24d60bc89d979215df",
"name": "MAITEST",
"shortName": "MAITEST",
"qrcode": "00020151480024667d1f24d60bc85f3a9215db01168000002094000011010211504200246603cdfcde0da0676921e3b20110SUY82437115206MC00275802TH5907MAITEST6006ลพบุรี624405122060129202645324667d1f24d60bc89d979215df641500020107MAITEST63044abb"
}
],
"nricBack": "Upload/submerchant/a69df816-261b-4e37-86ae-61d99425fd46.png",
"nricFront": "Upload/submerchant/fb5f5c66-3a68-430b-a0cb-f43710ab6745.png",
"parents": {
"id": "667d1f24d60bc85f3a9215db",
"code": "80000020",
"name": "MAITEST",
"regName": "MAITEST",
"ownerName": "MAITEST",
"phone": "70001111",
"client": "merchant"
},
"ownerPhone": "70001111",
"allShop": true
}curl --location --request POST '/admin/merchant/updateSubMerchant' \
--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 '{
"createdAt": "2024-07-11T02:41:16.962Z",
"updatedAt": "2024-07-11T02:41:16.971Z",
"id": "668f464c39091f75647d9a11",
"code": "94000011",
"fee": {},
"name": "MAIMAI1",
"regName": "MAIMAI1",
"ownerName": "MAIMAI1",
"ownerInfo": {
"fatherName": "A",
"motherName": "A",
"country": "64e5d7fad767e5f72fb30d3a",
"province": "6647019b8eb872598e47e85a",
"district": "65adf4904e9ebc464c565557",
"township": "65adf4a94e9ebc464c56599b",
"address": "hn"
},
"type": "merchant",
"phone": "70001100",
"phone2": "",
"contactNumber": "",
"email": "bichuong1412@gmail.com",
"maritalStatus": "single",
"gender": "Male",
"birth": "2001-04-08T00:00:00.000Z",
"roles": "admin",
"avatar": "Upload/submerchant/a91b8b72-6667-4038-a732-0759b38b85c2.png",
"township": {},
"district": {},
"province": {},
"country": {},
"acquirer": {},
"contract": "",
"contractNo": "",
"mcc": {},
"openHoursType": "customHour",
"openHours": [],
"shopImages": [],
"address": "",
"owner": {
"id": "667d1f24d60bc85f3a9215db",
"code": "80000020",
"name": "MAITEST",
"regName": "MAITEST",
"ownerName": "MAITEST",
"phone": "70001111",
"client": "merchant"
},
"offer": "",
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "",
"state": "released",
"createdBy": {
"id": "6678e728d36e087f98bef59d",
"name": "MAIBT",
"phone": "0955443398",
"client": "officer",
"roles": [
"root"
]
},
"updatedBy": {},
"lang": "en",
"lastOnlineAt": "",
"firebaseToken": "",
"deviceId": "",
"note": "",
"devGrp": 0,
"qrcode": "",
"qrcodeImage": "",
"lat": 0,
"long": 0,
"kycType": "newNric",
"oldNric": "",
"passportInfo": {
"expireDate": "2024-07-11T02:48:47.505Z"
},
"nric": {
"code": 1,
"name": "AGaYa",
"type": "N",
"number": "111222"
},
"nricImages": "",
"favourites": [],
"refBank": "",
"accountName": "",
"accountNumber": "",
"openClosed": "7h-9h00",
"images": [],
"regAt": "",
"isSubMerchant": true,
"approvedAt": "",
"approvedBy": {},
"callbackUrl": "",
"encryptionKey": "",
"commission": "",
"limitShop": false,
"listShop": [],
"globalStatus": "live",
"introducerDetail": {},
"documents": {},
"nationality": "vn",
"createdDate": "2024-Jul-11 09:41",
"link": "https://minio-local.jitsinnovationlabs.com/bnctl-agentbanking-dev-bucket/",
"statistic": {
"transRecordsOnService": {},
"transRecordsOnTime": {
"thisYear": {},
"thisMonth": {},
"thisWeek": {},
"today": {}
}
},
"rolesDetail": {
"id": "5ef31e0ed6b5de1c9f864dcb",
"code": "admin",
"name": "Admin"
},
"listShopDetail": [
{
"id": "667d1f24d60bc89d979215df",
"name": "MAITEST",
"shortName": "MAITEST",
"qrcode": "00020151480024667d1f24d60bc85f3a9215db01168000002094000011010211504200246603cdfcde0da0676921e3b20110SUY82437115206MC00275802TH5907MAITEST6006ลพบุรี624405122060129202645324667d1f24d60bc89d979215df641500020107MAITEST63044abb"
}
],
"nricBack": "Upload/submerchant/a69df816-261b-4e37-86ae-61d99425fd46.png",
"nricFront": "Upload/submerchant/fb5f5c66-3a68-430b-a0cb-f43710ab6745.png",
"parents": {
"id": "667d1f24d60bc85f3a9215db",
"code": "80000020",
"name": "MAITEST",
"regName": "MAITEST",
"ownerName": "MAITEST",
"phone": "70001111",
"client": "merchant"
},
"ownerPhone": "70001111",
"allShop": true
}'