I have a project idea that would utilize a virtual credit card. The idea is that I would have a centralized fund (bank account) that can be linked up to "disposable credit card numbers". For example if someone was authorized to make a purchase for $10, an api call would be made to generate a temporary credit card number that has a maximum limit of their purchase amount ($10). Once the purchase of $10 is made the card number should be no longer valid. And this would happen on a rinse and repeat basis where on call temp card details are generated for a user and then disposed of when the purchase is made. However, I have not a clue where to start. Does anyone know of such services that offer VCC?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/BpEImlW
I am trying to pull some data from a Postgres database using Node.js and node-postures but I can't figure out why my service isn't connecting. my routes/index.js file: const express = require('express'); const router = express.Router(); const ordersCountController = require('../controllers/ordersCountController'); const ordersController = require('../controllers/ordersController'); const weeklyReportsController = require('../controllers/weeklyReportsController'); router.get('/orders_count', ordersCountController); router.get('/orders', ordersController); router.get('/weekly_reports', weeklyReportsController); module.exports = router; My controllers/weeklyReportsController.js file: const weeklyReportsService = require('../services/weeklyReportsService'); const weeklyReportsController = async (req, res) => { try { const data = await weeklyReportsService; res.json({data}) console...
Comments
Post a Comment