{
"amountFormula": {
"senderAmount": "TOTALAMOUNT",
"receiverAmount": "AMOUNT"
},
"actionPriority": "before",
"createdAt": "2025-11-13T05:49:30.377Z",
"updatedAt": "2025-11-29T04:17:17.470Z",
"id": "6915716a40e8ec8259b5802f",
"code": "GETBILLERPROVIDER",
"name": "Get Biller Provider",
"fullName": "Get Biller Provider",
"desc": "",
"channels": [],
"related": [],
"version": 2,
"action": "",
"transType": "non-trans",
"isRefund": false,
"billerService": "none",
"actionParams": {},
"actions": [
{
"params": [
{
"name": "TYPE",
"source": "transaction",
"field": "TRANSBODY.TYPE",
"defaultValue": ""
}
],
"valueToSet": [],
"output": [
{
"name": "data",
"source": "metadata",
"field": "data",
"defaultValue": "",
"mapToTransaction": "outputMessage.ACTION.data"
}
],
"error": [
{
"code": "err",
"value": "0",
"mapping": "0",
"message": "Success"
},
{
"code": "err",
"value": "default",
"mapping": "500",
"message": "Something went wrong"
}
],
"selects": [],
"entryPointType": "",
"isAsync": false,
"priority": null,
"name": "Get biller provider",
"entryConditions": "errorCode==0",
"actionCode": "1762769802810",
"type": "directional_integration",
"method": "post",
"entryPoint": "BILLER_INT/bill/getProvider",
"viewConfiguration": {
"x": 722,
"y": 554,
"r": 50,
"inputConnectors": [
{
"name": ""
}
],
"outputConnectors": [
{
"name": ""
}
]
},
"nextActions": null,
"actionId": "1762769802810",
"required": true
}
],
"startAction": "1762769802810",
"confirmation": false,
"status": 1,
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"createdBy": {
"id": "6911c6e9831bfc03608b3914",
"name": "TuanLG",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6905d71f24b96c090ccfa02d",
"name": "SYSTEM ADMIN",
"roles": [
"root"
]
},
"note": "GETBILLERPROVIDER",
"devGrp": 0,
"serviceToRefund": "",
"inputFields": {},
"outputFields": {},
"paymentResult": {},
"paymentPreview": {},
"paymentShortResult": {},
"serviceTarget": "",
"fieldBuilder": [
{
"order": 1,
"name": "SERVICEID",
"rule": "mapping",
"datatype": "string",
"variable": "SERVICEID",
"source": "parameters"
},
{
"order": 2,
"name": "SENDERPHONE",
"rule": "mapping",
"datatype": "string",
"variable": "phone",
"source": "user"
},
{
"order": 3,
"name": "SENDERCLIENT",
"rule": "fixed",
"datatype": "string",
"variable": "",
"source": "customer"
},
{
"order": 4,
"name": "CURRENCY",
"rule": "fixed",
"datatype": "string",
"source": "THB"
},
{
"order": 5,
"name": "CUSTOMERID",
"rule": "mapping",
"datatype": "string",
"variable": "CUSTOMERMOBILE",
"source": "parameters"
},
{
"order": 6,
"name": "DEVICEID",
"rule": "mapping",
"datatype": "string",
"variable": "DEVICEID",
"source": "parameters"
},
{
"order": 7,
"name": "SENDERID",
"rule": "query",
"datatype": "string",
"variable": "id",
"source": "senderPocket",
"query": "queryPocketByPhone(SENDERPHONE,SENDERCLIENT,CURRENCY)"
},
{
"order": 8,
"name": "USERID",
"rule": "mapping",
"datatype": "string",
"variable": "user",
"source": "senderPocket"
},
{
"order": 9,
"name": "SENDERUSERID",
"rule": "mapping",
"datatype": "string",
"variable": "user",
"source": "senderPocket"
},
{
"order": 10,
"name": "OFFERID",
"rule": "mapping",
"datatype": "string",
"variable": "offer",
"source": "user",
"query": ""
},
{
"order": 11,
"name": "MessageType",
"rule": "fixed",
"datatype": "string",
"variable": "",
"source": "BO"
},
{
"order": 12,
"name": "TYPE",
"rule": "mapping",
"datatype": "string",
"variable": "TYPE",
"source": "parameters"
}
],
"actionResult": [],
"webResult": {},
"typeResult": "none",
"category": "personal",
"icon": null,
"historyResult": [],
"allowMoveCategory": 0
}curl --location --request POST '/admin/v2/service/updateService' \
--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 '{
"amountFormula": {
"senderAmount": "TOTALAMOUNT",
"receiverAmount": "AMOUNT"
},
"actionPriority": "before",
"createdAt": "2025-11-13T05:49:30.377Z",
"updatedAt": "2025-11-29T04:17:17.470Z",
"id": "6915716a40e8ec8259b5802f",
"code": "GETBILLERPROVIDER",
"name": "Get Biller Provider",
"fullName": "Get Biller Provider",
"desc": "",
"channels": [],
"related": [],
"version": 2,
"action": "",
"transType": "non-trans",
"isRefund": false,
"billerService": "none",
"actionParams": {},
"actions": [
{
"params": [
{
"name": "TYPE",
"source": "transaction",
"field": "TRANSBODY.TYPE",
"defaultValue": ""
}
],
"valueToSet": [],
"output": [
{
"name": "data",
"source": "metadata",
"field": "data",
"defaultValue": "",
"mapToTransaction": "outputMessage.ACTION.data"
}
],
"error": [
{
"code": "err",
"value": "0",
"mapping": "0",
"message": "Success"
},
{
"code": "err",
"value": "default",
"mapping": "500",
"message": "Something went wrong"
}
],
"selects": [],
"entryPointType": "",
"isAsync": false,
"priority": null,
"name": "Get biller provider",
"entryConditions": "errorCode==0",
"actionCode": "1762769802810",
"type": "directional_integration",
"method": "post",
"entryPoint": "BILLER_INT/bill/getProvider",
"viewConfiguration": {
"x": 722,
"y": 554,
"r": 50,
"inputConnectors": [
{
"name": ""
}
],
"outputConnectors": [
{
"name": ""
}
]
},
"nextActions": null,
"actionId": "1762769802810",
"required": true
}
],
"startAction": "1762769802810",
"confirmation": false,
"status": 1,
"lockedBy": {},
"activatedBy": {},
"statusChangedAt": null,
"createdBy": {
"id": "6911c6e9831bfc03608b3914",
"name": "TuanLG",
"roles": [
"root"
]
},
"updatedBy": {
"id": "6905d71f24b96c090ccfa02d",
"name": "SYSTEM ADMIN",
"roles": [
"root"
]
},
"note": "GETBILLERPROVIDER",
"devGrp": 0,
"serviceToRefund": "",
"inputFields": {},
"outputFields": {},
"paymentResult": {},
"paymentPreview": {},
"paymentShortResult": {},
"serviceTarget": "",
"fieldBuilder": [
{
"order": 1,
"name": "SERVICEID",
"rule": "mapping",
"datatype": "string",
"variable": "SERVICEID",
"source": "parameters"
},
{
"order": 2,
"name": "SENDERPHONE",
"rule": "mapping",
"datatype": "string",
"variable": "phone",
"source": "user"
},
{
"order": 3,
"name": "SENDERCLIENT",
"rule": "fixed",
"datatype": "string",
"variable": "",
"source": "customer"
},
{
"order": 4,
"name": "CURRENCY",
"rule": "fixed",
"datatype": "string",
"source": "THB"
},
{
"order": 5,
"name": "CUSTOMERID",
"rule": "mapping",
"datatype": "string",
"variable": "CUSTOMERMOBILE",
"source": "parameters"
},
{
"order": 6,
"name": "DEVICEID",
"rule": "mapping",
"datatype": "string",
"variable": "DEVICEID",
"source": "parameters"
},
{
"order": 7,
"name": "SENDERID",
"rule": "query",
"datatype": "string",
"variable": "id",
"source": "senderPocket",
"query": "queryPocketByPhone(SENDERPHONE,SENDERCLIENT,CURRENCY)"
},
{
"order": 8,
"name": "USERID",
"rule": "mapping",
"datatype": "string",
"variable": "user",
"source": "senderPocket"
},
{
"order": 9,
"name": "SENDERUSERID",
"rule": "mapping",
"datatype": "string",
"variable": "user",
"source": "senderPocket"
},
{
"order": 10,
"name": "OFFERID",
"rule": "mapping",
"datatype": "string",
"variable": "offer",
"source": "user",
"query": ""
},
{
"order": 11,
"name": "MessageType",
"rule": "fixed",
"datatype": "string",
"variable": "",
"source": "BO"
},
{
"order": 12,
"name": "TYPE",
"rule": "mapping",
"datatype": "string",
"variable": "TYPE",
"source": "parameters"
}
],
"actionResult": [],
"webResult": {},
"typeResult": "none",
"category": "personal",
"icon": null,
"historyResult": [],
"allowMoveCategory": 0
}'