Can you give a brief on what you are trying to achieve? For Collections, Rave is your guy.
If you have a reason why you are not using Rave, can you fill us in on it?
Here is our Node.JS Library, you can use it instead.
Does the node library encrypt the details automatically?
because i keep getting a response of “error from bank!” @Gondy
i had to go live, and use my live api keys.
also had to pass ‘true’ as the value for BASE_URL_OR_PRODUCTION_FLAG
const flutterwave = new Flutterwave(config.API_KEY, config.MERCHANT_KEY, true);