Flutterwave create transfer & get status implemented

This commit is contained in:
2021-11-14 01:53:52 -05:00
parent a1ca5d3865
commit a43c48cd99
10 changed files with 186 additions and 55 deletions
@@ -5,6 +5,8 @@ const controller = require('./controller');
module.exports = function(app) {
app.route('/about')
.get(controller.about);
app.route('/distance/:zipcode1/:zipcode2')
.get(controller.getDistance);
app.route('/create')
.post(controller.postTransfer);
app.route('/status/:id')
.get(controller.getStatus);
};