Is is possible to start payment fragment on Poynt emulator using nodejs APIs?

Hi,

I am trying initiate a sale transaction using cloudMessages endpoint. I have configured my test merchant and also activated Poynt 5 emulator for that merchant. Emulator shows that it has successfully connected to cloud messages.

02-06 23:45:06.692 I//PcmWebSocketClient.java:124( 2947): ConnectThread WEBSOCKET 51202419 state changed: CONNECTING. Current websocket: 51202419
02-06 23:45:09.027 I//PcmWebSocketClient.java:124( 2947): ConnectThread WEBSOCKET 51202419 state changed: OPEN. Current websocket: 51202419
02-06 23:45:09.035 I//PcmWebSocketClient.java:73( 2947): ReadingThread WEBSOCKET connected: 51202419. Current websocket: 51202419
02-06 23:45:09.037 I//PcmService.java:772( 2947): ReadingThread PCM Connected
02-06 23:45:58.555 I//PcmService.java:671( 2947): main PcmService: onStartCommand: ACTION_WEBSOCKET_PING
02-06 23:45:58.555 D//PcmWebSocketClient.java:151( 2947): main Is Websocket open: true
02-06 23:45:58.556 D//PcmWebSocketClient.java:167( 2947): main Ping: urn:tid:03329397-e4db-3873-88ef-493c61f702df
02-06 23:45:58.556 I//PcmService.java:671( 2947): main PcmService: onStartCommand: poynt.intent.action.WEBSOCKET_RECONNECT
02-06 23:45:58.556 D//PcmWebSocketClient.java:151( 2947): main Is Websocket open: true
02-06 23:45:58.556 I//PcmService.java:411( 2947): main *** PCM-SERVICE running on emulator
02-06 23:45:58.556 I//PcmService.java:411( 2947): main *** PCM-SERVICE running on emulator
02-06 23:45:58.557 I//PcmService.java:727( 2947): main Ignoring ACTION_WEBSOCKET_RECONNECT because socket is still alive.
02-06 23:45:58.632 D//PcmWebSocketClient.java:117( 2947): ReadingThread Pong: urn:tid:03329397-e4db-3873-88ef-493c61f702df

I have configured my businessId, storeId and deviceId for the test merchant. My request details are below:
url: ‘/cloudMessages’,
method: ‘POST’,
body: {
businessId: ‘4a492c10-9e16-42dc-ad30-74af81a52373’,
storeId: ‘ac8040f3-b243-4368-b32a-74e7375783e6’,
deviceId: ‘urn:tid:241e478f-730b-3293-aa9c-7889f82d3fc1’,
ttl: 30,
data: JSON.stringify({
action: ‘sale’,
purchaseAmount: 10.0,
currency: ‘USD’,
referenceId: ‘ABC1234’,
callbackUrl: ‘https://postb.in/b/1580888469986-3355117775499
})
}

I am getting 202/Created response from the call. Which I am assuming means server has successfully created my cloud message. However I can’t find these messsages/transaction anywhere.

Test merchant has correct permissions including cloud messaging and transactions.
I am missing an obvious step. Any help would be appreciated. Response details below:

headers:Object {
connection:“close”
content-length:“0”
date:“Fri, 07 Feb 2020 08:04:35 GMT”
instance-id:“i-03eb872c828e7b407”
poynt-build-info:“1.3.079-2020-02-03T08:18:28Z”
poynt-request-id:“25853c00-bffc-4846-9fb9-6109e65accef”
server:“Apache-Coyote/1.1”
set-cookie:Array(2) [“AWSALB=wEbi81bRJ5pHmnZNkT49Yq/YxSdBhLy+zEMd5iAxtg2…”, “AWSALBCORS=wEbi81bRJ5pHmnZNkT49Yq/YxSdBhLy+zEMd5iA…”]
}
statusCode:202
statusMessage:“Accepted”