{
"createdAt": "2024-06-11T07:42:58.542Z",
"updatedAt": "2024-06-11T07:42:58.576Z",
"id": "66680002e68880567ccdd804",
"code": "94000001",
"fee": {},
"name": "TEST",
"regName": "TEST",
"ownerName": "TEST",
"ownerInfo": {
"fatherName": "TEST",
"motherName": "TEST",
"country": "64e5d7fad767e5f72fb30d3a",
"province": "6647019b8eb872598e47e85a",
"district": "65adf4904e9ebc464c565553",
"township": "65adf4a94e9ebc464c565979",
"address": "TEST"
},
"type": "merchant",
"phone": "0912345678",
"phone2": "0912354657",
"contactNumber": "",
"email": "tesst98@gmail.com",
"maritalStatus": "single",
"gender": "Male",
"birth": "2000-06-11T00:00:00.000Z",
"roles": [],
"avatar": "Upload/merchant/1e88fcc1-a712-43b7-b9ab-80a31450e00a.png",
"township": "65adf4a94e9ebc464c5658ed",
"district": "65adf4904e9ebc464c565529",
"province": "6647019b8eb872598e47e859",
"country": "64e5d7fad767e5f72fb30d3a",
"acquirer": "6603cdfcde0da0676921e3b2",
"contract": "",
"contractNo": "",
"mcc": "6603d0c1de0da0676921e3b6",
"openHoursType": "customHour",
"openHours": [
{
"day": "Monday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Tuesday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Wednesday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Thursday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Friday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Saturday",
"status": false,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
},
{
"day": "Sunday",
"status": false,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
}
],
"shopImages": [
"Upload/merchant/ba85382b-1393-4b5c-b277-6988c56fa315.png"
],
"address": "TEST",
"owner": "",
"offer": "64e5bc79d767e5f72fb30cfe",
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "",
"state": "released",
"createdBy": {
"id": "64edb3fde65ee58241cce1d5",
"name": "SYSTEM USER 08",
"phone": "0975184518",
"client": "officer",
"roles": [
"root",
"a"
]
},
"updatedBy": {},
"lang": "en",
"lastOnlineAt": "",
"firebaseToken": "",
"deviceId": "",
"note": "",
"devGrp": 0,
"qrcode": "000201010211504200246603cdfcde0da0676921e3b20110SUY82437115135002466680002e68880567ccdd80401494945802TH5904TEST6013กรุงเทพมหานคร64140002en0104TEST630492c0",
"lat": 19,
"long": 20,
"kycType": "newNric",
"oldNric": "",
"passportInfo": {
"countryCode": "",
"passportNo": "",
"expireDate": "2024-06-12T03:21:31.602Z",
"image": ""
},
"nric": {
"code": 1,
"name": "AGaYa",
"type": "N",
"number": "255353"
},
"nricImages": {
"back": "Upload/merchant/aefd54b4-8ffd-4a39-98dd-3e421028cd26.png",
"front": "Upload/merchant/c5dabbc3-2495-40f1-95f5-c18f569eba09.png"
},
"favourites": [],
"refBank": "",
"accountName": "",
"accountNumber": "",
"openClosed": "7h-9h00",
"images": [],
"regAt": "",
"isSubMerchant": false,
"approvedAt": "",
"approvedBy": {},
"callbackUrl": "",
"encryptionKey": "",
"commission": "",
"limitShop": false,
"listShop": [],
"globalStatus": "live",
"introducerDetail": {
"type": "self"
},
"documents": {
"agreementContract": [],
"businessDocuments": [],
"bankLinkageForm": [],
"bankAccountOpenForm": []
},
"nationality": "TEST",
"createdDate": "2024-Jun-11 14:42",
"objOffer": {
"id": "64e5bc79d767e5f72fb30cfe",
"name": "Merchant",
"level": 1
},
"link": "https://minio-local.jitsinnovationlabs.com/bnctl-agentbanking-dev-bucket/",
"statistic": {
"transRecordsOnService": {},
"transRecordsOnTime": {
"thisYear": {},
"thisMonth": {},
"thisWeek": {},
"today": {}
}
},
"listShopDetail": [],
"agreeMentRange": [],
"businessDocRange": [],
"bankLinkageForm": [],
"bankAccountOpenForm": [],
"locationInputType": "byInput",
"passportImage": "",
"nricBack": "Upload/merchant/aefd54b4-8ffd-4a39-98dd-3e421028cd26.png",
"nricFront": "Upload/merchant/c5dabbc3-2495-40f1-95f5-c18f569eba09.png",
"agreementContract": [],
"businessDocuments": []
}curl --location --request POST '/admin/merchant/updateMerchant' \
--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-06-11T07:42:58.542Z",
"updatedAt": "2024-06-11T07:42:58.576Z",
"id": "66680002e68880567ccdd804",
"code": "94000001",
"fee": {},
"name": "TEST",
"regName": "TEST",
"ownerName": "TEST",
"ownerInfo": {
"fatherName": "TEST",
"motherName": "TEST",
"country": "64e5d7fad767e5f72fb30d3a",
"province": "6647019b8eb872598e47e85a",
"district": "65adf4904e9ebc464c565553",
"township": "65adf4a94e9ebc464c565979",
"address": "TEST"
},
"type": "merchant",
"phone": "0912345678",
"phone2": "0912354657",
"contactNumber": "",
"email": "tesst98@gmail.com",
"maritalStatus": "single",
"gender": "Male",
"birth": "2000-06-11T00:00:00.000Z",
"roles": [],
"avatar": "Upload/merchant/1e88fcc1-a712-43b7-b9ab-80a31450e00a.png",
"township": "65adf4a94e9ebc464c5658ed",
"district": "65adf4904e9ebc464c565529",
"province": "6647019b8eb872598e47e859",
"country": "64e5d7fad767e5f72fb30d3a",
"acquirer": "6603cdfcde0da0676921e3b2",
"contract": "",
"contractNo": "",
"mcc": "6603d0c1de0da0676921e3b6",
"openHoursType": "customHour",
"openHours": [
{
"day": "Monday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Tuesday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Wednesday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Thursday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Friday",
"status": true,
"openHours": {
"timeFrom": "09:00 AM",
"timeTo": "09:00 PM"
}
},
{
"day": "Saturday",
"status": false,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
},
{
"day": "Sunday",
"status": false,
"openHours": {
"timeFrom": "-",
"timeTo": "-"
}
}
],
"shopImages": [
"Upload/merchant/ba85382b-1393-4b5c-b277-6988c56fa315.png"
],
"address": "TEST",
"owner": "",
"offer": "64e5bc79d767e5f72fb30cfe",
"status": "active",
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": "",
"state": "released",
"createdBy": {
"id": "64edb3fde65ee58241cce1d5",
"name": "SYSTEM USER 08",
"phone": "0975184518",
"client": "officer",
"roles": [
"root",
"a"
]
},
"updatedBy": {},
"lang": "en",
"lastOnlineAt": "",
"firebaseToken": "",
"deviceId": "",
"note": "",
"devGrp": 0,
"qrcode": "000201010211504200246603cdfcde0da0676921e3b20110SUY82437115135002466680002e68880567ccdd80401494945802TH5904TEST6013กรุงเทพมหานคร64140002en0104TEST630492c0",
"lat": 19,
"long": 20,
"kycType": "newNric",
"oldNric": "",
"passportInfo": {
"countryCode": "",
"passportNo": "",
"expireDate": "2024-06-12T03:21:31.602Z",
"image": ""
},
"nric": {
"code": 1,
"name": "AGaYa",
"type": "N",
"number": "255353"
},
"nricImages": {
"back": "Upload/merchant/aefd54b4-8ffd-4a39-98dd-3e421028cd26.png",
"front": "Upload/merchant/c5dabbc3-2495-40f1-95f5-c18f569eba09.png"
},
"favourites": [],
"refBank": "",
"accountName": "",
"accountNumber": "",
"openClosed": "7h-9h00",
"images": [],
"regAt": "",
"isSubMerchant": false,
"approvedAt": "",
"approvedBy": {},
"callbackUrl": "",
"encryptionKey": "",
"commission": "",
"limitShop": false,
"listShop": [],
"globalStatus": "live",
"introducerDetail": {
"type": "self"
},
"documents": {
"agreementContract": [],
"businessDocuments": [],
"bankLinkageForm": [],
"bankAccountOpenForm": []
},
"nationality": "TEST",
"createdDate": "2024-Jun-11 14:42",
"objOffer": {
"id": "64e5bc79d767e5f72fb30cfe",
"name": "Merchant",
"level": 1
},
"link": "https://minio-local.jitsinnovationlabs.com/bnctl-agentbanking-dev-bucket/",
"statistic": {
"transRecordsOnService": {},
"transRecordsOnTime": {
"thisYear": {},
"thisMonth": {},
"thisWeek": {},
"today": {}
}
},
"listShopDetail": [],
"agreeMentRange": [],
"businessDocRange": [],
"bankLinkageForm": [],
"bankAccountOpenForm": [],
"locationInputType": "byInput",
"passportImage": "",
"nricBack": "Upload/merchant/aefd54b4-8ffd-4a39-98dd-3e421028cd26.png",
"nricFront": "Upload/merchant/c5dabbc3-2495-40f1-95f5-c18f569eba09.png",
"agreementContract": [],
"businessDocuments": []
}'