Transaction

Payment received notification

This information will be broadcast to the receiver once the transaction is success.

{
   "pn_gcm":{
      "notification":{
         "body":"USD 100.00 received from John Smith"
      },
      "data":{
         "cmd":"transaction_notification",
         "data":"transaction",
         "data_var":{
            "sender":"John Smith",
            "amount":"100.00",
            "currency_code":"USD",
            "created":"2019-10-10T09:30:40.123000Z"
         }
      }
   }
}

Merchant payment confirmation

This information will be broadcast to the receiver once payment is success.

{
   "pn_gcm":{
      "notification":{
         "body":"USD 100.00 paid to Pizza hut - Airport, Vegas"
      },
      "data":{
         "cmd":"payment_notification",
         "data":"payment",
         "data_var":{
            "merchant":"Payment Pizza hut - Airport, Vegas.",
            "amount":"100.00",
            "currency_code":"USD",
            "created":"2019-10-10T09:30:40.123000Z"
         }
      }
   }
}

Merchant top-up confirmation

This information will be broadcast to the receiver once the top-up transaction success

{
   "pn_gcm":{
      "notification":{
         "body":"USD 100.00 top up from Vendex Int. HIA(S001)"
      },
      "data":{
         "cmd":"transaction_notification",
         "data":"add_money",
         "data_var":{
            "merchant":"Vendex Int. HIA(S001)",
            "amount":"100.00",
            "currency_code":"USD",
            "created":"2019-10-10T09:30:40.123000Z"
         }
      }
   }
}

Merchant transaction begin session

This information will be broadcast to the receiver once the transaction session has been initiated (Ex: scan QR code)

{
    "pn_gcm": {
        "data": {
            "cmd": "transaction_notification",
            "data": "begin_session",
            "data_var": {
                "status": "accepted", // accepted or rejected
                "support_remote_selection": true
            }
        }
    }
}

Merchant transaction session end

This information will be broadcast to the receiver once the transaction session has been end.

{
    "pn_gcm": {
        "data": {
            "cmd": "transaction_notification",
            "data": "end_session",
        }
    }
}

Merchant refund confirmation

This information will be broadcast to the receiver once the transaction refund success.

{
   "pn_gcm":{
      "notification":{
         "body":"USD 100.00 refund from Vendex Int. HIA(S001)"
      },
      "data":{
         "cmd":"transaction_notification",
         "data":"refund",
         "data_var":{
            "merchant":"Vendex Int. HIA(S001)",
            "amount":"100.00",
            "currency_code":"USD",
            "created":"2019-10-10T09:30:40.123000Z"
         }
      }
   }
}

Last updated

Was this helpful?