Listen to FusBeast Socket

Socket via Transaction Reference

All transaction reference is posted to any client connected to fusbeast socket
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://api.fusbeast.com/socket.io/socket.io.js"></script>
<!-- <script src="/js/socket.io/socket.io.js"></script> -->
<h3>Socket Listen Test</h3>
var socket = io('https://api.fusbeast.com');
// alert("socketer")
socket.on("pay_status", function(reference){
//: reference is the transaction reference generated
for wallet funding, checkout e.t.c
// : You might want to call endpoint Merchant/Balance and update UI