front/routes/payment/northcapital.js

/* ============================================================================ *\
|| ########################################################################## ||
|| # Auction Software Marketplace          Release: 0.6   Build 0.7         # ||
|| # ---------------------------------------------------------------------- # ||
|| # License # 35YAHCNR9344X6O666C123AB                                     # ||
|| # ---------------------------------------------------------------------- # ||
|| # Copyright ©2014–2021 Develop Scripts LLC. All Rights Reserved          # ||
|| # This file may not be redistributed in whole or significant part.       # ||
|| # ------------- AUCTION SOFTWARE IS NOT FREE SOFTWARE ------------------ # ||
|| # http://www.auctionsoftwaremarketplace.com|support@auctionsoftware.com  # ||
|| # ---------------------------------------------------------------------- # ||
|| ########################################################################## ||
\* ============================================================================ */

const express = require('express')
const northCapitalCtrl = require('../../controllers/payment/northcapital')

const app = express.Router()

/**
 * Routes for Bidding. This is encrypted and documentation is not done
 *
 * @namespace frontend.payment.northcapital
 * @memberOf frontend.payment
 */

app.post('/onBoardIndividual', northCapitalCtrl.onBoardIndividual)
app.post('/onBoardEntity', northCapitalCtrl.onBoardEntity)
app.post('/getUserDetails', northCapitalCtrl.getUserDetails)
app.post('/uploadPartyDocument', northCapitalCtrl.uploadPartyDocument)
app.post('/getuploadPartyDocument', northCapitalCtrl.getuploadPartyDocument)
app.post('/calculateSuitability', northCapitalCtrl.calculateSuitability)
app.post('/updateParty', northCapitalCtrl.updateParty)
app.post('/linkExternalAccount', northCapitalCtrl.linkExternalAccount)
app.post('/updateLinkExternalAccount', northCapitalCtrl.updateLinkExternalAccount)
app.post('/getExternalAccount', northCapitalCtrl.getExternalAccount)
app.post('/deleteExternalAccount', northCapitalCtrl.deleteExternalAccount)
app.post('/getCreditCard', northCapitalCtrl.getCreditCard)
app.post('/addCreditCard', northCapitalCtrl.addCreditCard)
app.post('/updateCreditCard', northCapitalCtrl.updateCreditCard)
app.post('/deleteCreditCard', northCapitalCtrl.deleteCreditCard)
app.post('/addExternalBank', northCapitalCtrl.addExternalBank)
app.post('/updateExternalBank', northCapitalCtrl.updateExternalBank)
app.post('/updateIndividual', northCapitalCtrl.updateIndividual)

module.exports = app