{
"amountFormula": {
"senderAmount": "TOTALAMOUNT",
"receiverAmount": "AMOUNT"
},
"actionPriority": "before",
"code": "INQUIRY_BENEFICIARY_BANK_ACCOUNT",
"name": "Inquiry beneficiary bank account",
"fullName": "Inquiry beneficiary bank account",
"status": 1,
"channels": [
"mobile"
],
"related": [
"customer"
],
"transType": "non-trans",
"confirmation": false,
"startAction": "1764408798604",
"actions": [
{
"params": [
{
"name": "accountName",
"source": "transaction",
"field": "TRANSBODY.ACCOUNTNAME",
"defaultValue": ""
},
{
"name": "bankCode",
"source": "transaction",
"field": "TRANSBODY.BANKCODE",
"defaultValue": ""
},
{
"name": "accountNumber",
"source": "transaction",
"field": "TRANSBODY.BANKACCOUNT",
"defaultValue": ""
}
],
"valueToSet": [],
"output": [],
"error": [
{
"code": "error",
"value": "0",
"mapping": "0",
"message": "Success"
},
{
"code": "error",
"value": "404",
"mapping": "1",
"message": "Invalid Account"
},
{
"code": "error",
"value": "400",
"mapping": "2",
"message": "Invalid Account Name"
},
{
"code": "error",
"value": "default",
"mapping": "3",
"message": "Something went wrong"
}
],
"selects": [],
"entryPointType": "",
"isAsync": false,
"priority": null,
"name": "Inquiry beneficiary bank account",
"entryConditions": "errorCode == 0",
"actionCode": "1764408798604",
"type": "directional_integration",
"entryPoint": "BANK_INT_HOST/corp-payment247-service/v1/inq-ben-acct",
"method": "post",
"required": true,
"viewConfiguration": {
"x": 424,
"y": 130,
"r": 50,
"inputConnectors": [
{
"name": ""
}
],
"outputConnectors": [
{
"name": ""
}
]
},
"nextActions": null,
"actionId": "1764408798604"
}
]
}curl --location --request POST '/admin/v2/service/createService' \
--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",
"code": "INQUIRY_BENEFICIARY_BANK_ACCOUNT",
"name": "Inquiry beneficiary bank account",
"fullName": "Inquiry beneficiary bank account",
"status": 1,
"channels": [
"mobile"
],
"related": [
"customer"
],
"transType": "non-trans",
"confirmation": false,
"startAction": "1764408798604",
"actions": [
{
"params": [
{
"name": "accountName",
"source": "transaction",
"field": "TRANSBODY.ACCOUNTNAME",
"defaultValue": ""
},
{
"name": "bankCode",
"source": "transaction",
"field": "TRANSBODY.BANKCODE",
"defaultValue": ""
},
{
"name": "accountNumber",
"source": "transaction",
"field": "TRANSBODY.BANKACCOUNT",
"defaultValue": ""
}
],
"valueToSet": [],
"output": [],
"error": [
{
"code": "error",
"value": "0",
"mapping": "0",
"message": "Success"
},
{
"code": "error",
"value": "404",
"mapping": "1",
"message": "Invalid Account"
},
{
"code": "error",
"value": "400",
"mapping": "2",
"message": "Invalid Account Name"
},
{
"code": "error",
"value": "default",
"mapping": "3",
"message": "Something went wrong"
}
],
"selects": [],
"entryPointType": "",
"isAsync": false,
"priority": null,
"name": "Inquiry beneficiary bank account",
"entryConditions": "errorCode == 0",
"actionCode": "1764408798604",
"type": "directional_integration",
"entryPoint": "BANK_INT_HOST/corp-payment247-service/v1/inq-ben-acct",
"method": "post",
"required": true,
"viewConfiguration": {
"x": 424,
"y": 130,
"r": 50,
"inputConnectors": [
{
"name": ""
}
],
"outputConnectors": [
{
"name": ""
}
]
},
"nextActions": null,
"actionId": "1764408798604"
}
]
}'