var gateway = require(__dirname+'/../../../../');

module.exports = function(req, res) {

  var amount = req.body.amount;
  var currency = req.body.currency;
  var secret = req.body.secret;

  gateway.api.fundHotWallet(amount, currency, secret, function(err, resp){
    if (err) {
      res.send(500, {error: err});
    } else {
      res.send({ hotWallet: resp });
    }
  });
  
};


@@ -295,16 +295,33 @@
 d(500, %7B
+ success: false, 
 error: e
@@ -322,16 +322,17 @@
 ror: err
+ 
 %7D);%0A    
@@ -360,13 +360,29 @@
 nd(%7B
+ success: true,
  hot
-W
+_w
 alle

add success status, change camel case to _