biz-a-cli 2.3.32 → 2.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,164 @@
1
+ {"arguments":{"$0":"hub","_":[],"d":2,"dbindex":2,"h":"localhost","hostname":"localhost","p":212,"port":212,"s":"http://localhost:3000","server":"http://localhost:3000","serverport":3002,"sp":3002,"sub":"scy","subdomain":"scy"},"body":{},"headers":{"accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en,id-ID;q=0.9,id;q=0.8,en-US;q=0.7","connection":"keep-alive","host":"localhost:3000","sec-ch-ua":"\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Google Chrome\";v=\"126\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Windows\"","sec-fetch-dest":"document","sec-fetch-mode":"navigate","sec-fetch-site":"none","sec-fetch-user":"?1","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"},"level":"info","message":"dataAwal","path":"/","query":{"companyid":"sam1","scriptid":"4","subdomain":"scy"},"socket":{"_callbacks":{"$cli-req":[null],"$connect":[null],"$incomingClient":[null]},"_opts":{"hostname":"localhost","path":"/socket.io","port":"3000","secure":false},"_queue":[],"_queueSeq":0,"acks":{},"connected":true,"flags":{},"id":"vyYc0QCfqskejlb6AAAF","ids":1,"io":{"_autoConnect":true,"_callbacks":{"$close":[null],"$error":[null],"$open":[null],"$packet":[null]},"_randomizationFactor":0.5,"_readyState":"open","_reconnection":true,"_reconnectionAttempts":null,"_reconnectionDelay":1000,"_reconnectionDelayMax":5000,"_timeout":20000,"backoff":{"attempts":0,"factor":2,"jitter":0.5,"max":5000,"ms":1000},"decoder":{"_callbacks":{"$decoded":[null]}},"encoder":{},"engine":{"_callbacks":{"$close":[null],"$data":[null],"$error":[null],"$ping":[null]},"binaryType":"nodebuffer","hostname":"localhost","id":"gCjCoflsY7OAPKoeAAAE","maxPayload":1000000,"opts":{"addTrailingSlash":true,"agent":false,"closeOnBeforeunload":false,"hostname":"localhost","path":"/socket.io/","perMessageDeflate":{"threshold":1024},"port":"3000","rejectUnauthorized":true,"rememberUpgrade":false,"secure":false,"timestampParam":"t","transportOptions":{},"upgrade":true,"withCredentials":false},"pingInterval":25000,"pingTimeout":20000,"pingTimeoutTimer":{"_destroyed":false,"_idleNext":{"_idleNext":"[Circular]","_idlePrev":"[Circular]","expiry":57162,"id":-9007199254740982,"msecs":45000,"priorityQueuePosition":2},"_idlePrev":{"_idleNext":"[Circular]","_idlePrev":"[Circular]","expiry":57162,"id":-9007199254740982,"msecs":45000,"priorityQueuePosition":2},"_idleStart":12162,"_idleTimeout":45000,"_repeat":null},"port":"3000","prevBufferLen":0,"readyState":"open","secure":false,"transport":{"_callbacks":{"$close":[null],"$drain":[null],"$error":[null],"$packet":[null]},"opts":{"addTrailingSlash":true,"agent":false,"closeOnBeforeunload":false,"hostname":"localhost","path":"/socket.io/","perMessageDeflate":{"threshold":1024},"port":"3000","query":{"EIO":4,"sid":"gCjCoflsY7OAPKoeAAAE","transport":"websocket"},"rejectUnauthorized":true,"rememberUpgrade":false,"secure":false,"socket":"[Circular]","timestampParam":"t","transportOptions":{},"upgrade":true,"withCredentials":false},"query":{"EIO":4,"sid":"gCjCoflsY7OAPKoeAAAE","transport":"websocket"},"readyState":"open","socket":"[Circular]","supportsBinary":true,"writable":true,"ws":{"_autoPong":true,"_binaryType":"nodebuffer","_bufferedAmount":0,"_closeCode":1006,"_closeFrameReceived":false,"_closeFrameSent":false,"_closeMessage":{"data":[],"type":"Buffer"},"_closeTimer":null,"_events":{},"_eventsCount":4,"_extensions":{},"_isServer":false,"_paused":false,"_protocol":"","_readyState":1,"_receiver":{"_allowSynchronousEvents":true,"_binaryType":"nodebuffer","_bufferedBytes":0,"_buffers":[],"_compressed":false,"_errored":false,"_events":{},"_eventsCount":6,"_extensions":{},"_fin":true,"_fragmented":0,"_fragments":[],"_isServer":false,"_loop":false,"_masked":false,"_maxPayload":104857600,"_messageLength":0,"_opcode":1,"_payloadLength":835,"_skipUTF8Validation":false,"_state":0,"_totalPayloadLength":0,"_writableState":{"bufferedIndex":0,"corked":0,"highWaterMark":16384,"length":0,"pendingcb":0,"writelen":0}},"_redirects":0,"_req":null,"_sender":{"_bufferedBytes":0,"_compress":false,"_deflating":false,"_extensions":{},"_firstFragment":true,"_queue":[],"_socket":{"_closeAfterHandlingError":false,"_events":{"end":[null,null]},"_eventsCount":4,"_hadError":false,"_host":"localhost","_httpMessage":null,"_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"awaitDrainWriters":null,"buffer":[],"bufferIndex":0,"highWaterMark":16384,"length":0,"pipes":[]},"_server":null,"_sockname":null,"_writableState":{"bufferedIndex":0,"corked":0,"highWaterMark":16384,"length":0,"pendingcb":0,"writelen":0},"allowHalfOpen":false,"autoSelectFamilyAttemptedAddresses":["::1:3000"],"connecting":false,"parser":null,"server":null,"timeout":0}},"_socket":{"_closeAfterHandlingError":false,"_events":{"end":[null,null]},"_eventsCount":4,"_hadError":false,"_host":"localhost","_httpMessage":null,"_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"awaitDrainWriters":null,"buffer":[],"bufferIndex":0,"highWaterMark":16384,"length":0,"pipes":[]},"_server":null,"_sockname":null,"_writableState":{"bufferedIndex":0,"corked":0,"highWaterMark":16384,"length":0,"pendingcb":0,"writelen":0},"allowHalfOpen":false,"autoSelectFamilyAttemptedAddresses":["::1:3000"],"connecting":false,"parser":null,"server":null,"timeout":0},"_url":"ws://localhost:3000/socket.io/?EIO=4&transport=websocket&sid=gCjCoflsY7OAPKoeAAAE"}},"transports":["polling","websocket","webtransport"],"upgrades":["websocket"],"upgrading":false,"writeBuffer":[]},"nsps":{"/":"[Circular]"},"opts":{"hostname":"localhost","path":"/socket.io","port":"3000","secure":false},"skipReconnect":false,"subs":[null,null,null,null,null],"uri":"http://localhost:3000"},"nsp":"/","receiveBuffer":[],"sendBuffer":[],"subs":[null,null,null,null]}}
2
+ {"detail":"{}","id":null,"level":"info","message":"modelpmt5","tanggal":"2024-07-10 12:49:48"}
3
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01332","validityPeriod":"2024-07-11T13:05:55+07:00"},"timestamp":"2024-07-10T06:05:55.365Z"}
4
+ {"hashedPayload":"fb3d2db2f478254aa1c9a2c32e1cf4c547e3d1d80409fcc15aa0ebfb0cc76afb","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:05:55.370Z"}
5
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:fb3d2db2f478254aa1c9a2c32e1cf4c547e3d1d80409fcc15aa0ebfb0cc76afb:2024-07-10T13:05:55+07:00","timestamp":"2024-07-10T06:05:55.371Z"}
6
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01332","validityPeriod":"2024-07-11T13:05:55+07:00"},"timestamp":"2024-07-10T06:05:55.375Z"}
7
+ {"hashedPayload":"fb3d2db2f478254aa1c9a2c32e1cf4c547e3d1d80409fcc15aa0ebfb0cc76afb","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:05:55.376Z"}
8
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:fb3d2db2f478254aa1c9a2c32e1cf4c547e3d1d80409fcc15aa0ebfb0cc76afb:2024-07-10T13:05:55+07:00","timestamp":"2024-07-10T06:05:55.377Z"}
9
+ {"data":"{\"partnerReferenceNo\":\"01332\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:05:55+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1332,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"J1fC9+4xdiyJ3qL25EHrQkxUUa/5xXU3JK1ieV5S+VNlfvOo7urqA1e6G8YDQCB8N4LOHTv4qEbmYCn+wGhChVpwZu/i+arfi5DLCvkvwvsC/ccpkUVgavb7Rl89XyR/Y55P5I4ZFETAsJySS0bblGGoRoipM77AwzcZko9n1eCCyyoeqlPNpTPe5jOmBg0Nb4gKCmWob/3tc/jyaMWg7Ba7fsGhwcyUtpdCDPjF0nlG01vSxrGW1uGnpXMol2xCqxg3AIcFNucYdaZ5wvW7q0QquzjTicUccRnG1IcNu7LUkSQp3THryXhM3kU1JA1aeouiuoCbNgddmO5tvKem+g==","X-TIMESTAMP":"2024-07-10T13:05:55+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:05:55.389Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
10
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-10T06:05:58.809Z"}
11
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01348","validityPeriod":"2024-07-11T13:24:32+07:00"},"timestamp":"2024-07-10T06:24:32.780Z"}
12
+ {"hashedPayload":"cf6ad2217e8de35f76f1a679d4553de8b8f549ef650ead7e9e5d51e77f9a4905","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:24:32.820Z"}
13
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:cf6ad2217e8de35f76f1a679d4553de8b8f549ef650ead7e9e5d51e77f9a4905:2024-07-10T13:24:32+07:00","timestamp":"2024-07-10T06:24:32.821Z"}
14
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01348","validityPeriod":"2024-07-11T13:24:32+07:00"},"timestamp":"2024-07-10T06:24:32.826Z"}
15
+ {"hashedPayload":"cf6ad2217e8de35f76f1a679d4553de8b8f549ef650ead7e9e5d51e77f9a4905","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:24:32.828Z"}
16
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:cf6ad2217e8de35f76f1a679d4553de8b8f549ef650ead7e9e5d51e77f9a4905:2024-07-10T13:24:32+07:00","timestamp":"2024-07-10T06:24:32.873Z"}
17
+ {"data":"{\"partnerReferenceNo\":\"01348\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:24:32+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1348,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"oydUkMzRCkrMcs/DhsuBqc7NdGHji9y3J2yGEDMsLQrU372tRkO4jYo7TLElhQ9a1vdMQq8GsooOQ6NJm8CxdUv+SnFQkty8DEJqpIJ6j4B8IkUwmHtFpVIMmR7WlHmZetysQBurbncuhKdo677Amu9GbKulPPnc82XIxJnU1453/7bIm0CMR7bf1PcQbEzQwiAIYeYnKAwRG79oDbeKxgzt165RnmzZp4uqyttKu562WQXdoyJHW9D5l37xq5syGPRwKyFXqWXoFcxqM5TWAlX4LRibTkdhLMc7zbSPPh1iyVYhRR/UrEXdRPD9WPT3654syQuyjbnLlIh3FTgcZw==","X-TIMESTAMP":"2024-07-10T13:24:32+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:24:32.905Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
18
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01349","validityPeriod":"2024-07-11T13:27:56+07:00"},"timestamp":"2024-07-10T06:27:56.368Z"}
19
+ {"hashedPayload":"1bda065c6c999e1cd3e390a9c1e0f7ec6e82f3501397ed25a73d439a827e7608","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:27:56.369Z"}
20
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:1bda065c6c999e1cd3e390a9c1e0f7ec6e82f3501397ed25a73d439a827e7608:2024-07-10T13:27:56+07:00","timestamp":"2024-07-10T06:27:56.370Z"}
21
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01349","validityPeriod":"2024-07-11T13:27:56+07:00"},"timestamp":"2024-07-10T06:27:56.376Z"}
22
+ {"hashedPayload":"1bda065c6c999e1cd3e390a9c1e0f7ec6e82f3501397ed25a73d439a827e7608","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:27:56.377Z"}
23
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:1bda065c6c999e1cd3e390a9c1e0f7ec6e82f3501397ed25a73d439a827e7608:2024-07-10T13:27:56+07:00","timestamp":"2024-07-10T06:27:56.378Z"}
24
+ {"data":"{\"partnerReferenceNo\":\"01349\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:27:56+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1349,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"LM+SwXaDhyM4agWAtzLILhgnrskfyOMUqir4ul3gWwp6+3ZQA/njHgHA0lfs/ZXhkQnHp5711mqjS4G4ECwklJTBCyGQWKtHqEnbms+ZNOhFC9J9A+/uZQj8oPuyfkwp+VZMG6g5Z9moV1z1GvJ/jCHng4Qword741NgusnWF4uJ/BA6l5W68C+POmDGaczOWkSrdMFrRobh8ATG4gbfF9seqDwsqNyh7gPHJW1/25q7Kehsn2BF49dmN3i2osxZ7KDWli7ZjFmNpgNa0gY5h/2z4K4JpDZzNggNluB4hd8biySmjasua5kYpRNVB0cV5fzvv98GOAsYY5dOhN/TBA==","X-TIMESTAMP":"2024-07-10T13:27:56+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:27:56.384Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
25
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01350","validityPeriod":"2024-07-11T13:29:44+07:00"},"timestamp":"2024-07-10T06:29:44.396Z"}
26
+ {"hashedPayload":"ae3c522b361237a484346841c6c9384a72e1865b637d4c1e921d221140dc0ab2","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:29:44.398Z"}
27
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:ae3c522b361237a484346841c6c9384a72e1865b637d4c1e921d221140dc0ab2:2024-07-10T13:29:44+07:00","timestamp":"2024-07-10T06:29:44.398Z"}
28
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01350","validityPeriod":"2024-07-11T13:29:44+07:00"},"timestamp":"2024-07-10T06:29:44.402Z"}
29
+ {"hashedPayload":"ae3c522b361237a484346841c6c9384a72e1865b637d4c1e921d221140dc0ab2","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:29:44.403Z"}
30
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:ae3c522b361237a484346841c6c9384a72e1865b637d4c1e921d221140dc0ab2:2024-07-10T13:29:44+07:00","timestamp":"2024-07-10T06:29:44.405Z"}
31
+ {"data":"{\"partnerReferenceNo\":\"01350\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:29:44+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1350,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"TA5eZnKE9duij7sAER2yu7BHSoWRaet1St6kQ5fuujRyrcbYGijV9IhmfBAIm6mJjfNLCXxL5PZpHh5GJEAmEADnzTq+CgKftWnxzmqnNoGRCa29IDgFjqfibucqNIBfSjm25wkuuzv5aXm6s7Qgl6dsVL1qLfu4RKDO0hStvu/9Msn8+k53SAb0C/hxXgB3qhL4RiXj4mrpMh4O4aNSAaM+ecmGjbO9tz1d1uF+gq4rY2OzhTsaFIx+uay7IpGLyyARytk/OWj6NT88wEnQMsIUOzgkg8vx/RMO7WIBbp9rJO3V7ZIj+5dWBoiUeLJaFHdAVvBCS1RE1vvby8kHJA==","X-TIMESTAMP":"2024-07-10T13:29:44+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:29:44.409Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
32
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01351","validityPeriod":"2024-07-11T13:32:32+07:00"},"timestamp":"2024-07-10T06:32:32.473Z"}
33
+ {"hashedPayload":"022808d1922c06e056cf88ab466e0603af80ba0e10aeaa700c2c0610cf33499c","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:32:32.475Z"}
34
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:022808d1922c06e056cf88ab466e0603af80ba0e10aeaa700c2c0610cf33499c:2024-07-10T13:32:32+07:00","timestamp":"2024-07-10T06:32:32.476Z"}
35
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01351","validityPeriod":"2024-07-11T13:32:32+07:00"},"timestamp":"2024-07-10T06:32:32.480Z"}
36
+ {"hashedPayload":"022808d1922c06e056cf88ab466e0603af80ba0e10aeaa700c2c0610cf33499c","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:32:32.481Z"}
37
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:022808d1922c06e056cf88ab466e0603af80ba0e10aeaa700c2c0610cf33499c:2024-07-10T13:32:32+07:00","timestamp":"2024-07-10T06:32:32.482Z"}
38
+ {"data":"{\"partnerReferenceNo\":\"01351\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:32:32+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1351,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"umsydASTzpidOBWoY51oD8gx6FArLlAvZuEPTpwugaGf1ACadfgqvfpN8dOovAfbLqLApW64I6IyrlTbloSaiETHfEpmt4rJiFst6SWuiYCWVsNvtDJ2ESudso4h/0EV4rrw/r8TL1zGao1q/o5inMJs0xX/7dZiYfzmKXEiid+TfLl92pnFzmOWI8oVQjWeHBj0OrjVobUn/XZNzV5It/aNYOm7v+gjmVJYa8y8hngWqSxmasm7pna5Wb+WwfSxmMM6HJ1eGqu5qStT/gcDms4J6iVwGs1Zqp6waR996Lt81ttlHOeyvUqeCKGt/s6RO983Ik5/V3yGLqhAIQ8xcQ==","X-TIMESTAMP":"2024-07-10T13:32:32+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:32:32.486Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
39
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01352","validityPeriod":"2024-07-11T13:35:19+07:00"},"timestamp":"2024-07-10T06:35:19.438Z"}
40
+ {"hashedPayload":"fd262f35885e05199c6d4b3ed9ec9b07afa1de9ad2c0b0ceb26a2357171f2035","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:35:19.441Z"}
41
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:fd262f35885e05199c6d4b3ed9ec9b07afa1de9ad2c0b0ceb26a2357171f2035:2024-07-10T13:35:19+07:00","timestamp":"2024-07-10T06:35:19.443Z"}
42
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01352","validityPeriod":"2024-07-11T13:35:19+07:00"},"timestamp":"2024-07-10T06:35:19.449Z"}
43
+ {"hashedPayload":"fd262f35885e05199c6d4b3ed9ec9b07afa1de9ad2c0b0ceb26a2357171f2035","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:35:19.450Z"}
44
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:fd262f35885e05199c6d4b3ed9ec9b07afa1de9ad2c0b0ceb26a2357171f2035:2024-07-10T13:35:19+07:00","timestamp":"2024-07-10T06:35:19.450Z"}
45
+ {"data":"{\"partnerReferenceNo\":\"01352\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:35:19+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":"1352scy","X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"SU0s3qhc748rXDwbZLpw8SFNWn7b8AyGwbKmTdXgjAhVO56Il/EMgnRm9giLNGgPc9yO7kJ88El4y9Fgml4i4GDstAQ/WuhZoldgLrRTO5aX5frNpj8ono6YiI/t/JNQAzAwuZfS1BWcyW/tVMtgXgomBClKMFlj/TFwZ19WjUtEKr970iJys89ENuuf5T96joTDGlqCXf1Cdf1E0/uuKZ36u3JBRsF01JZ+2ECXwubyMsIG/w1q+u5hQGhVjn7mL9ZnJ0JVFhCJFr6Vkl5J1EFLFagNKA7zxI2fcKfr6W8P2rtnRxKW/fXvT6YbAkDiIcvr5D62p0ytVKGUrGi0rg==","X-TIMESTAMP":"2024-07-10T13:35:19+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:35:19.455Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
46
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01353","validityPeriod":"2024-07-11T13:39:48+07:00"},"timestamp":"2024-07-10T06:39:48.423Z"}
47
+ {"hashedPayload":"17ab61146a4ff43a71b6e7dc080f1c60643175ff8e847fce2e164a915f1b0438","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:39:48.425Z"}
48
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:17ab61146a4ff43a71b6e7dc080f1c60643175ff8e847fce2e164a915f1b0438:2024-07-10T13:39:48+07:00","timestamp":"2024-07-10T06:39:48.425Z"}
49
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01353","validityPeriod":"2024-07-11T13:39:48+07:00"},"timestamp":"2024-07-10T06:39:48.432Z"}
50
+ {"hashedPayload":"17ab61146a4ff43a71b6e7dc080f1c60643175ff8e847fce2e164a915f1b0438","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:39:48.434Z"}
51
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:17ab61146a4ff43a71b6e7dc080f1c60643175ff8e847fce2e164a915f1b0438:2024-07-10T13:39:48+07:00","timestamp":"2024-07-10T06:39:48.435Z"}
52
+ {"data":"{\"partnerReferenceNo\":\"01353\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:39:48+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":"1353scy","X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"Am0R/Y5C1eLSa/XIKMye8DA1cCAZcmHRb3qJqxI5DaeuOx8dxaktqzNRUKhhrGq+8xJXc0TGxMnzeEiLWTeDlE/0URpo7p/pUuwedxV4gNxuUwMgIonx7E6orhz6Sf2sK1BuZvc2+VZVo947UHYO+dstIH3ainODiHT1G3L2+NttFberowE2Q8luOQrSqN0n1YU5cYXOAUjqOQhQxki+dR/jbav7fWDtm/iap+N6UvH9fcgnIxduk7g94g7JNMLSlWp9kHoG1uYe4JhSAQZttARlcIzFzZ5z0mCD6P/Du/4XN2ECla5EayCTam9FynW7vIHZZ4Txzlkds/LetTCMVg==","X-TIMESTAMP":"2024-07-10T13:39:48+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:39:48.441Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
53
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01354","validityPeriod":"2024-07-11T13:43:03+07:00"},"timestamp":"2024-07-10T06:43:03.227Z"}
54
+ {"hashedPayload":"533cd11af0a71591962ff93281ed164fb02b0f784decd340b8c2cce2da819ae4","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:03.232Z"}
55
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:533cd11af0a71591962ff93281ed164fb02b0f784decd340b8c2cce2da819ae4:2024-07-10T13:43:03+07:00","timestamp":"2024-07-10T06:43:03.232Z"}
56
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01354","validityPeriod":"2024-07-11T13:43:03+07:00"},"timestamp":"2024-07-10T06:43:03.236Z"}
57
+ {"hashedPayload":"533cd11af0a71591962ff93281ed164fb02b0f784decd340b8c2cce2da819ae4","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:03.238Z"}
58
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:533cd11af0a71591962ff93281ed164fb02b0f784decd340b8c2cce2da819ae4:2024-07-10T13:43:03+07:00","timestamp":"2024-07-10T06:43:03.240Z"}
59
+ {"data":"{\"partnerReferenceNo\":\"01354\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:43:03+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1354,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"q/tILY1TBOUCSworm0JSImJnLlM8pm8zFu3wee1OeNfGH3yVCyWjdSh4GDoslgn5mzQmfa/7QfNd/hEcAxP4L044RAlUcobv97xnC4QPcbmebcOZxv6kbFC9P9KCuRed/uDvfqr0zDL11XDSDSaUDNgfQADv/7zivop7VhsNlLr4g043+zdg81ECpo/vUmN7a/B56jpmAobPSp3VGxZ6O8Zb3w91SQP8K8NP/ehukAqISc234iwYYzoPF0gx/D5Aih12uKJZQ8w2CsuvPLBdO7mjpqTmaC8gtG2b+BY0/KRgMc/wUAHc3UTRwRPm5b/hKQBDxs2wkjTH5NulXle8kw==","X-TIMESTAMP":"2024-07-10T13:43:03+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:43:03.248Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
60
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-10T06:43:06.535Z"}
61
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01355","validityPeriod":"2024-07-11T13:43:08+07:00"},"timestamp":"2024-07-10T06:43:08.659Z"}
62
+ {"hashedPayload":"d4492651ecc362315e4879e0b0fcfbfe5cfc08786ec6dc50097f36acadbba220","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:08.660Z"}
63
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:d4492651ecc362315e4879e0b0fcfbfe5cfc08786ec6dc50097f36acadbba220:2024-07-10T13:43:08+07:00","timestamp":"2024-07-10T06:43:08.661Z"}
64
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01355","validityPeriod":"2024-07-11T13:43:08+07:00"},"timestamp":"2024-07-10T06:43:08.665Z"}
65
+ {"hashedPayload":"d4492651ecc362315e4879e0b0fcfbfe5cfc08786ec6dc50097f36acadbba220","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:08.666Z"}
66
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:d4492651ecc362315e4879e0b0fcfbfe5cfc08786ec6dc50097f36acadbba220:2024-07-10T13:43:08+07:00","timestamp":"2024-07-10T06:43:08.667Z"}
67
+ {"data":"{\"partnerReferenceNo\":\"01355\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:43:08+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1355,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"eEYdpc6f4gNQD0521t+9s9649WVZ3dTrgKYdcPo9kNei1m7UxqlV/jxENUP8NlcYCbOqIXpxRh7/ZI+zVsioeMoNM7X7p0rVNQjcePwqcMi60PNwl+WuOYridPXjNyr1Nh1c3gkiW7hobejfe9ODvDNMwjujYj51jdAODWxCbWE49cfyvpDiqWrKIF3NICmyOHDdqZuLGnA1PT2qqpVdJAa+CSJy0T1hzdftpGauGyoblpmnZ77TZft6tPCzAsqwWaVkoZtqmebRp++EJtp6FhUYkaokHlSBZUPQtlonfRETdWHqynyHP+xuPhPl+F47GXIVoa9tPoPL6YlcKnBQFw==","X-TIMESTAMP":"2024-07-10T13:43:08+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:43:08.674Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
68
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-10T06:43:11.699Z"}
69
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01356","validityPeriod":"2024-07-11T13:43:14+07:00"},"timestamp":"2024-07-10T06:43:14.105Z"}
70
+ {"hashedPayload":"cdab5f1a7e70be53b7b9738a982024aca2186544ff0d9613e8a0b653549e24c5","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:14.106Z"}
71
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:cdab5f1a7e70be53b7b9738a982024aca2186544ff0d9613e8a0b653549e24c5:2024-07-10T13:43:14+07:00","timestamp":"2024-07-10T06:43:14.107Z"}
72
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01356","validityPeriod":"2024-07-11T13:43:14+07:00"},"timestamp":"2024-07-10T06:43:14.111Z"}
73
+ {"hashedPayload":"cdab5f1a7e70be53b7b9738a982024aca2186544ff0d9613e8a0b653549e24c5","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:43:14.112Z"}
74
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:cdab5f1a7e70be53b7b9738a982024aca2186544ff0d9613e8a0b653549e24c5:2024-07-10T13:43:14+07:00","timestamp":"2024-07-10T06:43:14.113Z"}
75
+ {"data":"{\"partnerReferenceNo\":\"01356\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:43:14+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1356,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"xCcLer8uF+E+iWlldLQaXFtcx6gBskTMHf1A+V901hOtZQPVeO7gnrTm+Nt3ymuQodh3jNpT8OvHPxgdl94UAn3pRyPUBvwvNp+hKpdfI00M7i18ivktNxOFohSO+5sfNruPvfQBgpoDJWXrBe1WgOzvAmoeKfrCcgsmCNzw9tryYpR+bnMB34HeCPOEZ5ORNHDFoOTncFS+tZ3chT8bTtindMDdtxa621oD+mNBZKVwlsSZ+GbJo7TuqXa2DJfESD/j1CcOCyGA+IGekwzpuNG8/jxKNDI4Q1OldaVf1xiFV1Xsq98pYN/jU3GaCVKPmSSxSg/OketeqOeRfjLz5A==","X-TIMESTAMP":"2024-07-10T13:43:14+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:43:14.116Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
76
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-10T06:43:17.220Z"}
77
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01357","validityPeriod":"2024-07-11T13:49:31+07:00"},"timestamp":"2024-07-10T06:49:31.342Z"}
78
+ {"hashedPayload":"b4e5c3fd2d5d8c0ee7d6a61e106989a9d29ee7f954a9725f45bf035b46c4d4e0","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:49:31.343Z"}
79
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:b4e5c3fd2d5d8c0ee7d6a61e106989a9d29ee7f954a9725f45bf035b46c4d4e0:2024-07-10T13:49:31+07:00","timestamp":"2024-07-10T06:49:31.344Z"}
80
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01357","validityPeriod":"2024-07-11T13:49:31+07:00"},"timestamp":"2024-07-10T06:49:31.348Z"}
81
+ {"hashedPayload":"b4e5c3fd2d5d8c0ee7d6a61e106989a9d29ee7f954a9725f45bf035b46c4d4e0","level":"info","message":"hashedPayload","timestamp":"2024-07-10T06:49:31.349Z"}
82
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:b4e5c3fd2d5d8c0ee7d6a61e106989a9d29ee7f954a9725f45bf035b46c4d4e0:2024-07-10T13:49:31+07:00","timestamp":"2024-07-10T06:49:31.349Z"}
83
+ {"data":"{\"partnerReferenceNo\":\"01357\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-11T13:49:31+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1357,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"snIbdtVe45+arAnGWjuhFJRBzCbO/zQT8HVSWewxqetkLbA4DUZvDPa3oHRT2siBPrar0MATVC68KItNTwImOLFtD9vUv+7/9xU5ZDOQAGzaWNyi7pnPzzl7D1YYVhnNL51epnwetqGP/X41ci/MDDmlks3veunqN+OjQ7Zv2qV/h0rBqn3klI2eKghKHIXkoL/r8AmLhEzy1uCEU1vUosNVT6FdSN5yogHBlPtTTPQACHqaGiBr95TU/Hf884jTocixpNMPNBX1SMfBTmf+oSe7ZQXfxj+8K2pI3BU7dnqAyRRpWwpV2lMKjFXyyJaK2YjZ0YVJSQQXH+PSIqvZ7w==","X-TIMESTAMP":"2024-07-10T13:49:31+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-10T06:49:31.353Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
84
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-10T06:49:34.553Z"}
85
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01358","validityPeriod":"2024-07-19T15:03:36+07:00"},"timestamp":"2024-07-18T08:03:36.234Z"}
86
+ {"hashedPayload":"ea44da9b96323d71ac4b40e31da0ea11a53f57c20cf69fca7d7f3c07dca67895","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:03:36.237Z"}
87
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:ea44da9b96323d71ac4b40e31da0ea11a53f57c20cf69fca7d7f3c07dca67895:2024-07-18T15:03:36+07:00","timestamp":"2024-07-18T08:03:36.238Z"}
88
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01358","validityPeriod":"2024-07-19T15:03:36+07:00"},"timestamp":"2024-07-18T08:03:36.244Z"}
89
+ {"hashedPayload":"ea44da9b96323d71ac4b40e31da0ea11a53f57c20cf69fca7d7f3c07dca67895","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:03:36.246Z"}
90
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:ea44da9b96323d71ac4b40e31da0ea11a53f57c20cf69fca7d7f3c07dca67895:2024-07-18T15:03:36+07:00","timestamp":"2024-07-18T08:03:36.247Z"}
91
+ {"data":"{\"partnerReferenceNo\":\"01358\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T15:03:36+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1358,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"Oh+aKSIfnsDcE8YoggqdNhBBRDKI0PacZj8fcNdGlXoXFCjk2I/aAEswXSDqpzLXqnpZrXiZ+D6M061Y7jpukw8ujar3RBdG+MCOFL8Ch4RPnrZ1DH5OMT2tw05CB/0THxW/X6/2T2tF6rtMwg+GlG13BssKlLXyuA7PFygs/M1ne2huk8Ph41VBsAZ60WnukQhn/FmXy4JWRdEd4mWzR8GBA/REvDEoJAF3zSu07g0m8k7qSaDX/bvEPkxOPdpxWCGliURWIEZiL+9AEmzLoKxM5FW4jjeMQE+6rg9ejO6lehqnC8xY2benN65fb76osJrxIQoEN5GJXdLOVpwUzg==","X-TIMESTAMP":"2024-07-18T15:03:36+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T08:03:36.251Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
92
+ {"data":{"additionalInfo":{"amount":"60000","merchantName":"IMAMATEK","partnerReferenceNo":"01358","referenceNo":"ESP17212898295ZMS"},"qrContent":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACrAQMAAAAjJv5aAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACvklEQVRIie2WvY3kMAyFaThQZjcgQG0oU0t2AxpPA3ZLztSGADUwzhQI5j3Oen9wlywdnzEYYL8B6BWp9x6J/j//PiPz4vMjWQoNfw6BTz0eqH/urdvdaWwkd3oQPQ5lDcxsx1pW36Ln9RZ+cpuT22oPPN3Fi+GDe+Y875nuYZySccSyBDsmt/w4/O8x+r368v35HoMCS3lPY8Xo7Jz49T18BQY4vVtDz5W6ZOfaL3cwdXtZTSOZPB9XeSVGp1FyLy/qt2S7RJMedzVPKFkxfNvV1rElPR5M4d0+EjrdIIgB11CPuz1P0mn8YsedZnYvPSbvFkPRlIMxvcJcVj0e0OnAL2PlDVXeM+lxByUFiLug69L7mqMej2yHkMe9kRdZ4L+b7mB+BZQvW3Ub45Ru1eOBGto8EWrDaewU2nQD+7Jh7B5NKpD4Sm7R41FucR6oHMnGkKOnqMdi2L5fvOPKW3Jfk9dhk0dcHOIlQNz9Snfw27b7k+BYNhoLNQw3cMpjatPbNSdgalGPO6RIbWMSHTyZHtcptdhCiwiTCCNPsJxLrio8BIcUgkOc5KR2/QxGDe5EDeIQcPEZF7leulRhnG9jXBy0GWqAV31kmg7DKR8Jto2ztmj6gz8dQoOH0D8rkqRg74CqupQHPe7kfHKFnztsBmnPix4Pxr1DFZPHsoDfrzEocR4CTcYhi8jwGfpTj7E6sQgiS6cDBii7mBbDqMaK9uRJNo4279fkVRi1F/mmCF36D33rMWP48N1MlGcIay+LHo+1P8AM1IntiTe+kkSF3y3HBezhEBEL5uUQOowk2RJyQNbSB3Y6uLgeYx9cjaylS3AH0gCNv4GRZiyq4iq+K9K8hZ9JHCIGZEiev3SpxAjVEyuDbKYo/OOVv8dyStQmrKXbjjt45aUKS78retxiAEAIfMW/Av9//n7+AIFYLqC++eYKAAAAAElFTkSuQmCC","qrUrl":"https://sandbox-api.espay.id/rest/digitalnotify/qr/?trx_id=ESP17212898295ZMS","responseCode":"2004700","responseMessage":"Successful"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T08:03:51.354Z"}
93
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01360","validityPeriod":"2024-07-19T15:51:47+07:00"},"timestamp":"2024-07-18T08:51:47.759Z"}
94
+ {"hashedPayload":"1e55573d3aeb74bcccecf0b701c5df42f2bfa7a1050ea357e7033793c79e7e54","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:51:47.762Z"}
95
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:1e55573d3aeb74bcccecf0b701c5df42f2bfa7a1050ea357e7033793c79e7e54:2024-07-18T15:51:47+07:00","timestamp":"2024-07-18T08:51:47.765Z"}
96
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01360","validityPeriod":"2024-07-19T15:51:47+07:00"},"timestamp":"2024-07-18T08:51:47.769Z"}
97
+ {"hashedPayload":"1e55573d3aeb74bcccecf0b701c5df42f2bfa7a1050ea357e7033793c79e7e54","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:51:47.770Z"}
98
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:1e55573d3aeb74bcccecf0b701c5df42f2bfa7a1050ea357e7033793c79e7e54:2024-07-18T15:51:47+07:00","timestamp":"2024-07-18T08:51:47.772Z"}
99
+ {"data":"{\"partnerReferenceNo\":\"01360\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T15:51:47+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1360,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"R+DRrxqOgLBW2Ghb2jT+KZL9w6h7f2nd5YFkJkIvZLCi+2+daArbP7r06lgidsEW9jL8X4c9zFJIxvMA67NYrtqwv3J9P/w8PLb550ghEhrNwUzvVCohw2J0wkRbXjCMr/gmLCRCB+8NAhWgWTPZIhjbkyi7GprYPPcdCsMH47j4AwDTY1dyVfyITd7bd4l2bjqjjtvN3juS/mVa1d3FD5NhTHsE438Zd6e9LLhVQvwW5jFOBeyjfglgK5KlYLb56FPt7cXY0S3x315et/OaI55+b3Uablo7RVMGo0T+61L/ye9BY04SCp7qmYwqmfn1pqdBLt+GkRsk/3DW8k0++g==","X-TIMESTAMP":"2024-07-18T15:51:47+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T08:51:47.776Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
100
+ {"data":{"additionalInfo":{"amount":"60000","merchantName":"IMAMATEK","partnerReferenceNo":"01360","referenceNo":"ESP1721292712R57C"},"qrContent":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACrAQMAAAAjJv5aAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACuElEQVRIie2WPY6kMBCFCzlwZi6A5Gs485XgAg1cAK7kjGtY8gUgc2BR+9w/s6PdZMrxoJ7kQ+rp+nnvFdHv8//TM29UpmBXHkY3GM+3HBtSm6YppDWr6+DbgcixT3tQO/N1lI6Hh8O/asN282pz6aY4tuKV7eITM3W5UBtGlX6YclqcWoiXb8X/HNd+u/T3820MP8f10cOc7eLQqvTFRLgPvJBanOUcJ6aHtrccd0cxmmYmcpj8QGi8HBPZk2JX5zYQ8emLacAOf+Wh+dRY59ijXDnuDrVnXnzsoQYd6d1vGSZX5qw4W6hh0QmfTY6NU3tIVy7GQZpkNIoW4x79JnxlnDIaVh6+BZOzYP0RjWY+7PXZIBHuwtBlVY1BQ5qo+DU0KYbB8O3tit2pL9Mpx0TDgxQzr6HMgWAzDdh4xUecasuhcl70QC2Y0GOsD6aHN3soDRhLxxmjs8wRGw3DOOW459hj4NC3TxfbjaKRYwN/gjSxv67gx5qPa4pwl/FlWGE4TeIAPUWSY3jV7WlGlbnmwP6pUoQ7rilkYBJUq7zCMMpx/3GIOSDWholfhifDBgoICXMbYbo1Rj79luDuQATxFeLDV41yUKcc19+Y03qks14KaJhtwD2nK2BiKJTG2v6X4Qlxpnoj+DLX4ddlvFuwQs7fiBE9vN6PDfjA7lT/3nQZPWqlhxzDnG4fnweUvTVajrBtwKVDSvunNAlp/14IEUaurqFeLqNWMO/Tv9Ugw/z0mGz3g9d60L3lKsK136EmEi6OkaDLdMvxS981V+FVGc2OJMewyTXTHKo9nLCrd79lGPfgztgdWHitcqNXHAmxh19yvUxzuh3v/HWwyvCisYPIWHsdODqiacO+XgrQQce2+k0Dxo3sYgeH0Aj5OB/vYBRh9HsPuOPg4gp6gjqNHP8+/z5/AAJrRkOF9+EzAAAAAElFTkSuQmCC","qrUrl":"https://sandbox-api.espay.id/rest/digitalnotify/qr/?trx_id=ESP1721292712R57C","responseCode":"2004700","responseMessage":"Successful"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T08:51:55.508Z"}
101
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01361","validityPeriod":"2024-07-19T15:53:51+07:00"},"timestamp":"2024-07-18T08:53:51.905Z"}
102
+ {"hashedPayload":"04affd509abf94a639be939396b2fa968c9d222151a2990c48d736ae9ca16c21","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:53:51.907Z"}
103
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:04affd509abf94a639be939396b2fa968c9d222151a2990c48d736ae9ca16c21:2024-07-18T15:53:51+07:00","timestamp":"2024-07-18T08:53:51.908Z"}
104
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01361","validityPeriod":"2024-07-19T15:53:51+07:00"},"timestamp":"2024-07-18T08:53:51.913Z"}
105
+ {"hashedPayload":"04affd509abf94a639be939396b2fa968c9d222151a2990c48d736ae9ca16c21","level":"info","message":"hashedPayload","timestamp":"2024-07-18T08:53:51.915Z"}
106
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:04affd509abf94a639be939396b2fa968c9d222151a2990c48d736ae9ca16c21:2024-07-18T15:53:51+07:00","timestamp":"2024-07-18T08:53:51.916Z"}
107
+ {"data":"{\"partnerReferenceNo\":\"01361\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T15:53:51+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1361,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"kpYbQk4EAwea56siupPjrgq9uE6gr88kNKMWuW1F+/HqNZCewVMhSgI6DOQA/WOzx0uFOx28DAWaEaa0JuEXIzmH/4I9HCf+jCjpIOhte2trTQ+4nF8objFvYYV+JibSA50TypxC5rV3nXt0g4q+szl/7LOa6n01kcz0l7ALw65lTjkSee1hM00FHX+IekUQJLe+qn11w0oPU8phplB+nTtycNU49CX5rpnIwls3t5Gt0sp1frpB0WZOSK3W9+0S6l+fMxJWvGJAV+0TCi3pupSHlOgPHyMaUuFfwtzYT3gFkFaTB8axQnYBjIf+Mew5Qic5pFOnoVfXqoBLMCsEhQ==","X-TIMESTAMP":"2024-07-18T15:53:51+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T08:53:51.921Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
108
+ {"data":{"additionalInfo":{"amount":"60000","merchantName":"IMAMATEK","partnerReferenceNo":"01361","referenceNo":"ESP1721292835Y4US"},"qrContent":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACrAQMAAAAjJv5aAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACs0lEQVRIie2XMY7jMAxFabhQJ19AgK6hTleyL+A4F3Cu5E7XEKALTDoVgrmfTjaz2G2WqscYDJAXgDA/+UmG6Of595mYt5BvyVFs+Ggjn3psabwfbTj8adxK/gwgehzLg/GMXMse2hp478KbcUuiWx2B5158r/6J2JyXI1MfRpbMpylbdFPy2x/J/z+G3nso33/fZVDg6x1pqigdcuWv7+IrMMAZ/B6hNw3JLXXcerCbjrKbRlJ5fr7D6/AgOrkF39D4SG5INOsxhYxqP2tbwGob2JEeD6mcod0SlG4whEUbduCKroHSDq6aDlrYf+kxGb8ZWk15MtlQmMuuxzbmNfov4yjQUpGxm/V4qIz8hqPck3+IO/OqxxNnink6GgU3sMfbzT0YlR93zImK2MjS73pMhEIhnsRGP86xzXo8cXkkDBiIVGDxnfymxxZ2RLmoPJNboX2gtQMTn3HcgufKj+Q/lddhiC2xeYv+jjelHjzJ2B5PQv3dahzcYDtwylNqM6Ym1AKml6V0+FpibUpS8zvT7ZOlDkNvAIQckSWnly+1uJwRzi4nXbHrZzEq8JTIyk6DSBgPhevLl0pcR0y7FVOK4AY0Ne96PCTMS48GXJCoGZ/8nhAqbOOI7Qpfomji75StHg+Sn7Qw7o6J/QPLTY+xlq+les1L+f633hpsTbaGZuOxi8iIvc4OHNCDiJpF6ejsdYvpMRwAefIsF0fDVpn1GEfcJv9pDQ4zZhB/6zFjgWDuZjJ5gbGOsunx1YNgchNu0Jvfm0SFL8nRgOMmyw3Obh0YmwQmkMsl5hvjvC2nHuMe3FF23E0RnkDsPHfgKLfGLTFXmbtizS58Z5kQa8QOycvHl0qMpXrilJPLFIE/sTVYspRrfZHbBz34XowqLHpXaIxfDPiEpv6sfwX+ef5+fgGrESdN2MiuWAAAAABJRU5ErkJggg==","qrUrl":"https://sandbox-api.espay.id/rest/digitalnotify/qr/?trx_id=ESP1721292835Y4US","responseCode":"2004700","responseMessage":"Successful"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T08:53:56.901Z"}
109
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01362","validityPeriod":"2024-07-19T16:00:39+07:00"},"timestamp":"2024-07-18T09:00:39.438Z"}
110
+ {"hashedPayload":"421d84ebfff2518ce736fb5df7299c5775ac79d39dbcc19d7c414dde50335e09","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:00:39.448Z"}
111
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:421d84ebfff2518ce736fb5df7299c5775ac79d39dbcc19d7c414dde50335e09:2024-07-18T16:00:39+07:00","timestamp":"2024-07-18T09:00:39.454Z"}
112
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01362","validityPeriod":"2024-07-19T16:00:39+07:00"},"timestamp":"2024-07-18T09:00:39.505Z"}
113
+ {"hashedPayload":"421d84ebfff2518ce736fb5df7299c5775ac79d39dbcc19d7c414dde50335e09","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:00:39.524Z"}
114
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:421d84ebfff2518ce736fb5df7299c5775ac79d39dbcc19d7c414dde50335e09:2024-07-18T16:00:39+07:00","timestamp":"2024-07-18T09:00:39.562Z"}
115
+ {"data":"{\"partnerReferenceNo\":\"01362\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:00:39+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1362,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"VjBjWZQAAv8Rm2WSijJ/uMsKUYJptE8DiShdwBj0m6Ji9VY4/Ggp1HHraEr/+utGX82FHe1xSkbA0ds+igeOBR/SARMo79ngwdWOSbBINWRkrH8qCSjGhBs75ZLmF+cZa3SencZZ5Y134NToupZRRJ+9sNW2FxCQOTM8MAsJsVm2+yhkCsYzy5xQzugKnX8N94Ep3PNgMRgeJiuiTcvv9jjOTgyLAi4wrgizNrn1cW/KgqJnwsp1WxEBLvEeoRh9evEjKHCqrg99LEGMuPXbDJuBIFP7U7Z5nJT58vce3OgOLAjFNM1KsEdr8fO+QKqVOaoHzw1qFIzd9xPDdKC0gQ==","X-TIMESTAMP":"2024-07-18T16:00:39+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:00:39.578Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
116
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:00:45.074Z"}
117
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01363","validityPeriod":"2024-07-19T16:04:31+07:00"},"timestamp":"2024-07-18T09:04:32.023Z"}
118
+ {"hashedPayload":"782cbdc467ab50e07907f831916a6e129d376f4b260400b26e8aff2762daf5ee","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:04:32.025Z"}
119
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:782cbdc467ab50e07907f831916a6e129d376f4b260400b26e8aff2762daf5ee:2024-07-18T16:04:31+07:00","timestamp":"2024-07-18T09:04:32.026Z"}
120
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01363","validityPeriod":"2024-07-19T16:04:31+07:00"},"timestamp":"2024-07-18T09:04:32.034Z"}
121
+ {"hashedPayload":"782cbdc467ab50e07907f831916a6e129d376f4b260400b26e8aff2762daf5ee","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:04:32.035Z"}
122
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:782cbdc467ab50e07907f831916a6e129d376f4b260400b26e8aff2762daf5ee:2024-07-18T16:04:31+07:00","timestamp":"2024-07-18T09:04:32.036Z"}
123
+ {"data":"{\"partnerReferenceNo\":\"01363\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:04:31+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1363,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"VHjH4JZRyRsjHGYNajEbTisfYyiLHP5m11ajPuneDRvcmLle6MohMTRwEsqyZZbqt2V6XG2QNqH3lQxRqxv2FhXKZrYRvDdSq3FxgErgKXAksflK3+/eYX+fM4dUf0+e3TVLiLDFK4JmJ0qRe9Xju01usnqcFLtS0qDIZH+M6XWRDihalJEi1LJm/79rISpH+O2HxVml7FmXox6xfdC1SJKM6FwnBO44vCtmnGl2TN+2bPTSPLEU/a6/lPx9ipd2rwQL5MBRfjUYi+Nw7U2Z62qp0l+rMbSxzgeTmXRbGN9j9llfMrJ2xGpcQVT3sWe7g06NfxMbUlT82hmmkvUP3A==","X-TIMESTAMP":"2024-07-18T16:04:31+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:04:32.040Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
124
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:04:35.512Z"}
125
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01364","validityPeriod":"2024-07-19T16:06:41+07:00"},"timestamp":"2024-07-18T09:06:42.018Z"}
126
+ {"hashedPayload":"e616690c409edcf572de0cbaf74caf3c3e2d7c596269aa279735398de00f4052","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:06:42.021Z"}
127
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:e616690c409edcf572de0cbaf74caf3c3e2d7c596269aa279735398de00f4052:2024-07-18T16:06:41+07:00","timestamp":"2024-07-18T09:06:42.023Z"}
128
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01364","validityPeriod":"2024-07-19T16:06:41+07:00"},"timestamp":"2024-07-18T09:06:42.027Z"}
129
+ {"hashedPayload":"e616690c409edcf572de0cbaf74caf3c3e2d7c596269aa279735398de00f4052","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:06:42.028Z"}
130
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:e616690c409edcf572de0cbaf74caf3c3e2d7c596269aa279735398de00f4052:2024-07-18T16:06:41+07:00","timestamp":"2024-07-18T09:06:42.029Z"}
131
+ {"data":"{\"partnerReferenceNo\":\"01364\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:06:41+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1364,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"Xk4sMpWoPX++qWZQkOhFs6vxM/ES2U+ACSbu5uqsGJp69zQ0DjlLSF49Q5BR76q74jfmZ2BLbk+ccCTbBQxU0Ft0KI9kBBQkjEplPvGuX5rKSW2isJw3nEZ8g4gWFgre8U/AHrQYfM2/w8Wj1R19mnQaYSsb+l24G0iwdmDgI7vNcRsVx+/kfRhHYmMaHNh1eVp5Frt2MqJGJSFCBr5UJl9fBJ4uJj7JJMpm9OKYTpf37gvbk5Hz1RD2rGs8TEIiTSfSooUr3UkUnCa+Z4yP3XsSyWABV8tlJK+8+eqDQwRbI6aJotc9kzSWeWYeQDdsU0QDxL/zwLP9Yu8DtqPVAw==","X-TIMESTAMP":"2024-07-18T16:06:41+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:06:42.033Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
132
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:06:45.511Z"}
133
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01365","validityPeriod":"2024-07-19T16:07:34+07:00"},"timestamp":"2024-07-18T09:07:34.526Z"}
134
+ {"hashedPayload":"d9a274d2f680a3ec369abcd5ff46bb1123cab7b68edd9bca5ea7c79fa944e4df","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:07:34.527Z"}
135
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:d9a274d2f680a3ec369abcd5ff46bb1123cab7b68edd9bca5ea7c79fa944e4df:2024-07-18T16:07:34+07:00","timestamp":"2024-07-18T09:07:34.527Z"}
136
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01365","validityPeriod":"2024-07-19T16:07:34+07:00"},"timestamp":"2024-07-18T09:07:34.531Z"}
137
+ {"hashedPayload":"d9a274d2f680a3ec369abcd5ff46bb1123cab7b68edd9bca5ea7c79fa944e4df","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:07:34.532Z"}
138
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:d9a274d2f680a3ec369abcd5ff46bb1123cab7b68edd9bca5ea7c79fa944e4df:2024-07-18T16:07:34+07:00","timestamp":"2024-07-18T09:07:34.532Z"}
139
+ {"data":"{\"partnerReferenceNo\":\"01365\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:07:34+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1365,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"nUyWyzV/G7qkfQyKWF+SxCTo2V75R+29shypXOXJKGj8rFXY3F5alpPAEEUGfyNereI6OFTH+KWBp/UM2ibvTjh/65kNVpIgkTnIfN0sMkmHa3kIOeg7/ubs08iBdFaVf7C6B4BnWwf+duh/nqarGz8sKrP+K6/9QzHw0dLx0XzSJQ7vI1Ed/bJNWe9Xyi0iOdGAurWu3QyFxMlmlvHZRclOBN8AkCgfvvcpvk2wnAxuYeNMrk1/cNUOXT2Rnu6MAkCaury5PD3sqg75NMsczRd+y0wL2y6ztPmLiewXswZZYmSxn1E/WHEsWabHV73MnhWKz3jvCFGS89irPj+VMQ==","X-TIMESTAMP":"2024-07-18T16:07:34+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:07:34.537Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
140
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:07:37.778Z"}
141
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01366","validityPeriod":"2024-07-19T16:09:01+07:00"},"timestamp":"2024-07-18T09:09:01.416Z"}
142
+ {"hashedPayload":"550f0f8acf1162404dfdc2fa9e83998b23df851386c77c59c7ae0b117f785f1f","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:09:01.418Z"}
143
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:550f0f8acf1162404dfdc2fa9e83998b23df851386c77c59c7ae0b117f785f1f:2024-07-18T16:09:01+07:00","timestamp":"2024-07-18T09:09:01.419Z"}
144
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01366","validityPeriod":"2024-07-19T16:09:01+07:00"},"timestamp":"2024-07-18T09:09:01.425Z"}
145
+ {"hashedPayload":"550f0f8acf1162404dfdc2fa9e83998b23df851386c77c59c7ae0b117f785f1f","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:09:01.426Z"}
146
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:550f0f8acf1162404dfdc2fa9e83998b23df851386c77c59c7ae0b117f785f1f:2024-07-18T16:09:01+07:00","timestamp":"2024-07-18T09:09:01.427Z"}
147
+ {"data":"{\"partnerReferenceNo\":\"01366\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:09:01+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1366,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"dqxVew9WAgysZ39RX6QtGlcUW3uu4R53fZ0JiU27hxXl6gkpCMElRkordhzYqnQQLJWEAKQ2iM1XuYDMBizC8o5MvTwPt+/0ykD6akLaAvv7RC/4kdzYGJ8KWk8GuJKOD81Vpi42f38ITFoDDF6PVZUShQGCrIuL8HQ2YRmr8TObYH0IWhK41juVDJABnjIJ33mUjYRzlwUVA0Nggulo1WHhOyOaN9krkBRRhVRMUIsu/cCktrDx2mbDuDTZ7f4Nqpq5XUjhmeiVowoPDS+Vn4zw26Y6Suvozqk+oSkugKKQGj91kT7QP69MmNIUZOUWddJlqBZmDdxdoU+STp3tIg==","X-TIMESTAMP":"2024-07-18T16:09:01+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:09:01.431Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
148
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:09:04.963Z"}
149
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01367","validityPeriod":"2024-07-19T16:10:03+07:00"},"timestamp":"2024-07-18T09:10:03.016Z"}
150
+ {"hashedPayload":"8fbb293908f1c048b4268f2949127bd5a52021f0503ed2cf118c544ce7b53ac4","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:10:03.017Z"}
151
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:8fbb293908f1c048b4268f2949127bd5a52021f0503ed2cf118c544ce7b53ac4:2024-07-18T16:10:03+07:00","timestamp":"2024-07-18T09:10:03.017Z"}
152
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01367","validityPeriod":"2024-07-19T16:10:03+07:00"},"timestamp":"2024-07-18T09:10:03.020Z"}
153
+ {"hashedPayload":"8fbb293908f1c048b4268f2949127bd5a52021f0503ed2cf118c544ce7b53ac4","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:10:03.021Z"}
154
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:8fbb293908f1c048b4268f2949127bd5a52021f0503ed2cf118c544ce7b53ac4:2024-07-18T16:10:03+07:00","timestamp":"2024-07-18T09:10:03.021Z"}
155
+ {"data":"{\"partnerReferenceNo\":\"01367\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:10:03+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1367,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"nrKQtt0hb3mS7fXot6121975vXuMa+OIPZuIZ4rnj6Ne4gCbk8oq37rmJ0NQZvgzO1oDnFOhhcINvr1i53i6+sMnb5Y3TO0aW/jSZ565uwRiCfAlosWROmz6li/pjLJK83pcU5WMJVFO7fdB5qbuFFFf0IxhjcVm2guIcpveyKmT+zj83sDzTpk8eUOyK+A1J4Y/Ij5o0SjXGOpb97jIJyJ7lj3r5rhrpAkNwgS+yYP2wAk0SuoiKo88PWGCDcMOCgqqhR8xRvmV4QW4gt8Zf7x0I4BDQ1gJj0TxXeGpppCSATB6hqQ7UGI76LKXDoJxR2+x/3cbIHUGTLSTY4/g/Q==","X-TIMESTAMP":"2024-07-18T16:10:03+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:10:03.028Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
156
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:10:06.673Z"}
157
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01368","validityPeriod":"2024-07-19T16:10:36+07:00"},"timestamp":"2024-07-18T09:10:36.143Z"}
158
+ {"hashedPayload":"9f37c6a6669e6ccb9bccd020c3892d053cdd569bc67f7a2163e439e797006fbc","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:10:36.144Z"}
159
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:9f37c6a6669e6ccb9bccd020c3892d053cdd569bc67f7a2163e439e797006fbc:2024-07-18T16:10:36+07:00","timestamp":"2024-07-18T09:10:36.144Z"}
160
+ {"level":"info","message":"payload","payload":{"additionalInfo":{"productCode":"QRIS"},"amount":{"currency":"IDR","value":47500},"merchantId":"SGWIMAMATEK","partnerReferenceNo":"01368","validityPeriod":"2024-07-19T16:10:36+07:00"},"timestamp":"2024-07-18T09:10:36.149Z"}
161
+ {"hashedPayload":"9f37c6a6669e6ccb9bccd020c3892d053cdd569bc67f7a2163e439e797006fbc","level":"info","message":"hashedPayload","timestamp":"2024-07-18T09:10:36.150Z"}
162
+ {"level":"info","message":"stringToSign","stringToSign":"POST:/api/v1.0/qr/qr-mpm-generate:9f37c6a6669e6ccb9bccd020c3892d053cdd569bc67f7a2163e439e797006fbc:2024-07-18T16:10:36+07:00","timestamp":"2024-07-18T09:10:36.151Z"}
163
+ {"data":"{\"partnerReferenceNo\":\"01368\",\"merchantId\":\"SGWIMAMATEK\",\"amount\":{\"value\":47500,\"currency\":\"IDR\"},\"additionalInfo\":{\"productCode\":\"QRIS\"},\"validityPeriod\":\"2024-07-19T16:10:36+07:00\"}","headers":{"Accept":"application/json","CHANNEL-ID":"ESPAY","Content-Type":"application/json","X-EXTERNAL-ID":1368,"X-PARTNER-ID":"SGWIMAMATEK","X-SIGNATURE":"0eVlcjjq+YekvsmpkHaUev7H82WKoZOtOUC12x5HT5l4/fxPEjMY6k1dR0uVOScHt29bBoyrkcx53170TrFA3oqARpj0i28h4OvvtJSnJDra+VV8aHXHSRi1Tzhy3dla11qa74MfE8RYjJk/Np9/6M5I6BrWcirFFLCx1TMNIAX8I5ezZR2DxXvEBDX1B3eROpEKzkCvR/CZ2G7LvooQvb2imZKZxre/MvgBDZH+iqdo81USA3jUQuNxALjel5928KYxWkVgsJnzdc8HFeSxiCRFJpHmQc6GypAK72H3/wXkhV/OhQcAdB2BKDSYqmUC4ayzmVDJgEZpbE35LD9wfA==","X-TIMESTAMP":"2024-07-18T16:10:36+07:00"},"level":"info","maxBodyLength":null,"message":"reqPayment cfg","method":"POST","timestamp":"2024-07-18T09:10:36.155Z","url":"https://sandbox-api.espay.id/api/v1.0/qr/qr-mpm-generate"}
164
+ {"data":{"responseCode":"4000000","responseMessage":"Bad Request"},"level":"info","message":"reqPayment res","timestamp":"2024-07-18T09:10:39.375Z"}
package/bin/node ADDED
File without changes
package/bin/proxy.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import express from 'express';
4
4
  import cors from 'cors';
package/bin/watcher.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  import express from 'express';
4
4
  import cors from 'cors';
package/log/exception.log CHANGED
@@ -1 +0,0 @@
1
- {"date":"Thu Aug 01 2024 17:42:42 GMT+0700 (Indochina Time)","error":{},"exception":true,"level":"error","message":"uncaughtException: client is not defined\nReferenceError: client is not defined\n at Socket.incomingHubCb (file:///C:/agung/source/biza/cli/bin/hubEvent.js:42:9)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at Socket.emitEvent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:553:20)\n at Socket.onevent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:540:18)\n at Socket.onpacket (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:508:22)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js:212:18\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","os":{"loadavg":[0,0,0],"uptime":15074.359},"process":{"argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Program Files\\nodejs\\node_modules\\biz-a-cli\\bin\\hub.js","-s","https://biz-a.herokuapp.com","--sub","bkd","-h","localhost","-p","1204"],"cwd":"C:\\agung\\source\\biza\\cli","execPath":"C:\\Program Files\\nodejs\\node.exe","gid":null,"memoryUsage":{"arrayBuffers":25290,"external":3808142,"heapTotal":13996032,"heapUsed":12512016,"rss":49754112},"pid":6280,"uid":null,"version":"v20.12.2"},"stack":"ReferenceError: client is not defined\n at Socket.incomingHubCb (file:///C:/agung/source/biza/cli/bin/hubEvent.js:42:9)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at Socket.emitEvent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:553:20)\n at Socket.onevent (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:540:18)\n at Socket.onpacket (file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js:508:22)\n at Emitter.emit (C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js:143:20)\n at file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js:212:18\n at process.processTicksAndRejections (node:internal/process/task_queues:81:21)","trace":[{"column":9,"file":"file:///C:/agung/source/biza/cli/bin/hubEvent.js","function":"Socket.incomingHubCb","line":42,"method":"incomingHubCb","native":false},{"column":20,"file":"C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js","function":"Emitter.emit","line":143,"method":"emit","native":false},{"column":20,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.emitEvent","line":553,"method":"emitEvent","native":false},{"column":18,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.onevent","line":540,"method":"onevent","native":false},{"column":22,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/socket.js","function":"Socket.onpacket","line":508,"method":"onpacket","native":false},{"column":20,"file":"C:\\agung\\source\\biza\\cli\\node_modules\\@socket.io\\component-emitter\\lib\\cjs\\index.js","function":"Emitter.emit","line":143,"method":"emit","native":false},{"column":18,"file":"file:///C:/agung/source/biza/cli/node_modules/socket.io-client/build/esm-debug/manager.js","function":null,"line":212,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"process.processTicksAndRejections","line":81,"method":"processTicksAndRejections","native":false}]}
package/mailController.js CHANGED
@@ -6,19 +6,12 @@ function createEmailTransport(req, config) {
6
6
  );
7
7
  }
8
8
 
9
- export function sendMailWatcher(req) {
9
+ export async function sendMailWatcher(req) {
10
10
  try {
11
- let config = req.body.config;
12
- const transporter = createEmailTransport(req, config);
13
- transporter.sendMail(req.body.mailOptions, (err, info) => {
14
- if (err) {
15
- console.log(err.message);
16
- return err.message;
17
- } else {
18
- console.log('Info:' + info);
19
- return info;
20
- }
21
- })
11
+ const transporter = createEmailTransport(req, req.body.config);
12
+ const sendResult = await transporter.sendMail(req.body.mailOptions);
13
+
14
+ return sendResult;
22
15
  } catch (err) {
23
16
  console.log('Error: ' + err.message);
24
17
  return err.message;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "biz-a-cli",
3
3
  "nameDev": "biz-a-cli-dev",
4
- "version": "2.3.32",
4
+ "version": "2.3.33",
5
5
  "versionDev": "0.0.30",
6
6
  "description": "",
7
7
  "main": "bin/index.js",
8
8
  "type": "module",
9
9
  "engines": {
10
- "node": "20.12.1",
11
- "npm": "10.5.0"
10
+ "node": "20.16.0",
11
+ "npm": "10.8.1"
12
12
  },
13
13
  "scripts": {
14
14
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch a",
@@ -36,29 +36,26 @@ if (process.env.NODE_ENV !== 'production') {
36
36
  // BIZA_SERVER_LINK = env.BIZA_SERVER_LINK;
37
37
  // };
38
38
 
39
- function mapData2Key(res, cols) {
39
+ export function mapData2Key(res, cols) {
40
40
  return res.map(e => {
41
41
  return cols.reduce((o, k) => {
42
+ // o[k.key ?? k.data] = e[k.data]
42
43
  o[k.key ? k.key : k.data] = e[k.data]
43
44
  return o;
44
45
  }, {})
45
46
  })
46
47
  }
47
48
 
48
- function getUrlApi(config, methodName, isPost = true) {
49
+ export function getUrlApi(config, methodName, isPost = true) {
49
50
  return `${config.url}/fina/rest/TOrmMethod/` +
50
51
  `${isPost ? '%22' : ''}${methodName}${isPost ? '%22' : ''}`
51
52
  }
52
53
 
53
- function json2Parameters(obj) {
54
- return JSON.stringify(
55
- {
56
- _parameters: obj.map((el) => JSON.stringify(el))
57
- }
58
- );
54
+ export function json2Parameters(obj) {
55
+ return JSON.stringify({ _parameters: obj.map((el) => JSON.stringify(el)) });
59
56
  }
60
57
 
61
- function getUrlAndParam(config, method, obj, path) {
58
+ export function getUrlAndParam(config, method, obj, path) {
62
59
  return {
63
60
  url: getUrlApi(config, path),
64
61
  params: json2Parameters([
@@ -71,12 +68,38 @@ function getUrlAndParam(config, method, obj, path) {
71
68
  }
72
69
  }
73
70
 
74
- function getTableObj(model, tableName) {
71
+ export function getTableObj(model, tableName) {
75
72
  let obj = {};
76
73
  obj[tableName] = model;
77
74
  return obj;
78
75
  }
79
76
 
77
+ export function options(apiConfig) {
78
+ return {
79
+ headers: { 'content-type': 'text/plain' },
80
+ params: { subdomain: apiConfig.subdomain }
81
+ };
82
+ }
83
+
84
+ export async function json2fina(obj, apiConfig, raiseError = false) {
85
+ const url = getUrlApi(
86
+ {
87
+ url: apiConfig.url,
88
+ dbIndex: obj.dbIndex,
89
+ methodClass: 'TFinaMethod'
90
+ },
91
+ 'json2fina'
92
+ );
93
+
94
+ const params = json2Parameters([obj]);
95
+ const res = await axios.post(url, params, options(apiConfig));
96
+
97
+ if (res.data?.error && raiseError) {
98
+ throw new Error(res.data.error);
99
+ }
100
+ return res;
101
+ }
102
+
80
103
  export function sendModel(model, apiConfig, tableName) {
81
104
  const { url, params } = getUrlAndParam(
82
105
  apiConfig,
@@ -85,12 +108,7 @@ export function sendModel(model, apiConfig, tableName) {
85
108
  'orm'
86
109
  );
87
110
 
88
- const options = {
89
- headers: { 'content-type': 'text/plain' },
90
- params: { subdomain: apiConfig.subdomain }
91
- }
92
-
93
- return axios.post(url, params, options)
111
+ return axios.post(url, params, options(apiConfig))
94
112
  }
95
113
 
96
114
  export async function queryData(param, apiConfig, mapField) {
@@ -105,12 +123,7 @@ export async function queryData(param, apiConfig, mapField) {
105
123
  'list'
106
124
  );
107
125
 
108
- const options = {
109
- headers: { 'content-type': 'text/plain' },
110
- params: { subdomain: apiConfig.subdomain }
111
- }
112
-
113
- let res = await axios.post(url, params, options);
126
+ let res = await axios.post(url, params, options(apiConfig));
114
127
  res = res.data?.data ? JSON.parse(res.data.data) : res.data;
115
128
  return (!mapField || res.error) ? res : mapData2Key(res, param.columns);
116
129
  }
@@ -123,22 +136,14 @@ export async function crudData(param, apiConfig, method, path) {
123
136
  path
124
137
  );
125
138
 
126
- const options = {
127
- headers: { 'content-type': 'text/plain' },
128
- params: { subdomain: apiConfig.subdomain }
129
- }
130
-
131
- const res = await axios.post(url, params, options);
139
+ const res = await axios.post(url, params, options(apiConfig));
132
140
  return res.data?.data ? JSON.parse(res.data.data) : res.data;
133
141
  }
134
142
 
135
143
  export async function genId(apiConfig, genName) {
136
144
  const url = `${getUrlApi(apiConfig, 'genId', false)}/${genName}/${apiConfig.dbindex}`;
137
- const options = {
138
- headers: { 'content-type': 'text/plain' },
139
- params: { subdomain: apiConfig.subdomain }
140
- }
141
- const res = await axios.get(url, options);
145
+
146
+ const res = await axios.get(url, options(apiConfig));
142
147
  return res.data?.data ? JSON.parse(res.data.data) : res.data;
143
148
  }
144
149
 
@@ -195,7 +200,7 @@ export function getInputData(config, trigger) {
195
200
  subdomain: config.subdomain,
196
201
  smtp: {
197
202
  user: config.smtp.auth.user,
198
- pass:config.smtp.auth.pass,
203
+ pass: config.smtp.auth.pass,
199
204
  host: config.smtp.host,
200
205
  port: config.smtp.port,
201
206
  secure: config.smtp.secure