function processTransferConfirm() { path = "bii_RestfulRib/service/emoneyServices/processTransferConfirm"; var input = { method: 'post', returnedContentType: 'json', path: path, body: { contentType: 'application/json; charset=UTF-8', content: JSON.stringify({ "fromAccountCurrency":"IDR", //selected currency inside fromAccountMap "fromAccount":"0", //key of fromAccountMap "fromAccountMap":fromAccountMap, "toAmount":"50000", //open // "productId":"810128", //Key of productNameMap // "toAccountNo":"085966444100", // "productNameMap": JSON.stringify({ // "0": { // "display": "GoPay - Favourite GoPay dari SGD - 0859664441", // "mobileNumber": null, // "nickname": null, // "payeeCode": "108000810128", // "payeeName": "GoPay", // "toAccountNo": "0859664441", // "voucherType": null // }, // "1": { // "display": "GoPay - Gopay Kris1 - 085966444100", // "mobileNumber": null, // "nickname": null, // "payeeCode": "108000810128", // "payeeName": "GoPay", // "toAccountNo": "085966444100", // "voucherType": null // } // }), //favourite "transferType":"registered", //Key of productNameMap "productId":"2", //Key of productNameMap "productNameMap": JSON.stringify({ "0": { "display": "GoPay - Favourite GoPay dari SGD - 0859664441", "mobileNumber": null, "nickname": null, "payeeCode": "108000810128", "payeeName": "GoPay", "toAccountNo": "0859664441", "voucherType": null }, "1": { "display": "GoPay - Gopay Kris1 - 085966444100", "mobileNumber": null, "nickname": null, "payeeCode": "108000810128", "payeeName": "GoPay", "toAccountNo": "085966444100", "voucherType": null }, "2": { "display": "OVO - Fav OVO Test Basuki - 085333444456", "mobileNumber": null, "nickname": null, "payeeCode": "119000812277", "payeeName": "OVO", "toAccountNo": "085333444456", "voucherType": null } }), //Common "userId":"1391", "locale":"in", "sessionId":"20150323192520025619", "serviceInfoBean":JSON.stringify({ //from previous service "charges": null, "denominator": "0", "futureTransactionFlag": true, "mainNote1": null, "mainNote2": null, "mainNote3": null, "mainNote4": null, "mainNote5": null, "mainNote6": null, "maxLimit": "0", "minLimit": "0", "minimumSmsAmount": "0", "offlineMessage": null, "operationEndTime": null, "operationHour": true, "operationStartTime": null, "rewardBase": "0", "rewardMultiplier": "0.00", "serviceInfoCode": "MEMOP", "serviceInfoName": "Open E-Money", "serviceType": null, "si": true, "smsCharges": "0", "smsNote1": null, "smsNote2": null, "smsNote3": null, "smsNote4": null, "smsNote5": null, "smsServiceBit": 0, "status": "0", "tableLimit": "0", "tacRequired": false, "weekend": false }), }) } }; return WL.Server.invokeHttp(input); }