added axios package and api for start bvn verification

This commit was merged in pull request #42.
This commit is contained in:
victorAnumudu
2024-04-26 23:41:41 +01:00
parent 7e9c395f4a
commit 82dd11a772
7 changed files with 153 additions and 49 deletions
+19
View File
@@ -0,0 +1,19 @@
import { postAuxEnd } from "./axiosCall";
// FUNCTION TO START BVN VALIDATION
export const validateBVN = (postData:any) => {
let reqData = {
...postData
}
return postAuxEnd('https://digifi-apidev.chiefsoft.net/digiusers/v1/bvn', reqData)
}
// FUNCTION TO VERIFY OTP AND LOGIN
export const verifyOTP = (postData:any) => {
let reqData = {
...postData
}
return postAuxEnd('https://digifi-apidev.chiefsoft.net/digiusers/v1/bvn/verify', reqData)
}