test transfer

This commit is contained in:
CHIEFSOFT\ameye
2024-07-11 09:11:37 -04:00
parent 9efe74efec
commit 0277c1a100
6 changed files with 133 additions and 8 deletions
+5 -2
View File
@@ -4,7 +4,9 @@ import Bvn from "../model/bvnModel.js";
export const fetch = async (req, res)=>{
try{
console.log("BVN REQ-----------------------------------------");
console.log(req.body);
console.log("BVN REQ=========================================");
let config = {
headers: {
'Authorization': 'Bearer ' + `${process.env.VERIFY_ME_PUBLIC_TEST_SECRET}`,
@@ -17,7 +19,8 @@ export const fetch = async (req, res)=>{
"lastname":"Doe",
"dob":"04-04-1944"
};
//22349419550 real live
//10000000001 test
axios.post(
`${process.env.VERIFY_ME_ENDPOINT}/10000000001`,
bodyParameters